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."
This commit is contained in:
classabbyamp 2023-10-20 19:02:33 -04:00
parent c4efbd251b
commit 29e17eb85d
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5
2 changed files with 26 additions and 1 deletions

View file

@ -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

View file

@ -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 <micvlas@gmail.com>"
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}
}