mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 23:12:57 +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'
|
||||
pkgname=gdl
|
||||
version=3.28.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
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"
|
||||
short_desc="GNOME Docking Library"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
|
@ -16,10 +17,11 @@ checksum=52cc98ecc105148467b3b2b4e0d27ae484b1b6710d53413f771ed07ef1b737b6
|
|||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
# Disable gir for cross builds.
|
||||
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
|
||||
|
||||
pre_build() {
|
||||
sed 's,-I$(includedir),,g' -i gdl/Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue