From 29e17eb85d1985a107ae4850c91e26e40de41e80 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Fri, 20 Oct 2023 19:02:33 -0400 Subject: [PATCH] resynthesizer: restore, switch to non-python2 fork temporarily This fork is blessed by the original upstream: https://github.com/bootchk/resynthesizer/blob/resynthesizer3/README.md "If you want plugins for Gimp 2 that don't require Python 2, see itr-tert/gimp-resynthesizer-scm repo." --- srcpkgs/removed-packages/template | 1 - srcpkgs/resynthesizer/template | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/resynthesizer/template diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index ad5cff271c9..9caca233398 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -638,7 +638,6 @@ replaces=" rem<=2.10.0_1 rem-devel<=2.10.0_1 reminiscence<=0.4.6_1 - resynthesizer<=2.0.3_1 rkt-stage1-coreos<=1.30.0_3 rkt-stage1-fly<=1.30.0_3 rkt<=1.30.0_3 diff --git a/srcpkgs/resynthesizer/template b/srcpkgs/resynthesizer/template new file mode 100644 index 00000000000..2029ef094ae --- /dev/null +++ b/srcpkgs/resynthesizer/template @@ -0,0 +1,26 @@ +# Template file for 'resynthesizer' +pkgname=resynthesizer +version=2.0.3+1 +revision=1 +_commit=701e890d1d456e215e05daa7b4a88f5d9c6c03b3 +build_style=gnu-configure +hostmakedepends="automake intltool pkg-config" +makedepends="gimp-devel glib-devel gettext-devel" +short_desc="Suite of gimp plugins for texture healing and synthesis" +maintainer="CoolOhm " +license="GPL-2.0-or-later" +# FIXME: when gimp 3 is available, switch back to bootchk upstream +#homepage="https://github.com/bootchk/resynthesizer" +#distfiles="https://github.com/bootchk/resynthesizer/archive/refs/tags/v${version}.tar.gz" +homepage="https://github.com/itr-tert/gimp-resynthesizer-scm" +distfiles="https://github.com/itr-tert/gimp-resynthesizer-scm/archive/${_commit}.tar.gz" +checksum=298286386466fbd6d2da06f8a920c6e6e313db7ca0a094a36a355978a64cefc0 + +if [ "$CROSS_BUILD" ];then + hostmakedepends+=" glib-devel gettext-devel" + AUTOGEN_CONFIGURE_ARGS+=" --host=${XBPS_MACHINE} --build=${XBPS_CROSS_TRIPLET}" +fi + +pre_configure() { + ./autogen.sh ${AUTOGEN_CONFIGURE_ARGS} +}