summaryrefslogtreecommitdiff
path: root/repo/media/opus.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-22 17:16:33 +0000
committerdavidovski <david@davidovski.xyz>2022-02-22 17:16:33 +0000
commit88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f (patch)
tree5b7d4feafc06fbb114a5f0bb20f3a630bbf15813 /repo/media/opus.xibuild
parent776eb1009737d85653861985965295d8e9c485d2 (diff)
added audio and media libraries
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
+}