New package: gsound-1.0.1

This commit is contained in:
Enno Boland 2015-03-24 13:20:59 +01:00 committed by Enno Boland
parent 020a23f222
commit f118c83c1f
4 changed files with 39 additions and 0 deletions

View file

@ -2055,3 +2055,4 @@ libopenraw.so.1 libopenraw-0.0.9_1
libopenrawgnome.so.1 libopenraw-0.0.9_1
libgeda.so.42 geda-1.8.2_1
libclutter-gst-3.0.so.0 clutter-gst3-3.0.4_1
libgsound.so.0 gsound-1.0.1_1

1
srcpkgs/gsound-devel Symbolic link
View file

@ -0,0 +1 @@
gsound

35
srcpkgs/gsound/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'gsound'
pkgname=gsound
version=1.0.1
revision=1
build_style=gnu-configure
build_options="gir"
configure_args="$(vopt_enable gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')
--disable-schemas-compile --enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
makedepends="libcanberra-devel"
short_desc="Small library for playing system sounds"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL-2.1"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=ea0dd94429c0645f2f98824274ef04543fe459dd83a5449a68910acc3ba67f29
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
gsound-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala
fi
}
}

2
srcpkgs/gsound/update Normal file
View file

@ -0,0 +1,2 @@
site="${GNOME_SITE}/$pkgname/cache.json"
ignore="3.*[13579].*"