summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2017-07-24 00:17:32 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2017-07-24 00:19:24 +0200
commit61449f219b9599be354d7ce6d88690c9ce7f91bb (patch)
treeef492acdbd3e57e348f019746cf0c08ec82ac677 /sys-block/gparted
parentsys-block/gparted: add CPE to remote IDs (diff)
downloadgentoo-61449f219b9599be354d7ce6d88690c9ce7f91bb.tar.gz
gentoo-61449f219b9599be354d7ce6d88690c9ce7f91bb.tar.bz2
gentoo-61449f219b9599be354d7ce6d88690c9ce7f91bb.zip
sys-block/gparted: version bump 0.27.0 -> 0.28.0
Applied kdesu patch from asturm, see bug #617530. Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-block/gparted')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-0.28.1.ebuild87
-rw-r--r--sys-block/gparted/metadata.xml9
3 files changed, 93 insertions, 4 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index 1d31e4c46940..ff5975b1fa2e 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1 +1,2 @@
DIST gparted-0.27.0.tar.gz 3377303 SHA256 208cf60c061b86bee4f658d568a3b5d843dce3ab9847f66b452298268799e7bd SHA512 0a44697e6d34d1ca3d3fc65fb90ec945ff3807cd208bf18fb118b73980e018b6d69fa515f4f1b199974eabb36b977c541f141790fe640e083ff14c2bbd578e5f WHIRLPOOL ec823c78deb342ba448ebc956b9758e0fca6f405f7f9b03b7039ac63f3add1dd7a9b139eddc8787c4eb85f9b9222d9b5e99d04b62e70f157fa86e6b582f56e3f
+DIST gparted-0.28.1.tar.gz 3444521 SHA256 76891f14394754f7d6ecceba2af0e585bf89f9d780c389a255dcd41a2f45d333 SHA512 533adc9c2896063532f109ee6ee5fd1e1f510f47aad4ed2b673fc74ba2406f1f8d86db8096965920608028ce255385e04a60926bbf771f7df96100c3e0546a67 WHIRLPOOL b3b5fd08c2bcfba690ea34bd5d1c24f119451eeee3e191641a7cd4a8c31a343c2c8b7b56d029942cf1f79b2a0aee2e300bacb720d03d492167d9ee9a5505dacb
diff --git a/sys-block/gparted/gparted-0.28.1.ebuild b/sys-block/gparted/gparted-0.28.1.ebuild
new file mode 100644
index 000000000000..77807ab932d0
--- /dev/null
+++ b/sys-block/gparted/gparted-0.28.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 cryptsetup 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-5.8.6-r1[kdesu] ) )
+ policykit? ( sys-auth/polkit )
+
+ >=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 )
+ 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
+}
diff --git a/sys-block/gparted/metadata.xml b/sys-block/gparted/metadata.xml
index 7fa608ae3f72..d8d52d2b7f6d 100644
--- a/sys-block/gparted/metadata.xml
+++ b/sys-block/gparted/metadata.xml
@@ -11,19 +11,20 @@
<longdescription lang="en">
GParted is the Gnome Partition Editor. It can create, grow, shrink, move and
copy various filesystems.
-</longdescription>
+ </longdescription>
<longdescription lang="fr">
GParted est l'éditeur de partition de Gnome. Il peut créer, redimensionner,
déplacer et copier différents systèmes de fichiers.
-</longdescription>
+ </longdescription>
<use>
<flag name="btrfs">Include Btrfs support (<pkg>sys-fs/btrfs-progs</pkg>)</flag>
+ <flag name="cryptsetup">Include LUKS volume support (<pkg>sys-fs/cryptsetup</pkg>)</flag>
<flag name="dmraid">Support for dmraid devices, also known as ATA-RAID, or
Fake RAID.</flag>
<flag name="f2fs">Include F2FS support (<pkg>sys-fs/f2fs-tools</pkg>)
- </flag>
+ </flag>
<flag name="fat">Include FAT16/FAT32 support (<pkg>sys-fs/dosfstools</pkg>)
- </flag>
+ </flag>
<flag name="hfs">Include HFS support (<pkg>sys-fs/hfsutils</pkg>)</flag>
<flag name="jfs">Include JFS support (<pkg>sys-fs/jfsutils</pkg>)</flag>
<flag name="mdadm">Support for Linux software RAID.</flag>