From 88fea5a7ae67d5a1cfa9f6a32e5f820a31861d5f Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 22 Feb 2022 17:16:33 +0000 Subject: added audio and media libraries --- repo/media/libsndfile.xibuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 repo/media/libsndfile.xibuild (limited to 'repo/media/libsndfile.xibuild') 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 +} -- cgit v1.2.1