From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libcanberra/libcanberra.xibuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 repo/libcanberra/libcanberra.xibuild (limited to 'repo/libcanberra/libcanberra.xibuild') 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 +} -- cgit v1.2.1