diff options
Diffstat (limited to 'repo/media/libcanberra/libcanberra.xibuild')
-rw-r--r-- | repo/media/libcanberra/libcanberra.xibuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/media/libcanberra/libcanberra.xibuild b/repo/media/libcanberra/libcanberra.xibuild new file mode 100644 index 0000000..de9ec80 --- /dev/null +++ b/repo/media/libcanberra/libcanberra.xibuild @@ -0,0 +1,29 @@ +#!/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 +} + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static \ + --disable-oss + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |