mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
gsound: separate gir build_option into gir and vala.
This commit is contained in:
parent
7f4af3da4a
commit
56cd12a53d
1 changed files with 10 additions and 8 deletions
|
@ -1,22 +1,22 @@
|
||||||
# Template file for 'gsound'
|
# Template file for 'gsound'
|
||||||
pkgname=gsound
|
pkgname=gsound
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_if gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')
|
configure_args="$(vopt_enable gir introspection) $(vopt_enable vala)"
|
||||||
--disable-schemas-compile --enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir 'gobject-introspection')
|
||||||
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
|
$(vopt_if vala 'vala-devel')"
|
||||||
makedepends="libcanberra-devel"
|
makedepends="libcanberra-devel"
|
||||||
short_desc="Small library for playing system sounds"
|
short_desc="Small library for playing system sounds"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="http://www.gnome.org/"
|
homepage="https://wiki.gnome.org/Projects/GSound"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53
|
checksum=bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53
|
||||||
build_options="gir"
|
|
||||||
|
|
||||||
|
build_options="gir vala"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir vala"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gsound-devel_package() {
|
gsound-devel_package() {
|
||||||
|
@ -29,6 +29,8 @@ gsound-devel_package() {
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove usr/share/gir-1.0
|
vmove usr/share/gir-1.0
|
||||||
|
fi
|
||||||
|
if [ "$build_option_vala" ]; then
|
||||||
vmove usr/share/vala
|
vmove usr/share/vala
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue