From b994240a120452e5b5e6f4ec736dcbd7333f5406 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 16 Feb 2014 09:05:03 +0100 Subject: [PATCH] libcanberra: cross build support. --- srcpkgs/libcanberra/template | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template index 501242a8c76..39023e7533c 100644 --- a/srcpkgs/libcanberra/template +++ b/srcpkgs/libcanberra/template @@ -1,12 +1,14 @@ # Template build file for 'libcanberra'. pkgname=libcanberra version=0.30 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-alsa --enable-null --enable-gstreamer --disable-oss --with-builtin=dso --disable-lynx --with-systemdsystemunitdir=/usr/lib/systemd/system" -makedepends="pkg-config gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel +hostmakedepends="libtool pkg-config intltool" +makedepends=" + gtk+-devel gtk+3-devel libvorbis-devel libltdl-devel gstreamer1-devel alsa-lib-devel tdb-devel pulseaudio-devel libudev-devel>=183 vala-devel" short_desc="XDG Sound Theme and Name Specification library implementation" @@ -15,24 +17,18 @@ homepage="http://0pointer.de/lennart/projects/libcanberra/" license="LGPL-2.1" distfiles="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$version.tar.xz" checksum=c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 -long_desc=" - libcanberra is an implementation of the XDG Sound Theme and Name - Specifications, for generating event sounds on free desktops, such as - GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) - and is designed to be portable. It consists of the following parts: - 1. libcanberra: the main library - 2. libcanberra-gtk: some glue code to make it easier to use libcanberra - from Gtk+ applications - 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to - trigger input feedback event sounds" +pre_configure() { + libtoolize -f +} libcanberra-devel_package() { - depends="gtk+-devel gtk+3-devel ${sourcepkg}-${version}_${revision}" + depends="gtk+-devel gtk+3-devel ${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 vmove usr/share/vala }