diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-09-05 17:24:33 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-09-05 17:25:28 +0200 |
commit | 412f2474684838b74388661c9be68bbcf4623805 (patch) | |
tree | 49562cf475bd44d8e8ee47c84ef30c5f373568fa /sys-block/gparted | |
parent | dev-java/glassflish-servlet-api: Version bump. Fixes security bug 386353. (diff) | |
download | gentoo-412f2474684838b74388661c9be68bbcf4623805.tar.gz gentoo-412f2474684838b74388661c9be68bbcf4623805.tar.bz2 gentoo-412f2474684838b74388661c9be68bbcf4623805.zip |
sys-block/gparted: Version bump, needs gettext as DEPEND (#555006)
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-block/gparted')
-rw-r--r-- | sys-block/gparted/Manifest | 1 | ||||
-rw-r--r-- | sys-block/gparted/gparted-0.23.0.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest index 710ee3c55999..6baec37cda1c 100644 --- a/sys-block/gparted/Manifest +++ b/sys-block/gparted/Manifest @@ -1,2 +1,3 @@ DIST gparted-0.21.0.tar.bz2 2123932 SHA256 398fc34ce8ffc3b3cfe6b423029646e7c7f40ed1a1bbb737b4d8524bef3565a9 SHA512 038ae6472e2499109559f4c1ed2314556dc3d7b1424a1448b684a1b5625ee6843703eda350d72ed1653d1cd516553a248dc41eee9627f5e4b18aee5bd62d38b1 WHIRLPOOL 778239331bead13e7f9e44e65509f06c057eb9c227ac12a881639153abf9125e21041208408cca8b06706dd64ad924635bb4f93e4a567f1564da1d7709cc5033 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 diff --git a/sys-block/gparted/gparted-0.23.0.ebuild b/sys-block/gparted/gparted-0.23.0.ebuild new file mode 100644 index 000000000000..d5ddecde4114 --- /dev/null +++ b/sys-block/gparted/gparted-0.23.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 +} |