summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-01-26 16:34:38 +0200
committerMart Raudsepp <leio@gentoo.org>2020-01-26 20:00:27 +0200
commitcd275d5e86ea014365335310e51677b90f84fef6 (patch)
treec661c5afbbfd1eee2bfe98befb26766595ab7de0 /sys-block
parentgui-libs/tepl: fix gettext min req (diff)
downloadgentoo-cd275d5e86ea014365335310e51677b90f84fef6.tar.gz
gentoo-cd275d5e86ea014365335310e51677b90f84fef6.tar.bz2
gentoo-cd275d5e86ea014365335310e51677b90f84fef6.zip
sys-block/gparted: bump to 1.1.0, enable tests
I don't quite understand why earlier versions didn't automatically run tests from default src_test, nor this version without a manual src_test. For some reason it works after a manual src_test, which we need anyhow for virtx now. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-1.1.0.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index 778ecab22109..e9846a87d5cb 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1,2 +1,3 @@
DIST gparted-0.33.0.tar.gz 3917056 BLAKE2B 7d5eed87701f8c1f8125103a1b25fd58378aadee7faf3bba05f19ea94a6670687b190eb070cee792a205245dc7e5828caca7358cc59792adc8372c9907341772 SHA512 07b3f8ef355ce6c3302ed4747b9f542f1e231555c5ef39e758ee9a658bb14c9db2742af7f472a866bd122eb1ad9b2d45fd921484abb4ee319df1f15a74829f32
DIST gparted-1.0.0.tar.gz 3980258 BLAKE2B 4c0e7c36e2cd4dde68ee27b67e11a529c27fd22f0d93f6a8d1c6932b3728eead9c8aa282ff7e26c7e9922f0f7991ab3c5d72a7bd968708aac2c6b1e7f59bb5a5 SHA512 88eef4e4fbd51d9a9a3bdfb0a9738f6957ec5cbc21c2f93febf0d4cfe927e0ae3cb8cb1a9b2ca956a55dc62b9228ec76107e3e4701623be6474c99678c9197be
+DIST gparted-1.1.0.tar.gz 4032829 BLAKE2B d47d45e77a3d9dc29e9fa0428aaa7c12bb863cb70ac11f4055cbcc0a0fde8019fbb20266b7f810d6a47c5239248486049c8e9813ead8e88081dd16f445da036a SHA512 afaad690fccbec7385b078a299b78bf4f0f83999e2661f89cb97f9e8f2b30ee41f0535450075e3a7174967e77c75024df78863d0d90d5e8dc726a487b4ae0bae
diff --git a/sys-block/gparted/gparted-1.1.0.ebuild b/sys-block/gparted/gparted-1.1.0.ebuild
new file mode 100644
index 000000000000..e7d5c990cc61
--- /dev/null
+++ b/sys-block/gparted/gparted-1.1.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2 virtualx
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="https://gparted.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="btrfs cryptsetup dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 udf wayland xfs"
+
+COMMON_DEPEND="
+ !policykit? (
+ kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) )
+ policykit? ( >=sys-auth/polkit-0.102 )
+ >=dev-cpp/glibmm-2.56.1:2
+ >=dev-cpp/gtkmm-3.24:3.0
+ >=dev-libs/glib-2.58.3-r1:2
+ >=sys-block/parted-3.2:=
+ >=dev-libs/libsigc++-2.10.1:2
+"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-apps/util-linux-2.33.2
+ >=sys-fs/e2fsprogs-1.44.5
+ btrfs? ( sys-fs/btrfs-progs )
+ cryptsetup? ( sys-fs/cryptsetup )
+ dmraid? (
+ >=sys-fs/lvm2-2.02.116
+ sys-fs/dmraid
+ sys-fs/multipath-tools )
+ f2fs? ( sys-fs/f2fs-tools )
+ fat? (
+ sys-fs/dosfstools
+ sys-fs/mtools )
+ hfs? (
+ sys-fs/diskdev_cmds
+ virtual/udev
+ sys-fs/hfsutils )
+ jfs? ( sys-fs/jfsutils )
+ mdadm? ( sys-fs/mdadm )
+ ntfs? ( >=sys-fs/ntfs3g-2016.2.22-r2[ntfsprogs] )
+ reiserfs? ( sys-fs/reiserfsprogs )
+ reiser4? ( sys-fs/reiser4progs )
+ udf? ( sys-fs/udftools )
+ wayland? ( x11-apps/xhost )
+ xfs? ( sys-fs/xfsprogs sys-fs/xfsdump )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ >=dev-util/intltool-0.51.0-r2
+ dev-util/itstool
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-doc \
+ --enable-online-resize \
+ $(use_enable wayland xhost-root) \
+ GKSUPROG=kdesu \
+ ac_cv_prog_have_scrollkeeper_update=no
+}
+
+src_install() {
+ gnome2_src_install
+
+ local _ddir="${D}"/usr/share/applications
+ local _bdir="${D}"/usr/bin
+
+ if ! use policykit; then
+ if use kde; then
+ cp "${_ddir}"/gparted{,-kde}.desktop || die
+ cp "${_bdir}"/gparted{,-kde} || die
+ sed -i -e '/Exec/ s:gparted:gparted-kde:' "${_ddir}"/gparted-kde.desktop || die
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop || die
+ fi
+ else
+ sed -i -e 's:kdesu::' "${_bdir}"/gparted || die
+ fi
+}
+
+src_test() {
+ virtx emake check
+}