summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-03-31 12:22:17 +0300
committerMart Raudsepp <leio@gentoo.org>2019-03-31 12:23:47 +0300
commit1ddd70c870a043ee974da9c779b883918116e2cf (patch)
tree702f9d62c1eeb1f579de73f8d1e8f3160c0dea03 /sys-block/gparted
parentsci-geosciences/gnome-maps: remove old (diff)
downloadgentoo-1ddd70c870a043ee974da9c779b883918116e2cf.tar.gz
gentoo-1ddd70c870a043ee974da9c779b883918116e2cf.tar.bz2
gentoo-1ddd70c870a043ee974da9c779b883918116e2cf.zip
sys-block/gparted: bump to 0.33.0
Closes: https://bugs.gentoo.org/673708 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-0.33.0.ebuild85
2 files changed, 86 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index 1df75acaacbb..ea8a446c52e6 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1,2 +1,3 @@
DIST gparted-0.29.0.tar.gz 3751292 BLAKE2B 3feeb5abe01cdef5a14efb1bbe229d1ae167a087a5488eacd00577eb16f4038563e21144e15b38113b1cdca0b53455a036f9f5ac594b2633d579ecdfdf7b1d8e SHA512 ea01a5b98f8a70d229eb81b58e46b5f0037e909cf72043e7364812ca77b32ee4bad0d215699a08f1b6fcacc31cece3a3058b6178e7bf2df6ba63b11ee64e2f8f
DIST gparted-0.32.0.tar.gz 3880559 BLAKE2B bdd3dd636fd651af06623cdaca828f199a42048d270674c5d5c29a1b99f34fb3a903fa9499bd141ef58a3455d0b861af01b9ed44d9cdba10629e20e5b5114715 SHA512 ea05c387031d0e5ac7f8fa582d9b15881336d72ed2e04a8515217bedccea763491e8d093f9ed3f47fc6c648412a2dca7fff1735e70d897beb065e6b3e698ad43
+DIST gparted-0.33.0.tar.gz 3917056 BLAKE2B 7d5eed87701f8c1f8125103a1b25fd58378aadee7faf3bba05f19ea94a6670687b190eb070cee792a205245dc7e5828caca7358cc59792adc8372c9907341772 SHA512 07b3f8ef355ce6c3302ed4747b9f542f1e231555c5ef39e758ee9a658bb14c9db2742af7f472a866bd122eb1ad9b2d45fd921484abb4ee319df1f15a74829f32
diff --git a/sys-block/gparted/gparted-0.33.0.ebuild b/sys-block/gparted/gparted-0.33.0.ebuild
new file mode 100644
index 000000000000..6e6c6b173a58
--- /dev/null
+++ b/sys-block/gparted/gparted-0.33.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+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.45.40:2
+ >=dev-cpp/gtkmm-2.24:2.4
+ >=dev-libs/glib-2:2
+ >=sys-block/parted-3.2:=
+ >=dev-libs/libsigc++-2.5.1:2
+"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-apps/util-linux-2.20
+ >=sys-fs/e2fsprogs-1.41
+ btrfs? ( sys-fs/btrfs-progs )
+ cryptsetup? ( sys-fs/cryptsetup )
+ dmraid? (
+ >=sys-fs/lvm2-2.02.45
+ 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-2011.4.12[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
+ app-text/gnome-doc-utils
+ >=dev-util/intltool-0.36.0
+ 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
+}