summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-12-05 14:38:27 +0100
committerPacho Ramos <pacho@gentoo.org>2016-12-05 14:52:37 +0100
commit4a6af3b3cffe35a3b90d656f501517136d8414c5 (patch)
tree6b048e31169f0cecf5a1e157213109cfddcd57d3 /sys-block/gparted
parentsys-apps/accountsservice: Version bump (diff)
downloadgentoo-4a6af3b3cffe35a3b90d656f501517136d8414c5.tar.gz
gentoo-4a6af3b3cffe35a3b90d656f501517136d8414c5.tar.bz2
gentoo-4a6af3b3cffe35a3b90d656f501517136d8414c5.zip
sys-block/gparted: Version bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-0.27.0.ebuild87
2 files changed, 88 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index 17cfcd81115..972e6720bf9 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1,2 +1,3 @@
DIST gparted-0.26.0.tar.gz 3299035 SHA256 bcf339328c183e1d825d41267cf435b193f1312fc3b9ce207e6087e653e27fb4 SHA512 1017e1f460dd24d08959f018e51d523ae461b29350a136eb3a6cca524a966ad235edee80063fe1b6a0e1a5445e2b30086efbc98d7b948f61e9ddf758c03fc049 WHIRLPOOL 38bdf9384ee87b12dfc7b4de81fefb1ee0847430ec5ab971dfbb28f0c32f778ad6c0f4655d9e3e3d9de1d9c665a9361933ebb707f42613d17e1167dfce5de931
DIST gparted-0.26.1.tar.gz 3311059 SHA256 2f54b642d25aef5ccdd9f06671c16350c005834df5c3eb13a9b7f33246372dc1 SHA512 cba792751f8e984cbb4e1e0baaa97d0022ba47bd400312734ed5ae4a1bea07bc46ed522ca19a84b74ad503387fc9bd9d9cd85cdd647ba2ec028b39f8da502b67 WHIRLPOOL f1b840f74d5888009e19c7c03bb5b7d4e65056e92f2e215a952a23a2446f702aa4a712ac56c22ecba772f7d39f671e55b97792b8506234974de94260b2057ad4
+DIST gparted-0.27.0.tar.gz 3377303 SHA256 208cf60c061b86bee4f658d568a3b5d843dce3ab9847f66b452298268799e7bd SHA512 0a44697e6d34d1ca3d3fc65fb90ec945ff3807cd208bf18fb118b73980e018b6d69fa515f4f1b199974eabb36b977c541f141790fe640e083ff14c2bbd578e5f WHIRLPOOL ec823c78deb342ba448ebc956b9758e0fca6f405f7f9b03b7039ac63f3add1dd7a9b139eddc8787c4eb85f9b9222d9b5e99d04b62e70f157fa86e6b582f56e3f
diff --git a/sys-block/gparted/gparted-0.27.0.ebuild b/sys-block/gparted/gparted-0.27.0.ebuild
new file mode 100644
index 00000000000..a799c0105a7
--- /dev/null
+++ b/sys-block/gparted/gparted-0.27.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="Gnome Partition Editor"
+HOMEPAGE="http://gparted.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+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"
+
+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-plasma/kde-cli-tools[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=kdesu5 :' "${_ddir}"/gparted-kde.desktop
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop
+ fi
+ fi
+}