summaryrefslogtreecommitdiff
path: root/repo/media/libcanberra/libcanberra.xibuild
blob: de9ec8019de982899dc34f3e6240d21c6ff4bfe4 (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
#!/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
}