mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
librsvg: fix cross build
$XBPS_TARGET_MACHINE is empty when configure_args are expanded. The --host is set by the build style for cross builds anyway. Also remove the vala and gir build options and always build the introspection and vala interface files. Closes: #28234
This commit is contained in:
parent
1c6da7acca
commit
9e9a2c561d
1 changed files with 3 additions and 9 deletions
|
@ -5,12 +5,10 @@ version=2.48.8
|
|||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--disable-static --host=${XBPS_TARGET_TRIPLET}
|
||||
$(vopt_enable gir introspection) $(vopt_enable vala)"
|
||||
hostmakedepends="cargo pkg-config python glib-devel
|
||||
gdk-pixbuf-devel $(vopt_if vala vala)"
|
||||
configure_args="--disable-static --enable-introspection --enable-vala"
|
||||
hostmakedepends="cargo pkg-config python glib-devel gdk-pixbuf-devel vala"
|
||||
makedepends="cairo-devel freetype-devel gdk-pixbuf-devel libcroco-devel
|
||||
libglib-devel libxml2-devel pango-devel rust $(vopt_if vala vala)"
|
||||
libglib-devel libxml2-devel pango-devel rust vala"
|
||||
short_desc="SVG library for GNOME"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||
|
@ -18,10 +16,6 @@ homepage="https://wiki.gnome.org/Projects/LibRsvg"
|
|||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=f480a325bbdf26d1874eb6fb330ebc5920ba64e3e08de61931bb4506dfef2692
|
||||
|
||||
# Package build options
|
||||
build_options="gir vala"
|
||||
build_options_default="gir vala"
|
||||
|
||||
do_check() {
|
||||
# reference files are for pango 1.44.x, we're on 1.42.x
|
||||
:
|
||||
|
|
Loading…
Add table
Reference in a new issue