blob: bd986abc0bfc3c674ff88bcf32079304282f538e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Template file for 'gparted'
pkgname=gparted
version=1.5.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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gparted.sourceforge.io"
distfiles="${SOURCEFORGE_SITE}/gparted/gparted/gparted-${version}/gparted-${version}.tar.gz"
checksum=3c95ea26a944083ff1d9b17639b1e2ad9758df225dc751ff407b2a6aa092a8de
disable_parallel_check=true
# Some tests are known to fail in CI since 1.1.0
# This disables these:
export GTEST_FILTER='-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"
}
|