summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-11-07 13:35:57 +0100
committerPacho Ramos <pacho@gentoo.org>2015-11-07 13:35:57 +0100
commitfa90f5b752c9eee17b8b2616c4f2f0140913f49f (patch)
tree61e906a3a481c5cc7d7fda78baad56b0016609a4 /sys-block/gparted
parentnet-misc/modemmanager: Drop old (diff)
downloadgentoo-fa90f5b752c9eee17b8b2616c4f2f0140913f49f.tar.gz
gentoo-fa90f5b752c9eee17b8b2616c4f2f0140913f49f.tar.bz2
gentoo-fa90f5b752c9eee17b8b2616c4f2f0140913f49f.zip
sys-block/gparted: Version bump
Package-Manager: portage-2.2.23
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-0.24.0.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index e6cd891a8e28..4a353117eec3 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1,2 +1,3 @@
DIST gparted-0.22.0.tar.bz2 2185652 SHA256 aa755e1a6e84c8eaac8b3c44416cbe9c202a4993ceaba22f293d20b83b2d6f27 SHA512 4cc6868dd182e00d1f3afc261009a5ebca81d1b7319f97c9b3c3267c5a11f043bbad644e14245a5c5b342971b2fd7705cbf7b159d8e800f7877de42c30c6581b WHIRLPOOL 4752197e8060dd24852a7c5ad2799cc19e9dde2e6694656392ce0703c6c2da1cfeffd2a3625f8da9ab02fdc3db66cb33608b3c52c9a6d369e0106a367efe7859
DIST gparted-0.23.0.tar.bz2 2264376 SHA256 7fd1dddf29814c2982f55ab765b8918561e1b5dabf792012c66b4d3ba25da754 SHA512 5ac03da1b13b23ee36006a4e785fd9b67968763305b5b0657948ac5c68391ba9643d53d44ff29703fa78a5df877a95a5be4ef41e83da524d8362a46bc15cbf06 WHIRLPOOL 2a24d6dfb3aa52f9c0e42b6897d06e8911620f6ddd2cea44b61b49b80244c147104e01356c3c300c56f62975df94fb4112ef4682e365988f729138fd202c5b26
+DIST gparted-0.24.0.tar.bz2 2276313 SHA256 02398ab33894a59b0bd8707e598c46d8bb56f1413cd54de48eed61e2920ecd60 SHA512 914e8292adfd8648e57a83303721eb94d8527135d46bf9f5a9c53265294b44109c7f00e40761c26f186f97a8ef4a58ed16f53b3db6f78db3b4052dc5ed99755a WHIRLPOOL 81d774e3bcd5c08c90fd41a5bb7ef7e403e28c59401212f0501fa551fc66c08bb5ca415d1e69d173d3e54797c24de437d5ec677ac1f0698b0d4a9331bbd6b987
diff --git a/sys-block/gparted/gparted-0.24.0.ebuild b/sys-block/gparted/gparted-0.24.0.ebuild
new file mode 100644
index 000000000000..d5ddecde4114
--- /dev/null
+++ b/sys-block/gparted/gparted-0.24.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="no"
+
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="http://gparted.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="btrfs dmraid f2fs fat hfs jfs kde mdadm ntfs policykit reiserfs reiser4 xfs"
+
+# FIXME: add gpart support
+COMMON_DEPEND="
+ >=dev-cpp/glibmm-2.14:2
+ >=dev-cpp/gtkmm-2.22:2.4
+ >=dev-libs/glib-2:2
+ >=sys-block/parted-3.2:=
+"
+RDEPEND="${COMMON_DEPEND}
+ !policykit? (
+ kde? ( kde-apps/kdesu ) )
+ policykit? ( sys-auth/polkit )
+
+ >=sys-apps/util-linux-2.20
+ >=sys-fs/e2fsprogs-1.41
+ btrfs? ( sys-fs/btrfs-progs )
+ 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 )
+ 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
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i -e 's:Exec=@gksuprog@ :Exec=:' gparted.desktop.in.in || die
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --enable-doc \
+ --enable-online-resize \
+ GKSUPROG=$(type -P true)
+}
+
+src_install() {
+ gnome2_src_install
+
+ local _ddir="${D}"/usr/share/applications
+
+ if use policykit; then
+ sed -i -e 's:/usr/sbin/gparted %f:gparted-pkexec:' "${_ddir}"/gparted.desktop
+ insinto /usr/share/polkit-1/actions/
+ doins "${FILESDIR}"/org.gentoo.pkexec.gparted.policy
+ dobin "${FILESDIR}"/gparted-pkexec
+ else
+ if use kde; then
+ cp "${_ddir}"/gparted{,-kde}.desktop
+ sed -i -e 's:Exec=:Exec=kdesu :' "${_ddir}"/gparted-kde.desktop
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop
+ fi
+ fi
+}