summaryrefslogtreecommitdiff
path: root/repo/media/opus.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/media/opus.xibuild')
-rw-r--r--repo/media/opus.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/media/opus.xibuild b/repo/media/opus.xibuild
new file mode 100644
index 0000000..4f4ece8
--- /dev/null
+++ b/repo/media/opus.xibuild
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(glibc)
+
+DESC="Totally open, royalty-free, highly versatile audio codec"
+
+PKG_VER=1.3.1
+SOURCE=https://archive.mozilla.org/pub/opus/opus-$PKG_VER.tar.gz
+
+build () {
+ ./configure --prefix=/usr \
+ --disable-static \
+ --docdir=/usr/share/doc/opus-$PKG_VER &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}