summaryrefslogtreecommitdiff
path: root/repo/media/libsndfile.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/media/libsndfile.xibuild')
-rw-r--r--repo/media/libsndfile.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/media/libsndfile.xibuild b/repo/media/libsndfile.xibuild
new file mode 100644
index 0000000..7e8f70e
--- /dev/null
+++ b/repo/media/libsndfile.xibuild
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+MAKEDEPS=(make )
+DEPS=(alsa-lib flac opus libvorbis)
+
+DESC="A C library for reading and writing files containing sampled audio data"
+
+PKG_VER=1.0.31
+SOURCE=https://github.com/libsndfile/libsndfile/releases/download/$PKG_VER/libsndfile-$PKG_VER.tar.bz2
+
+build () {
+ ./configure --prefix=/usr \
+ --disable-static \
+ --docdir=/usr/share/doc/libsndfile-$PKG_VER &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}