summaryrefslogtreecommitdiff
path: root/repo/libcanberra/libcanberra.xibuild
blob: 40e5c1699cba16a4124769f463c6e239e1361438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh

NAME="libcanberra"
DESC="Simple audio library for GTK applications"

MAKEDEPS="alsa-lib eudev gtk2 gtk3 libogg libtool libvorbis pulseaudio"

PKG_VER=0.30
SOURCE="https://dev.alpinelinux.org/archive/libcanberra/libcanberra-$PKG_VER.tar.xz"

ADDITIONAL="
dont-assume-all-GdkDisplays-are-GdkX11Displays.patch
fix-build-with-no-lynx-installed.patch
"

prepare() {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-oss
	make
}

package() {
	make -j1 DESTDIR="$PKG_DEST" install
}