mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
gdl: enable gir
This commit is contained in:
parent
ece893c63c
commit
4bc7579a2a
1 changed files with 8 additions and 6 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'gdl'
|
# Template file for 'gdl'
|
||||||
pkgname=gdl
|
pkgname=gdl
|
||||||
version=3.28.0
|
version=3.28.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper="gir"
|
||||||
configure_args="$(vopt_enable gir introspection)"
|
configure_args="$(vopt_enable gir introspection)"
|
||||||
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
hostmakedepends="pkg-config intltool glib-devel"
|
||||||
makedepends="libxml2-devel gtk+3-devel"
|
makedepends="libxml2-devel gtk+3-devel"
|
||||||
short_desc="GNOME Docking Library"
|
short_desc="GNOME Docking Library"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
@ -16,10 +17,11 @@ checksum=52cc98ecc105148467b3b2b4e0d27ae484b1b6710d53413f771ed07ef1b737b6
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
|
|
||||||
# Disable gir for cross builds.
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
build_options_default="gir"
|
*-musl) ;;
|
||||||
fi
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed 's,-I$(includedir),,g' -i gdl/Makefile
|
sed 's,-I$(includedir),,g' -i gdl/Makefile
|
||||||
|
|
Loading…
Add table
Reference in a new issue