diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-19 19:01:18 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-19 19:16:52 +0200 |
commit | 03bc090044bab746733f2444b378ea8dc3cfd50b (patch) | |
tree | 7e6a929ab9ce7eb6e397aff3cee8e7a28e204e8d /sys-block/gparted/gparted-0.29.0.ebuild | |
parent | profiles: drop USE=test mask on media-libs/grilo on arm (diff) | |
download | gentoo-03bc090044bab746733f2444b378ea8dc3cfd50b.tar.gz gentoo-03bc090044bab746733f2444b378ea8dc3cfd50b.tar.bz2 gentoo-03bc090044bab746733f2444b378ea8dc3cfd50b.zip |
sys-block/gparted: version bump 0.28.1 > 0.29.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-block/gparted/gparted-0.29.0.ebuild')
-rw-r--r-- | sys-block/gparted/gparted-0.29.0.ebuild | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/sys-block/gparted/gparted-0.29.0.ebuild b/sys-block/gparted/gparted-0.29.0.ebuild new file mode 100644 index 000000000000..4a1f9e1ab81b --- /dev/null +++ b/sys-block/gparted/gparted-0.29.0.ebuild @@ -0,0 +1,88 @@ +# 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 udf 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 ) + udf? ( sys-fs/udftools ) + 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 +} |