summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2024-03-10 00:42:51 +0200
committerMart Raudsepp <leio@gentoo.org>2024-03-10 00:45:12 +0200
commite7bd627b3f791caf5069ea8fd5d650ebfcd6b02c (patch)
treebf84a2d6e9a72bc014fdab0b1592fd94583d76bc /sys-block
parentgui-libs/libpanel: add 1.4.1 (diff)
downloadgentoo-e7bd627b3f791caf5069ea8fd5d650ebfcd6b02c.tar.gz
gentoo-e7bd627b3f791caf5069ea8fd5d650ebfcd6b02c.tar.bz2
gentoo-e7bd627b3f791caf5069ea8fd5d650ebfcd6b02c.zip
sys-block/gparted: add 1.6.0
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/gparted/Manifest1
-rw-r--r--sys-block/gparted/gparted-1.6.0.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest
index 1fe416d375a5..f63423d3be6d 100644
--- a/sys-block/gparted/Manifest
+++ b/sys-block/gparted/Manifest
@@ -1 +1,2 @@
DIST gparted-1.5.0.tar.gz 5416965 BLAKE2B 034fcbfde4b74f99769f5bff27ec7a84f7f6cf8e37d944aa7bce61d0421f02711d77bc695667ea34523b066c6f925437e24d34c5b172fe56be5ce23f99283f53 SHA512 af32358bc470d30c38cdf688e8f940548c7361808fbc7712dc79ef6d196e3bfbf9c9e0ee499729e78d4b782ed1f52ea1f55c983e9afe8fc3fea765078ffbddad
+DIST gparted-1.6.0.tar.gz 5404754 BLAKE2B 994023a85281036d4a10733144d63f7a9f57d0aca29fde0502a594b4da629061f1f6eef4b0db3e22ef28db6567f27e824de124f42309980388bc038240fdcdd6 SHA512 359accfee955fb68131eb7b5737a2e74702abe2c29766ce07475a4c789983801ee129dec28b20c72d74210533423dfefd0626b794a540840ed0b36f0d71ccc60
diff --git a/sys-block/gparted/gparted-1.6.0.ebuild b/sys-block/gparted/gparted-1.6.0.ebuild
new file mode 100644
index 000000000000..b1845acbb91a
--- /dev/null
+++ b/sys-block/gparted/gparted-1.6.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2 optfeature virtualx
+
+DESCRIPTION="Partition editor for graphically managing your disk partitions"
+HOMEPAGE="https://gparted.org/ https://gitlab.gnome.org/GNOME/gparted/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+ FDL-1.2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~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/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
+}