commit:     f37cb27ccbddd31f109c99b927c44bfc54498c9a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu May 22 18:04:21 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu May 22 18:44:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37cb27c

app-misc/fdupes: add 2.4.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-misc/fdupes/Manifest            |  1 +
 app-misc/fdupes/fdupes-2.4.0.ebuild | 38 +++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/app-misc/fdupes/Manifest b/app-misc/fdupes/Manifest
index 64ad6857dde3..8d6b1cd7a94a 100644
--- a/app-misc/fdupes/Manifest
+++ b/app-misc/fdupes/Manifest
@@ -1 +1,2 @@
 DIST fdupes-2.3.2.tar.gz 155115 BLAKE2B 
3b5d96731636b7ebba84542ef6f5a68d990b80597599cd401cd3359da1622b444c3870b371e54c2379a92cb39490bb8a1e16ce33c81c91ca536ec8d66adf37d1
 SHA512 
50a3e046a1261566aa325a855a65e1f1f2ac040f44751cbf635e36a1dcfc8618da843da05a8f0f48d155617b1d70eef1361fb3b5add429ae369395c91f284aec
+DIST fdupes-2.4.0.tar.gz 155792 BLAKE2B 
0bfd5444648f5a5b1bdb2e351942dc2a65889bcb2fde5814a59a3e7d1d2ab4de537418230de45093bd9e30d144c635ad8e6853116046f89462a218ffd5da8ca1
 SHA512 
a33548d0e0ef9df1961dfcdeea79113896b3e4ffb38c369f05f80783815c82c51eb22d7b964a889757fcbed4873ecb53df6e8c1a7d867028b7664484aebe78f1

diff --git a/app-misc/fdupes/fdupes-2.4.0.ebuild 
b/app-misc/fdupes/fdupes-2.4.0.ebuild
new file mode 100644
index 000000000000..2add0981911d
--- /dev/null
+++ b/app-misc/fdupes/fdupes-2.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Identify/delete duplicate files residing within specified 
directories"
+HOMEPAGE="https://github.com/adrianlopezroche/fdupes";
+if [[ ${PV} == *9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/adrianlopezroche/fdupes.git";
+       inherit autotools git-r3
+else
+       
SRC_URI="https://github.com/adrianlopezroche/${PN}/releases/download/v${PV}/${P}.tar.gz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="+ncurses sqlite"
+
+RDEPEND="
+       dev-libs/libpcre2:=[pcre32]
+       ncurses? ( sys-libs/ncurses:= )
+       sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( CHANGES CONTRIBUTORS README )
+
+src_prepare() {
+       default
+
+       [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_configure() {
+       econf $(use_with ncurses) $(use_with sqlite)
+}

Reply via email to