commit:     ff47f40f790b6c82e7a5884dd3cb121d8930fd27
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  3 05:20:09 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb  3 05:21:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff47f40f

sys-fs/duperemove: Bump to 0.15

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-fs/duperemove/Manifest               |  1 +
 sys-fs/duperemove/duperemove-0.15.ebuild | 46 ++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/sys-fs/duperemove/Manifest b/sys-fs/duperemove/Manifest
index 36168fc8f9ef..c1cfb6c6d4eb 100644
--- a/sys-fs/duperemove/Manifest
+++ b/sys-fs/duperemove/Manifest
@@ -1 +1,2 @@
 DIST duperemove-0.14.1.gh.new.tar.gz 167968 BLAKE2B 
74d5ed6c452a24103d9ca0050ee1d1fdbb4eb4df5c2e86f84e6a1c70abf54d2caf27597d2088a5130d696bebaf07f93dd5f47e9c414af9ce3d19f096b872a02a
 SHA512 
16af9fb002d6e51ce469869507d5d4b8f9576620746337252ad733e6f74ae275c1e83da6af1c203543b9d19890180952d87f9fad4a02d4c4e0a25577ce569191
+DIST duperemove-0.15.gh.tar.gz 119848 BLAKE2B 
4b0455b34e3e5c1d002a39ade1b8abcd8a04b50ae7178b575218735e5529c0639f852dd433db1863c31fe14089e01bbc69fb202687d8a691c5a1f4de6f6b499a
 SHA512 
e6d6e658c0175e74d706f9d4cbbeaa7bcad1b554eb60805415a948af63c78b6982cea6be6d48c15ddf14595a5b061d7794014eb1e8b71fab2041fc57e676c881

diff --git a/sys-fs/duperemove/duperemove-0.15.ebuild 
b/sys-fs/duperemove/duperemove-0.15.ebuild
new file mode 100644
index 000000000000..0858fbf474bb
--- /dev/null
+++ b/sys-fs/duperemove/duperemove-0.15.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Btrfs and xfs deduplication utility"
+HOMEPAGE="https://github.com/markfasheh/duperemove/";
+SRC_URI="
+       https://github.com/markfasheh/duperemove/archive/v${PV/_/.}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+S=${WORKDIR}/${P/_/.}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND="
+       dev-db/sqlite:3
+       dev-libs/glib:2
+       sys-apps/util-linux:=
+"
+DEPEND="
+       ${RDEPEND}
+       dev-libs/libbsd
+"
+
+mymake() {
+       # note: CFLAGS has some upstream flags, sigh
+       emake VERSION="${PV}" IS_RELEASE=1 CFLAGS="${CFLAGS} -Wall -std=c23 
-MMD" "${@}"
+}
+
+src_compile() {
+       tc-export CC PKG_CONFIG
+       mymake
+}
+
+src_test() {
+       mymake test
+}
+
+src_install() {
+       mymake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}

Reply via email to