void-packages/srcpkgs/resynthesizer/template

25 lines
791 B
Bash

# Template file for 'resynthesizer'
pkgname=resynthesizer
version=2.0.3
revision=1
build_style=gnu-configure
hostmakedepends="automake intltool pkg-config"
makedepends="gimp-devel glib-devel gettext-devel"
depends="gimp-python"
short_desc="Suite of gimp plugins for texture healing and synthesis"
maintainer="CoolOhm <micvlas@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/bootchk/resynthesizer"
distfiles="https://github.com/bootchk/resynthesizer/archive/v${version}.tar.gz"
checksum=798678095c34b101c880eb350b31e9a6ff9748707d6ad9063cdee26c38016450
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}
}