diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-04-16 17:33:56 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-04-16 17:59:14 -0400 |
commit | 0e7fafea263bcf40a659800e40e9f9839dbd0424 (patch) | |
tree | 6516c19f8e50d1a1bc7c745307711605691934f5 | |
parent | dev-util/artifactory-bin: drop old version (diff) | |
download | gentoo-0e7fafea263bcf40a659800e40e9f9839dbd0424.tar.gz gentoo-0e7fafea263bcf40a659800e40e9f9839dbd0424.tar.bz2 gentoo-0e7fafea263bcf40a659800e40e9f9839dbd0424.zip |
sys-block/gparted: Version bump to 1.2.0
* Turn RDEPEND-only USE flags into optfeatures
Closes: https://bugs.gentoo.org/718654
Closes: https://bugs.gentoo.org/769818
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | sys-block/gparted/Manifest | 1 | ||||
-rw-r--r-- | sys-block/gparted/gparted-1.2.0.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest index cf64f487003b..2fb69453f158 100644 --- a/sys-block/gparted/Manifest +++ b/sys-block/gparted/Manifest @@ -1 +1,2 @@ DIST gparted-1.1.0.tar.gz 4032829 BLAKE2B d47d45e77a3d9dc29e9fa0428aaa7c12bb863cb70ac11f4055cbcc0a0fde8019fbb20266b7f810d6a47c5239248486049c8e9813ead8e88081dd16f445da036a SHA512 afaad690fccbec7385b078a299b78bf4f0f83999e2661f89cb97f9e8f2b30ee41f0535450075e3a7174967e77c75024df78863d0d90d5e8dc726a487b4ae0bae +DIST gparted-1.2.0.tar.gz 4057490 BLAKE2B 55b03f6bfe99ccccc7394dd64783c89511e48f8c9dd3d64792bb517a27ff5e77fc3be6bbd3ba140efd2ee525cffa4ba8d3136fd947e2d6e45a30f8bcaefb7a89 SHA512 10375ae351805597ec22aa7a7cc13e03bd08c45047c1a48c68194d6129b27f16035d2633d48db0d71923f6b45946ad6a218c17bfac7c38747ed7f908182c5445 diff --git a/sys-block/gparted/gparted-1.2.0.ebuild b/sys-block/gparted/gparted-1.2.0.ebuild new file mode 100644 index 000000000000..2990599fa1ef --- /dev/null +++ b/sys-block/gparted/gparted-1.2.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit gnome2 optfeature virtualx + +DESCRIPTION="Gnome Partition Editor" +HOMEPAGE="https://gparted.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+ FDL-1.2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="kde policykit wayland" + +DEPEND=" + !policykit? ( + kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) ) + policykit? ( >=sys-auth/polkit-0.102 ) + >=dev-cpp/glibmm-2.56.1:2 + >=dev-cpp/gtkmm-3.24:3.0 + >=dev-libs/glib-2.58.3-r1:2 + >=sys-block/parted-3.2:= + >=dev-libs/libsigc++-2.10.1:2 +" +RDEPEND="${DEPEND} + >=sys-apps/util-linux-2.33.2 + wayland? ( x11-apps/xhost ) +" +BDEPEND=" + app-text/docbook-xml-dtd:4.1.2 + >=dev-util/intltool-0.51.0-r2 + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + --enable-doc \ + --enable-online-resize \ + $(use_enable wayland xhost-root) \ + GKSUPROG=kdesu \ + ac_cv_prog_have_scrollkeeper_update=no +} + +src_install() { + gnome2_src_install + + local _ddir="${D}"/usr/share/applications + local _bdir="${D}"/usr/bin + + if ! use policykit; then + if use kde; then + cp "${_ddir}"/gparted{,-kde}.desktop || die + cp "${_bdir}"/gparted{,-kde} || die + sed -i -e '/Exec/ s:gparted:gparted-kde:' "${_ddir}"/gparted-kde.desktop || die + echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop || die + fi + else + sed -i -e 's:kdesu::' "${_bdir}"/gparted || die + fi + + mv "${ED}"/usr/share/{appdata,metainfo} +} + +src_test() { + virtx emake check +} + +pkg_postinst() { + gnome2_pkg_postinst + + optfeature_header + optfeature "BTRFS support" sys-fs/btrfs-progs + optfeature "DMRAID support" sys-fs/dmraid sys-fs/multipath-tools + optfeature "Encrypted device / LUKS support" sys-fs/cryptsetup + optfeature "exFAT support" sys-fs/exfatprogs + optfeature "EXT2/EXT3/EXT4 support" sys-fs/e2fsprogs + optfeature "F2FS support" sys-fs/f2fs-tools + optfeature "FAT support" sys-fs/dosfstools sys-fs/mtools + optfeature "HFS support" sys-fs/diskdev_cmds sys-fs/hfsutils virtual/udev + optfeature "JFS support" sys-fs/jfsutils + optfeature "MDADM support" sys-fs/mdadm + optfeature "NTFS support" sys-fs/ntfs3g[ntfsprogs] + optfeature "Reiser4 support" sys-fs/reiser4progs + optfeature "ReiserFS support" sys-fs/reiserfsprogs + optfeature "UDF support" sys-fs/udftools + optfeature "XFS support" sys-fs/xfsprogs sys-fs/xfsdump +} |