summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-11-01 16:32:57 +0000
committerPacho Ramos <pacho@gentoo.org>2014-11-01 16:32:57 +0000
commit9425f5d2a40285d175bbd338167ac26e2af8c8ae (patch)
tree94a17123b5c6cb5dd2bd60d8ad27cb8513cc6cf2 /sys-block/gparted
parentAdd KEYWORDS logic in -9999 ebuilds for ease of copying (diff)
downloadgentoo-2-9425f5d2a40285d175bbd338167ac26e2af8c8ae.tar.gz
gentoo-2-9425f5d2a40285d175bbd338167ac26e2af8c8ae.tar.bz2
gentoo-2-9425f5d2a40285d175bbd338167ac26e2af8c8ae.zip
Version bump
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/ChangeLog7
-rw-r--r--sys-block/gparted/gparted-0.20.0.ebuild90
2 files changed, 96 insertions, 1 deletions
diff --git a/sys-block/gparted/ChangeLog b/sys-block/gparted/ChangeLog
index 28cf9846b5b9..cf5d0cc00d1a 100644
--- a/sys-block/gparted/ChangeLog
+++ b/sys-block/gparted/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/gparted
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.137 2014/09/01 13:09:48 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/ChangeLog,v 1.138 2014/11/01 16:32:57 pacho Exp $
+
+*gparted-0.20.0 (01 Nov 2014)
+
+ 01 Nov 2014; Pacho Ramos <pacho@gentoo.org> +gparted-0.20.0.ebuild:
+ Version bump
*gparted-0.19.1 (01 Sep 2014)
diff --git a/sys-block/gparted/gparted-0.20.0.ebuild b/sys-block/gparted/gparted-0.20.0.ebuild
new file mode 100644
index 000000000000..380032668029
--- /dev/null
+++ b/sys-block/gparted/gparted-0.20.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/gparted/gparted-0.20.0.ebuild,v 1.1 2014/11/01 16:32:57 pacho Exp $
+
+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"
+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-base/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
+ app-text/rarian
+ dev-util/intltool
+ 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
+}