27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
# 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%-musl} --build=${XBPS_CROSS_TRIPLET}"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./autogen.sh ${AUTOGEN_CONFIGURE_ARGS}
|
|
}
|