forked from ports/compat-32
36 lines
1016 B
Plaintext
36 lines
1016 B
Plaintext
# Description: A small and lightweight implementation of the XDG Sound Theme Specification
|
|
# URL: http://0pointer.de/lennart/projects/libcanberra
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: alsa-lib-32 gtk-32 libcanberra libtool-32 libvorbis-32 xorg-libxdamage-32
|
|
# Optional: pulseaudio-32
|
|
|
|
name=libcanberra-32
|
|
version=0.30
|
|
release=1
|
|
source=(
|
|
# https broken, cert is ok server does not dish out file over https
|
|
#https://0pointer.de/lennart/projects/libcanberra/libcanberra-$version.tar.xz
|
|
http://0pointer.de/lennart/projects/libcanberra/libcanberra-$version.tar.xz
|
|
libcanberra-broadway-fix.patch
|
|
libcanberra-multi-backend.patch)
|
|
|
|
build() {
|
|
cd ${name:0:11}-$version
|
|
|
|
patch -p1 -i $SRC/libcanberra-broadway-fix.patch
|
|
patch -p1 -i $SRC/libcanberra-multi-backend.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--enable-alsa \
|
|
--disable-oss \
|
|
--with-builtin=dso \
|
|
--with-pic
|
|
|
|
make
|
|
make -j1 DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{bin,share,include}
|
|
}
|