librsvg: enable vala bindings
This commit is contained in:
parent
3869edbde8
commit
757415a2ab
1 changed files with 8 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template build file for 'librsvg'.
|
# Template build file for 'librsvg'.
|
||||||
pkgname=librsvg
|
pkgname=librsvg
|
||||||
version=2.40.20
|
version=2.40.20
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static $(vopt_enable gir introspection)"
|
configure_args="--disable-static $(vopt_enable gir introspection) $(vopt_enable vala)"
|
||||||
hostmakedepends="automake libtool pkg-config intltool python glib-devel
|
hostmakedepends="automake libtool pkg-config intltool python glib-devel
|
||||||
gdk-pixbuf-devel gobject-introspection"
|
gdk-pixbuf-devel gobject-introspection $(vopt_if vala vala-devel)"
|
||||||
makedepends="libcroco-devel pango-devel gdk-pixbuf-devel"
|
makedepends="libcroco-devel pango-devel gdk-pixbuf-devel"
|
||||||
triggers="gtk-pixbuf-loaders"
|
triggers="gtk-pixbuf-loaders"
|
||||||
short_desc="SVG library for GNOME"
|
short_desc="SVG library for GNOME"
|
||||||
|
@ -16,11 +16,11 @@ distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||||
checksum=cff4dd3c3b78bfe99d8fcfad3b8ba1eee3289a0823c0e118d78106be6b84c92b
|
checksum=cff4dd3c3b78bfe99d8fcfad3b8ba1eee3289a0823c0e118d78106be6b84c92b
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir vala"
|
||||||
|
|
||||||
# Disable gir for cross builds.
|
# Disable gir for cross builds.
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="vala gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
@ -43,6 +43,9 @@ librsvg-devel_package() {
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove usr/share/gir-1.0
|
vmove usr/share/gir-1.0
|
||||||
fi
|
fi
|
||||||
|
if [ "$build_options_vala" ]; then
|
||||||
|
vmove usr/share/vala
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
librsvg-utils_package() {
|
librsvg-utils_package() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue