diff options
author | davidovski <david@davidovski.xyz> | 2022-02-22 17:16:33 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-22 17:16:33 +0000 |
commit | 88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f (patch) | |
tree | 5b7d4feafc06fbb114a5f0bb20f3a630bbf15813 /repo/media/flac.xibuild | |
parent | 776eb1009737d85653861985965295d8e9c485d2 (diff) |
added audio and media libraries
Diffstat (limited to 'repo/media/flac.xibuild')
-rw-r--r-- | repo/media/flac.xibuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/media/flac.xibuild b/repo/media/flac.xibuild new file mode 100644 index 0000000..82ad486 --- /dev/null +++ b/repo/media/flac.xibuild @@ -0,0 +1,28 @@ +#!/bin/bash + +MAKEDEPS=(make xmlto) +DEPS=(libogg nasm) + +DESC="Free Lossless Audio Codec" + +PKG_VER=1.3.3 +SOURCE=https://downloads.xiph.org/releases/flac/flac-$PKG_VER.tar.xz + +ADDITIONAL=( + https://www.linuxfromscratch.org/patches/blfs/svn/flac-$PKG_VER-security_fixes-1.patch + ) + +prepare () { + patch -Np1 -i flac-$PKG_VER-security_fixes-1.patch +} + +build () { + ./configure --prefix=/usr \ + --disable-thorough-tests \ + --docdir=/usr/share/doc/flac-$PKG_VER && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |