mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-block/gparted: add v1.7.0
- Removed "--enable-online-resize" from src_configure() since the functionality is now unconditionally available in libparted - Added optfeature notice for Bcachefs support Signed-off-by: Lukas Schmelting <lschmelting@posteo.com> Part-of: https://github.com/gentoo/gentoo/pull/43291 Closes: https://github.com/gentoo/gentoo/pull/43291 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
committed by
Pacho Ramos
parent
9b50a8a58f
commit
bacd3a3fc3
@@ -1 +1,2 @@
|
||||
DIST gparted-1.6.0.tar.gz 5404754 BLAKE2B 994023a85281036d4a10733144d63f7a9f57d0aca29fde0502a594b4da629061f1f6eef4b0db3e22ef28db6567f27e824de124f42309980388bc038240fdcdd6 SHA512 359accfee955fb68131eb7b5737a2e74702abe2c29766ce07475a4c789983801ee129dec28b20c72d74210533423dfefd0626b794a540840ed0b36f0d71ccc60
|
||||
DIST gparted-1.7.0.tar.gz 5440420 BLAKE2B c7cae6f43252af783dd7ff4ea7d1118bc0e0d7eb2b86f2f24e7d808bae9523c7f55f7316d0d2cc9cea4ef19f1a09cd960a18dbbc5e214c79717ea41bb1453a90 SHA512 d0d5968d6434098bef15bcc785acd93ca31281f3e87ba206935fcffebfdcf6bf95ec0a6b91f72637c7741c6a574fb40bef11a9237a770508882e3efde6b76eca
|
||||
|
||||
96
sys-block/gparted/gparted-1.7.0.ebuild
Normal file
96
sys-block/gparted/gparted-1.7.0.ebuild
Normal file
@@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2025 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="https://downloads.sourceforge.net/project/${PN}/${PN}/${PN}-$PV/${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/kdesu-gui
|
||||
>=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
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.6.0-handle-failing-pixbuf.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--enable-doc \
|
||||
$(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 "Bcachefs support" sys-fs/bcachefs-tools
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user