From 88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 22 Feb 2022 17:16:33 +0000 Subject: added audio and media libraries --- repo/media/audiofile.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/media/audiofile.xibuild (limited to 'repo/media/audiofile.xibuild') diff --git a/repo/media/audiofile.xibuild b/repo/media/audiofile.xibuild new file mode 100644 index 0000000..be18656 --- /dev/null +++ b/repo/media/audiofile.xibuild @@ -0,0 +1,29 @@ +#!/bin/bash + +MAKEDEPS=(make asciidoc) +DEPS=(alsa-lib flac) + +DESC="Libraries to support basic sound file formats" + +PKG_VER=0.3.6 +SOURCE=https://download.gnome.org/sources/audiofile/${PKG_VER%.*}/audiofile-$PKG_VER.tar.xz + +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/blfs/svn/audiofile-$PKG_VER-consolidated_patches-1.patch + ) + +prepare () { + patch -Np1 -i audiofile-$PKG_VER-consolidated_patches-1.patch && +} + +build () { + autoreconf -fiv && + + ./configure --prefix=/usr --disable-static && + + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1