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/libsamplerate.xibuild | |
parent | 776eb1009737d85653861985965295d8e9c485d2 (diff) |
added audio and media libraries
Diffstat (limited to 'repo/media/libsamplerate.xibuild')
-rw-r--r-- | repo/media/libsamplerate.xibuild | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/media/libsamplerate.xibuild b/repo/media/libsamplerate.xibuild new file mode 100644 index 0000000..c985452 --- /dev/null +++ b/repo/media/libsamplerate.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make xmlto) +DEPS=(libogg nasm) + +DESC="An audio sample rate conversion library" + +PKG_VER=0.2.2 +SOURCE=https://github.com/libsndfile/libsamplerate/releases/download/$PKG_VER/libsamplerate-$PKG_VER.tar.xz + +build () { + ./configure --prefix=/usr \ + --disable-static \ + --docdir=/usr/share/doc/libsamplerate-$PKG_VER && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |