diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-10 21:52:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-10 21:52:51 +0100 |
commit | fbba40085f5d1591a67b49f5aa48b4071b7560f1 (patch) | |
tree | 09e69d990e9c6d078ad475802b8728fa703bac9a /app-misc/jdupes | |
parent | 42e82780761e75f17a5cc96626558a297782f385 (diff) |
gentoo auto-resync : 10:06:2023 - 21:52:51
Diffstat (limited to 'app-misc/jdupes')
-rw-r--r-- | app-misc/jdupes/Manifest | 4 | ||||
-rw-r--r-- | app-misc/jdupes/jdupes-1.23.0.ebuild | 47 | ||||
-rw-r--r-- | app-misc/jdupes/jdupes-9999.ebuild | 5 |
3 files changed, 54 insertions, 2 deletions
diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest index 4f730db097a2..0df242949ed0 100644 --- a/app-misc/jdupes/Manifest +++ b/app-misc/jdupes/Manifest @@ -1,4 +1,6 @@ DIST jdupes-1.21.3.tar.gz 155979 BLAKE2B b7d978aa8cc4574ce3a201e283a1cfccf6751689725f5307b78e47a9f1defd360d58be3ba2f558a6f40e7108a1ea4f0dd3c14d2332d14278c4114d303da3eea6 SHA512 22284adb1650dc44dfc74320799ac68e02e8d31685dd376d5f938d10308d117ae8af39273fbfec73f7e5a22e9685be96c92f0e12d9ebc81f11c255ada60abe83 +DIST jdupes-1.23.0.tar.gz 147647 BLAKE2B 10c09c39d54e78cbfa693f94c4305104cb46ae5f835ba4dfa308fcab5f0c920570d821aa48b1434e4fe63e754b6380e00daacc69ad05c33222a44fd05bff9e7e SHA512 27e3021592180e7573727a98290471693d92d98db72ace2a48b0b075f9762a9089338a65f112b93b07b33ecd9eb16f97f183da847e331e3af10627074875f810 EBUILD jdupes-1.21.3.ebuild 948 BLAKE2B 1c1402da3abad842005dee333c1c31faa7fa6d5b5693a012539b5763917e9cac6a2bb964b2b6a4cc55d2c47fc39aa17e6e600812378ba87769b957e8a2bfdd2a SHA512 ed03667e9d768d3ffb25c0480a80b73bdd0abba2873530d0056345c1d6fb6f996801a70a2e5c591e1d8b2be6634f079ccd09eceef0b54e8fb9892c479dfd3a19 -EBUILD jdupes-9999.ebuild 944 BLAKE2B 06d1094d3bfd38ee9f3934f91ddddefe98278f51ded8b3c92fb63618df90d36839c1a7bea9fe62d41696c45230ca2f10d6de8742a43653f99a69c5fbb18b404a SHA512 3f0b7111b5957240b1e88161dda19f3b84f54a4f8d4b47c8bb7e6dfde28cadc2bf64a07a84c38600945b8ea060312db8c071155e27227490964d03e28f142442 +EBUILD jdupes-1.23.0.ebuild 1000 BLAKE2B f4cbb7f2d33208afb043926e51b20de38bf6b3054529a341d1a04b11916dcd1811de874199c41133a2087b81c9d9cbf726706ba540276df241df6c49356e5da7 SHA512 37ff8b82f625f7aac6c8618155753f77111e3044dd35e24d90f8763cd4b39f9666b7e96cfb0a88f87eba0674518c59102d54980e3a74ef87dd173269214a3837 +EBUILD jdupes-9999.ebuild 1000 BLAKE2B f4cbb7f2d33208afb043926e51b20de38bf6b3054529a341d1a04b11916dcd1811de874199c41133a2087b81c9d9cbf726706ba540276df241df6c49356e5da7 SHA512 37ff8b82f625f7aac6c8618155753f77111e3044dd35e24d90f8763cd4b39f9666b7e96cfb0a88f87eba0674518c59102d54980e3a74ef87dd173269214a3837 MISC metadata.xml 747 BLAKE2B 42d38d80659c7cdf04f27776db41e09eb3f03617a4b795a9715f29fb0d982b0d5c0d469126848984e09ab598c7e0420ff70781f66fa40145cac93615aa42e640 SHA512 683dfe19b16f418965ad58f01248347746eca87d392728bcf197ebdb55a2c83a5bc70de50d8dd5f3f396abffd11e19616da4f414a8f0f4289394b244d9c4c139 diff --git a/app-misc/jdupes/jdupes-1.23.0.ebuild b/app-misc/jdupes/jdupes-1.23.0.ebuild new file mode 100644 index 000000000000..86270d6d71e7 --- /dev/null +++ b/app-misc/jdupes/jdupes-1.23.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Identify duplicate files on the filesystem" +HOMEPAGE="https://github.com/jbruchon/jdupes" +if [[ "${PV}" == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/jbruchon/jdupes.git" + inherit git-r3 +else + SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" + +DEPEND="dev-libs/libjodycode" +RDEPEND="${DEPEND}" + +IUSE="+dedupe lowmem hardened" + +# missing test.sh script +# https://github.com/jbruchon/jdupes/issues/191 +RESTRICT="test" + +src_prepare() { + sed -i -e '/PREFIX/s/=/?=/' Makefile || die + default +} + +src_compile() { + tc-export CC + local myconf=( + $(usex dedupe 'ENABLE_DEDUPE=1' '') + $(usex lowmem 'LOW_MEMORY=1' '') + $(usex hardened 'HARDEN=1' '') + ) + emake ${myconf[@]} +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + einstalldocs +} diff --git a/app-misc/jdupes/jdupes-9999.ebuild b/app-misc/jdupes/jdupes-9999.ebuild index a6b6e30cf675..86270d6d71e7 100644 --- a/app-misc/jdupes/jdupes-9999.ebuild +++ b/app-misc/jdupes/jdupes-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,6 +17,9 @@ fi LICENSE="MIT" SLOT="0" +DEPEND="dev-libs/libjodycode" +RDEPEND="${DEPEND}" + IUSE="+dedupe lowmem hardened" # missing test.sh script |