diff options
Diffstat (limited to 'repo/libcanberra/libcanberra.xibuild')
-rw-r--r-- | repo/libcanberra/libcanberra.xibuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/repo/libcanberra/libcanberra.xibuild b/repo/libcanberra/libcanberra.xibuild new file mode 100644 index 0000000..7ae4a6b --- /dev/null +++ b/repo/libcanberra/libcanberra.xibuild @@ -0,0 +1,33 @@ +#!/bin/sh + +NAME="libcanberra" +DESC="Simple audio library for GTK applications" + +MAKEDEPS="make " +DEPS="eudev libvorbis musl libtool " + +PKG_VER=0.30 +SOURCE="https://dev.alpinelinux.org/archive/libcanberra/libcanberra-$PKG_VER.tar.xz" +ADDITIONAL="fix-build-with-no-lynx-installed.patch dont-assume-all-GdkDisplays-are-GdkX11Displays.patch " + +prepare () { + apply_patches + autoreconf -if +} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --enable-alsa \ + --enable-null \ + --disable-lynx \ + --disable-oss \ + --with-builtin=dso + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |