sys-block/partclone: add 0.3.44

We don't have static-libs for dev-libs/xxhash and sys-fs/fuse:3.
In the future I think I'll drop USE=static.

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2026-01-28 08:18:33 +02:00
parent 466bcc36fc
commit bf2bd3eb67
2 changed files with 113 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST partclone-0.3.42.tar.gz 1525819 BLAKE2B b75ef016cc9908a937a4cee9b6cb872690e59f7b78b5a5fe4c6847f0eb325238233b2a0fc5f5822e3b6db262ab0fe39ff35fbee7ccb63b585ace07696908c690 SHA512 2a0fffdf1ff0b4a5d18d88e3d29a1096a54f39f92a4b662290855e34d8bb28294311b23db3e7bfa82fa15d0faeea2d67b58d472d11627fce5b6ed1747259a79f
DIST partclone-0.3.44.tar.gz 1539166 BLAKE2B 698d500512e6460832f3cb43e7b26c13bb02229abd385ba9bcce8016565e16bb791c6bfc9a5925ad5846d4c1e97f04cc223d7c843861c0a059a800368aa7d0f7 SHA512 fff1d5f30801b84a58269c7644a4deaa3a34e8d9ab48f515a5dce12e26a1046e8c1350805c87c3d32c6d5e84abde3678671f9a9001ce9fbaf91cc0ce38aa8b9e

View File

@@ -0,0 +1,112 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
if [[ -z ${PV%%*9999} ]]; then
EGIT_REPO_URI="https://github.com/Thomas-Tsai/${PN}.git"
inherit git-r3
else
[[ -n ${PV%%*_p*} ]] && MY_PV="${PV}"
SRC_URI="
https://github.com/Thomas-Tsai/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Partition cloning tool"
HOMEPAGE="https://partclone.org"
LICENSE="GPL-2"
SLOT="0"
IUSE="apfs btrfs +e2fs exfat f2fs fat fuse hfs minix ncurses nilfs2 ntfs"
IUSE+=" reiserfs static test ufs vmfs xfs"
RESTRICT="!test? ( test )"
REQUIRED_USE="static? ( !fuse )"
RDEPEND="
app-arch/zstd:=
dev-libs/isa-l
dev-libs/openssl:0=
sys-apps/util-linux
virtual/zlib:=
e2fs? ( sys-fs/e2fsprogs )
btrfs? ( sys-apps/util-linux )
fuse? ( sys-fs/fuse:3 )
ncurses? ( sys-libs/ncurses:0= )
nilfs2? ( sys-fs/nilfs-utils )
ntfs? ( sys-fs/ntfs3g )
reiserfs? ( sys-fs/progsreiserfs )
xfs? ( sys-apps/util-linux )
static? (
app-arch/zstd:=[static-libs]
dev-libs/openssl:0[static-libs]
virtual/zlib:=[static-libs]
e2fs? ( sys-fs/e2fsprogs[static-libs] )
btrfs? ( sys-apps/util-linux[static-libs] )
ncurses? ( sys-libs/ncurses:0[static-libs] )
nilfs2? ( sys-fs/nilfs-utils[static-libs] )
ntfs? ( sys-fs/ntfs3g[static-libs] )
reiserfs? ( sys-fs/progsreiserfs[static-libs] )
)
!static? (
dev-libs/xxhash
)
"
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.40-fix-ncurses-linking.patch
)
DOCS=(
AUTHORS
ChangeLog
HACKING
NEWS
README.md
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable e2fs extfs)
$(use_enable apfs)
$(use_enable btrfs)
$(use_enable exfat)
$(use_enable f2fs)
$(use_enable fat)
$(use_enable fuse)
$(use_enable hfs hfsp)
$(use_enable minix)
$(use_enable ncurses ncursesw)
$(use_enable nilfs2)
$(use_enable ntfs)
$(use_enable reiserfs)
$(use_enable test fs-test)
$(use_enable static static-linking)
$(use_enable vmfs)
$(use_enable ufs)
$(use_enable xfs)
--disable-jfs
--disable-reiser4
$(usev static --disable-xxhash)
)
econf "${myconf[@]}"
}
src_test() {
local -x TERM=dummy
default
}