summaryrefslogtreecommitdiff
path: root/app-misc/jdupes
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /app-misc/jdupes
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'app-misc/jdupes')
-rw-r--r--app-misc/jdupes/Manifest6
-rw-r--r--app-misc/jdupes/jdupes-1.20.2-r1.ebuild (renamed from app-misc/jdupes/jdupes-1.20.2.ebuild)9
-rw-r--r--app-misc/jdupes/jdupes-9999.ebuild9
-rw-r--r--app-misc/jdupes/metadata.xml4
4 files changed, 23 insertions, 5 deletions
diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
index c097071c7ec1..123940f901a2 100644
--- a/app-misc/jdupes/Manifest
+++ b/app-misc/jdupes/Manifest
@@ -1,4 +1,4 @@
DIST jdupes-1.20.2.tar.gz 94319 BLAKE2B 1c24c0e4176b2be56c4d1a7a780a7f2aaa080d5527ef2e96febd230ea18abe016fca2769e3c72d1b2a295fa663ff69f8dc531d3f728ac00858d5f7d4ff6949bd SHA512 21deb839d4f7e072ce08bacc6b595ac9ccd4ac6fac538d0aab69a4c12ac3d3bb5c98cd03eab9415e991ec9cdfaec7548656470e85c148528f4890b21f7223714
-EBUILD jdupes-1.20.2.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
-EBUILD jdupes-9999.ebuild 776 BLAKE2B 48fe263aa0ced74f6b506af656ec2e4f23b08f67d84374af444749dc113004f11acdadc41dd23f38b709ed351eabcd16918902046cd264e0c1402f2efb481914 SHA512 b19b6acc2bd9b1c888a636b48a4ad6c9dde4889771460823e4e916489a973f18686e03b421c68b33ef9e61f0da96b24d80c9358041ca9685dea2fa66c5abd814
-MISC metadata.xml 605 BLAKE2B 219a59a62d8cfb8aed4031c00c3455ef566efb07ce257d1f115f06aef2d426c243ce55bea65e1f21c308f523b798573b81eac9d944ec2fddf8bfd0f3164bf025 SHA512 216ec6532eab304cef36cd8d999347700f0b36582f1653edea1669a96daa2c0054a05290cfbf04b7a1b28f82f9c379d5db1ec7021cf50c08f54e36e999c98edd
+EBUILD jdupes-1.20.2-r1.ebuild 944 BLAKE2B 06d1094d3bfd38ee9f3934f91ddddefe98278f51ded8b3c92fb63618df90d36839c1a7bea9fe62d41696c45230ca2f10d6de8742a43653f99a69c5fbb18b404a SHA512 3f0b7111b5957240b1e88161dda19f3b84f54a4f8d4b47c8bb7e6dfde28cadc2bf64a07a84c38600945b8ea060312db8c071155e27227490964d03e28f142442
+EBUILD jdupes-9999.ebuild 944 BLAKE2B 06d1094d3bfd38ee9f3934f91ddddefe98278f51ded8b3c92fb63618df90d36839c1a7bea9fe62d41696c45230ca2f10d6de8742a43653f99a69c5fbb18b404a SHA512 3f0b7111b5957240b1e88161dda19f3b84f54a4f8d4b47c8bb7e6dfde28cadc2bf64a07a84c38600945b8ea060312db8c071155e27227490964d03e28f142442
+MISC metadata.xml 747 BLAKE2B 42d38d80659c7cdf04f27776db41e09eb3f03617a4b795a9715f29fb0d982b0d5c0d469126848984e09ab598c7e0420ff70781f66fa40145cac93615aa42e640 SHA512 683dfe19b16f418965ad58f01248347746eca87d392728bcf197ebdb55a2c83a5bc70de50d8dd5f3f396abffd11e19616da4f414a8f0f4289394b244d9c4c139
diff --git a/app-misc/jdupes/jdupes-1.20.2.ebuild b/app-misc/jdupes/jdupes-1.20.2-r1.ebuild
index 681f1d0f1493..a6b6e30cf675 100644
--- a/app-misc/jdupes/jdupes-1.20.2.ebuild
+++ b/app-misc/jdupes/jdupes-1.20.2-r1.ebuild
@@ -17,6 +17,8 @@ fi
LICENSE="MIT"
SLOT="0"
+IUSE="+dedupe lowmem hardened"
+
# missing test.sh script
# https://github.com/jbruchon/jdupes/issues/191
RESTRICT="test"
@@ -28,7 +30,12 @@ src_prepare() {
src_compile() {
tc-export CC
- default
+ local myconf=(
+ $(usex dedupe 'ENABLE_DEDUPE=1' '')
+ $(usex lowmem 'LOW_MEMORY=1' '')
+ $(usex hardened 'HARDEN=1' '')
+ )
+ emake ${myconf[@]}
}
src_install() {
diff --git a/app-misc/jdupes/jdupes-9999.ebuild b/app-misc/jdupes/jdupes-9999.ebuild
index 681f1d0f1493..a6b6e30cf675 100644
--- a/app-misc/jdupes/jdupes-9999.ebuild
+++ b/app-misc/jdupes/jdupes-9999.ebuild
@@ -17,6 +17,8 @@ fi
LICENSE="MIT"
SLOT="0"
+IUSE="+dedupe lowmem hardened"
+
# missing test.sh script
# https://github.com/jbruchon/jdupes/issues/191
RESTRICT="test"
@@ -28,7 +30,12 @@ src_prepare() {
src_compile() {
tc-export CC
- default
+ local myconf=(
+ $(usex dedupe 'ENABLE_DEDUPE=1' '')
+ $(usex lowmem 'LOW_MEMORY=1' '')
+ $(usex hardened 'HARDEN=1' '')
+ )
+ emake ${myconf[@]}
}
src_install() {
diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml
index a710c4ca4077..5079763f7636 100644
--- a/app-misc/jdupes/metadata.xml
+++ b/app-misc/jdupes/metadata.xml
@@ -13,6 +13,10 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <use>
+ <flag name="dedupe">Enable deduplication support</flag>
+ <flag name="lowmem">Enable support for low-memory operation</flag>
+ </use>
<upstream>
<remote-id type="github">jbruchon/jdupes</remote-id>
</upstream>