From ccc722b7ed330198d82a3cf28ead76d6d107a70a Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 6 Jun 2022 21:25:48 +0000 Subject: added java --- repo/sbc/sbc.xibuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 repo/sbc/sbc.xibuild (limited to 'repo/sbc/sbc.xibuild') diff --git a/repo/sbc/sbc.xibuild b/repo/sbc/sbc.xibuild new file mode 100644 index 0000000..39e618f --- /dev/null +++ b/repo/sbc/sbc.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="sbc" +DESC="Bluetooth Subband Codec (SBC) library" + +MAKEDEPS="libsndfile linux-headers flac libvorbis libogg opus" + +PKG_VER=1.5 +SOURCE="https://www.kernel.org/pub/linux/bluetooth/sbc-$PKG_VER.tar.xz" + +ADDITIONAL=" +fix-build-on-non-x86.patch +" +prepare () { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} -- cgit v1.2.1