From 715472f68d61960197284fa5598d8db771928ae1 Mon Sep 17 00:00:00 2001 From: J Farkas Date: Mon, 19 Jul 2021 21:26:12 +0000 Subject: [PATCH 1/2] jdupes: ensure dedup functionality is enabled CFLAGS set from the command line overrides the logic to enable the dedup functionality --- srcpkgs/jdupes/template | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/srcpkgs/jdupes/template b/srcpkgs/jdupes/template index c17c92154840..8cf1948cd027 100644 --- a/srcpkgs/jdupes/template +++ b/srcpkgs/jdupes/template @@ -12,6 +12,15 @@ changelog="https://raw.githubusercontent.com/jbruchon/jdupes/master/CHANGES" distfiles="https://github.com/jbruchon/jdupes/archive/v${version}.tar.gz" checksum=bb7c53cd463ab5e21da85948c4662a3b7ac9b038ae993cc14ccf793d2472e2e9 +pre_build() { + sed -i 's/^CFLAGS +=/override CFLAGS +=/g' Makefile + sed -i 's/^LDFLAGS =/override LDFLAGS +=/g' Makefile +} + post_install() { vlicense LICENSE } + +do_check () { + ./jdupes -V|grep fsdedup +} From b7786ee70738de304c4642b34e9da0914cf1a693 Mon Sep 17 00:00:00 2001 From: J Farkas Date: Mon, 19 Jul 2021 21:27:49 +0000 Subject: [PATCH 2/2] jdupes: update to 1.20.0 --- srcpkgs/jdupes/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/jdupes/template b/srcpkgs/jdupes/template index 8cf1948cd027..7763cab19331 100644 --- a/srcpkgs/jdupes/template +++ b/srcpkgs/jdupes/template @@ -1,6 +1,6 @@ # Template file for 'jdupes' pkgname=jdupes -version=1.19.1 +version=1.20.0 revision=1 build_style=gnu-makefile make_build_args="ENABLE_BTRFS=1" @@ -10,7 +10,7 @@ license="MIT" homepage="https://github.com/jbruchon/jdupes" changelog="https://raw.githubusercontent.com/jbruchon/jdupes/master/CHANGES" distfiles="https://github.com/jbruchon/jdupes/archive/v${version}.tar.gz" -checksum=bb7c53cd463ab5e21da85948c4662a3b7ac9b038ae993cc14ccf793d2472e2e9 +checksum=c1f728961ad8aeb074e5767367639e6b418f0ca572f70f7635655da722f1827e pre_build() { sed -i 's/^CFLAGS +=/override CFLAGS +=/g' Makefile