From f118c83c1fed44606225f7fe340281150f320ece Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 24 Mar 2015 13:20:59 +0100 Subject: [PATCH] New package: gsound-1.0.1 --- common/shlibs | 1 + srcpkgs/gsound-devel | 1 + srcpkgs/gsound/template | 35 +++++++++++++++++++++++++++++++++++ srcpkgs/gsound/update | 2 ++ 4 files changed, 39 insertions(+) create mode 120000 srcpkgs/gsound-devel create mode 100644 srcpkgs/gsound/template create mode 100644 srcpkgs/gsound/update diff --git a/common/shlibs b/common/shlibs index 5c61bb528a..e2f1b4b18c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/gsound-devel b/srcpkgs/gsound-devel new file mode 120000 index 0000000000..91b104b384 --- /dev/null +++ b/srcpkgs/gsound-devel @@ -0,0 +1 @@ +gsound \ No newline at end of file diff --git a/srcpkgs/gsound/template b/srcpkgs/gsound/template new file mode 100644 index 0000000000..48c4a7f4e1 --- /dev/null +++ b/srcpkgs/gsound/template @@ -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 " +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 + } +} diff --git a/srcpkgs/gsound/update b/srcpkgs/gsound/update new file mode 100644 index 0000000000..a84fbbad8b --- /dev/null +++ b/srcpkgs/gsound/update @@ -0,0 +1,2 @@ +site="${GNOME_SITE}/$pkgname/cache.json" +ignore="3.*[13579].*"