From d9a55b82bf495e1cf8791e9b59e69e091cf0ea29 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 3 May 2021 20:49:49 -0400 Subject: sys-block/gparted: Version bump to 1.3.0 Signed-off-by: Matt Turner --- sys-block/gparted/Manifest | 1 + sys-block/gparted/gparted-1.3.0.ebuild | 90 ++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 sys-block/gparted/gparted-1.3.0.ebuild (limited to 'sys-block') diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest index 2fb69453f158..e58cc5976988 100644 --- a/sys-block/gparted/Manifest +++ b/sys-block/gparted/Manifest @@ -1,2 +1,3 @@ DIST gparted-1.1.0.tar.gz 4032829 BLAKE2B d47d45e77a3d9dc29e9fa0428aaa7c12bb863cb70ac11f4055cbcc0a0fde8019fbb20266b7f810d6a47c5239248486049c8e9813ead8e88081dd16f445da036a SHA512 afaad690fccbec7385b078a299b78bf4f0f83999e2661f89cb97f9e8f2b30ee41f0535450075e3a7174967e77c75024df78863d0d90d5e8dc726a487b4ae0bae DIST gparted-1.2.0.tar.gz 4057490 BLAKE2B 55b03f6bfe99ccccc7394dd64783c89511e48f8c9dd3d64792bb517a27ff5e77fc3be6bbd3ba140efd2ee525cffa4ba8d3136fd947e2d6e45a30f8bcaefb7a89 SHA512 10375ae351805597ec22aa7a7cc13e03bd08c45047c1a48c68194d6129b27f16035d2633d48db0d71923f6b45946ad6a218c17bfac7c38747ed7f908182c5445 +DIST gparted-1.3.0.tar.gz 4167440 BLAKE2B 87af5285a54af2ceb75eb6580b6492f7bcf6d8d2a9b4d614761b60c2b1776b2a8e14064ed5a77091074c5c5ff87169f3525fec2f37a280d35289677aaf75eba5 SHA512 8349ebdf2312e32df9f40d24aa42a4604897ebae72e58fd1046ab0897b3380a762b49f74bdcf3bd570b4e7a3468b6f225c22290c6b1b799911da17408912288b diff --git a/sys-block/gparted/gparted-1.3.0.ebuild b/sys-block/gparted/gparted-1.3.0.ebuild new file mode 100644 index 000000000000..2990599fa1ef --- /dev/null +++ b/sys-block/gparted/gparted-1.3.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 +} -- cgit v1.2.3-65-gdbad