gsound: update to 1.0.3.
This commit is contained in:
parent
1846e70087
commit
c03396d77c
1 changed files with 16 additions and 9 deletions
|
@ -1,21 +1,27 @@
|
|||
# Template file for 'gsound'
|
||||
pkgname=gsound
|
||||
version=1.0.2
|
||||
revision=6
|
||||
version=1.0.3
|
||||
revision=1
|
||||
build_helper="gir"
|
||||
build_style=gnu-configure
|
||||
configure_args="$(vopt_enable gir introspection) $(vopt_enable vala)"
|
||||
hostmakedepends="pkg-config intltool glib-devel $(vopt_if vala 'vala')"
|
||||
build_style=meson
|
||||
configure_args="-Dintrospection=$(vopt_if gir true false)
|
||||
-Denable_vala=$(vopt_if vala true false)
|
||||
-Dgtk_doc=$(vopt_if gtk_doc true false)"
|
||||
hostmakedepends="pkg-config intltool glib-devel $(vopt_if vala 'vala')
|
||||
$(vopt_if gtk_doc gtk-doc)"
|
||||
makedepends="libcanberra-devel vala"
|
||||
short_desc="Small library for playing system sounds"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://wiki.gnome.org/Projects/GSound"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53
|
||||
checksum=ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a
|
||||
|
||||
build_options="gir vala"
|
||||
build_options="gir vala gtk_doc"
|
||||
build_options_default="gir vala"
|
||||
if [ ! "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gtk_doc"
|
||||
fi
|
||||
|
||||
gsound-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
|
@ -23,9 +29,10 @@ gsound-devel_package() {
|
|||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gtk-doc
|
||||
if [ "$build_option_gtk_doc" ]; then
|
||||
vmove usr/share/gtk-doc
|
||||
fi
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue