tepl: enable gir

This commit is contained in:
maxice8 2019-02-04 14:57:25 -02:00 committed by maxice8
parent 7dc4ee87cf
commit 5bc99ff629
1 changed files with 9 additions and 5 deletions

View File

@ -1,10 +1,11 @@
# Template file for 'tepl'
pkgname=tepl
version=4.2.0
revision=1
revision=2
build_style=gnu-configure
build_helper="gir"
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="glib-devel pkg-config $(vopt_if gir gobject-introspection)"
hostmakedepends="glib-devel pkg-config"
makedepends="amtk-devel libglib-devel gtksourceview4-devel gtk+3-devel
libxml2-devel uchardet-devel"
short_desc="Text editor product line"
@ -15,9 +16,12 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8839d4428ecdd87fd5abc657ebbe5a9601a57262e9946845e47dec264e669ccd
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
do_check() {
# Need X