31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'gparted'
|
|
pkgname=gparted
|
|
version=1.3.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libparted-dmraid"
|
|
hostmakedepends="intltool itstool pkg-config"
|
|
makedepends="libglib-devel gtkmm-devel libparted-devel yelp-tools"
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
|
checkdepends="xvfb-run"
|
|
short_desc="Gnome Partition Editor"
|
|
maintainer="teldra <teldra@rotce.de>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://gparted.sourceforge.io"
|
|
distfiles="${SOURCEFORGE_SITE}/gparted/gparted/gparted-${version}/gparted-${version}.tar.gz"
|
|
checksum=8dc180245dd9ea45e6e2f4bc69512f187e08be7f799c98a825a0b04c161cbd2a
|
|
|
|
# Some tests are known to fail since 1.1.0
|
|
# This disables these:
|
|
export GTEST_FILTER='-PipeCaptureTest.ReadEmbeddedNULCharacter:PipeCaptureTest.ReadNULByteInMiddleOfMultiByteUTF8Character:BlockSpecialTest.NamedBlockSpecialObjectBlockDevice:BlockSpecialTest.TwoNamedBlockSpecialObjectBlockDevices:BlockSpecialTest.NamedBlockSpecialObjectBySymlinkMatches'
|
|
|
|
pre_configure() {
|
|
sed -i "s:@bindir@/gparted %f:@bindir@/gparted-pkexec %f:g" gparted.desktop.in.in
|
|
}
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/org.void.pkexec.gparted.policy 644 /usr/share/polkit-1/actions
|
|
vbin ${FILESDIR}/gparted-pkexec
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|