From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3DE61158089 for ; Wed, 11 Oct 2023 21:07:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E82772BC05B; Wed, 11 Oct 2023 21:07:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C575E2BC05B for ; Wed, 11 Oct 2023 21:07:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE27D335CD2 for ; Wed, 11 Oct 2023 21:07:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDFC510D4 for ; Wed, 11 Oct 2023 21:07:07 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1697058410.c340a6becd055c0a27c5aa4395f39bf66c3ebe6a.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/jdupes/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/jdupes/Manifest app-misc/jdupes/jdupes-1.27.3.ebuild X-VCS-Directories: app-misc/jdupes/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: c340a6becd055c0a27c5aa4395f39bf66c3ebe6a X-VCS-Branch: master Date: Wed, 11 Oct 2023 21:07:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bf479ad3-dc43-4499-b3e4-1fd2d3b8699c X-Archives-Hash: 8109e9ca33d3f01be24327a077002e69 commit: c340a6becd055c0a27c5aa4395f39bf66c3ebe6a Author: Jakov Smolić gentoo org> AuthorDate: Wed Oct 11 20:38:21 2023 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Wed Oct 11 21:06:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c340a6be app-misc/jdupes: add 1.27.3 Closes: https://bugs.gentoo.org/913245 Signed-off-by: Jakov Smolić gentoo.org> app-misc/jdupes/Manifest | 1 + app-misc/jdupes/jdupes-1.27.3.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest index 4093a3c07336..421534f72e18 100644 --- a/app-misc/jdupes/Manifest +++ b/app-misc/jdupes/Manifest @@ -1 +1,2 @@ DIST jdupes-1.26.1.tar.gz 168265 BLAKE2B e6c7a7d69a9a67d7550624ddd707a08a6a1a740c32fe1bc3534d53c20586b249303b6de23c0703033db497c3af85714b3e22fd87813c4700669880efa3cc376c SHA512 17ea87dee25a26aa136e3876031bfa47d55506adb38272b8cf2da8a81276134da0cf0b280815c8a717c0e48b911ce5efa95d1eb8dafe5ce109a1573600ae92bb +DIST jdupes-1.27.3.tar.gz 174831 BLAKE2B 0e6f2f6d4919b8bb94e18e56d92281f4b4cbf6dc903e642afd489df0132bed3b5f6a62c959fecfd394dd07220504dfb01a7f8744a7ad0a435256270e5e1bdcbb SHA512 634ce1d1efa4666c7cc968e99d8d8d7da5e80e6e0ed86a080088ab127b7ecc4cc5266305d8a5c3d9c524721a2adc99c700281aa3dba37efade3cc1b90df1544e diff --git a/app-misc/jdupes/jdupes-1.27.3.ebuild b/app-misc/jdupes/jdupes-1.27.3.ebuild new file mode 100644 index 000000000000..495262fe18ec --- /dev/null +++ b/app-misc/jdupes/jdupes-1.27.3.ebuild @@ -0,0 +1,48 @@ +# 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://codeberg.org/jbruchon/jdupes" +if [[ "${PV}" == *9999 ]] ; then + EGIT_REPO_URI="https://codeberg.org/jbruchon/jdupes.git" + inherit git-r3 +else + SRC_URI="https://codeberg.org/jbruchon/jdupes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" + +# Please keep a careful eye on the minimum libjoycode version! (Just pick +# latest released at the time if necessary.) +DEPEND=">=dev-libs/libjodycode-3.0" +RDEPEND="${DEPEND}" + +IUSE="+dedupe 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 hardened 'HARDEN=1' '') + ) + emake ${myconf[@]} +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + einstalldocs +}