blob: 6d19070b7856f2327f437e43e7d5ca68b7a0be1e (
plain)
1 # Description: A small and lightweight implementation of the XDG Sound Theme Specification
2 # URL: http://0pointer.de/lennart/projects/libcanberra
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: alsa-lib gtk gtk3 libvorbis
5 # Optional: gstreamer pulseaudio tdb
6
7 name=libcanberra
8 version=0.30
9 release=3
10 source=(http://0pointer.de/lennart/projects/libcanberra/libcanberra-$version.tar.xz
11 libcanberra-broadway-fix.patch libcanberra-multi-backend.patch)
12
13 build() {
14 cd $name-$version
15 patch -p1 -i $SRC/libcanberra-broadway-fix.patch
16 patch -p1 -i $SRC/libcanberra-multi-backend.patch
17
18 ./configure --prefix=/usr \
19 --enable-alsa \
20 --disable-oss \
21 --disable-static \
22 --with-builtin=dso \
23 --with-pic
24 make
25 make -j1 DESTDIR=$PKG install
26
27 rm -r $PKG/usr/share/{doc,gtk-doc,gnome,gdm}
28 rm -r $PKG/usr/lib/gnome-settings-daemon*
29 }
|