1
0
forked from ports/contrib
Predrag Ivanović 6cddf515d7 libcanberra: Explicitly enable audio backends
Add gstreamer and tdb as optional dependencies.
Remove obsolete configure switch.
2018-02-24 14:56:35 +01:00

32 lines
963 B
Plaintext

# Description: A small and lightweight implementation of the XDG Sound Theme Specification
# URL: http://0pointer.de/lennart/projects/libcanberra
# Maintainer: Pedja, predivan at mts dot rs
# Depends on: gtk gtk3 pulseaudio libvorbis
# Optional: gstreamer tdb
name=libcanberra
version=0.30
release=2
source=(http://0pointer.de/lennart/projects/libcanberra/libcanberra-$version.tar.xz
libcanberra-broadway-fix.patch
libcanberra-multi-backend.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/libcanberra-broadway-fix.patch
patch -p1 -i $SRC/libcanberra-multi-backend.patch
./configure --prefix=/usr \
--enable-alsa \
--enable-pulse \
--disable-oss \
--disable-static \
--with-builtin=dso \
--with-pic
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/{doc,gtk-doc,gnome,gdm}
rm -r $PKG/usr/lib/gnome-settings-daemon*
}