[crux-commits] ports/contrib (refs/remotes/origin/3.6): libldac: initial commit, version 2.0.2.3

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:04 UTC 2021


commit 42be9fa7a0e28befabd87275b6f96e3c94a0c55a
Author: Tim Biermann <tbier at posteo.de>
Date:   Thu Jan 7 23:30:47 2021 +0000

    libldac: initial commit, version 2.0.2.3

diff --git a/libldac/.footprint b/libldac/.footprint
new file mode 100644
index 000000000..d56037684
--- /dev/null
+++ b/libldac/.footprint
@@ -0,0 +1,15 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/include/
+drwxr-xr-x	root/root	usr/include/ldac/
+-rw-r--r--	root/root	usr/include/ldac/ldacBT.h
+-rw-r--r--	root/root	usr/include/ldac/ldacBT_abr.h
+drwxr-xr-x	root/root	usr/lib/
+lrwxrwxrwx	root/root	usr/lib/libldacBT_abr.so -> libldacBT_abr.so.2
+lrwxrwxrwx	root/root	usr/lib/libldacBT_abr.so.2 -> libldacBT_abr.so.2.0.2.3
+-rwxr-xr-x	root/root	usr/lib/libldacBT_abr.so.2.0.2.3
+lrwxrwxrwx	root/root	usr/lib/libldacBT_enc.so -> libldacBT_enc.so.2
+lrwxrwxrwx	root/root	usr/lib/libldacBT_enc.so.2 -> libldacBT_enc.so.2.0.2.3
+-rwxr-xr-x	root/root	usr/lib/libldacBT_enc.so.2.0.2.3
+drwxr-xr-x	root/root	usr/lib/pkgconfig/
+-rw-r--r--	root/root	usr/lib/pkgconfig/ldacBT-abr.pc
+-rw-r--r--	root/root	usr/lib/pkgconfig/ldacBT-enc.pc
diff --git a/libldac/.signature b/libldac/.signature
new file mode 100644
index 000000000..0823246f3
--- /dev/null
+++ b/libldac/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF31OrtP/sv/GH6PXKuF5xMBMZvo1hjjoQtfUZsa4dxw3GoPCga3yKAKt/bNmMJAT6XDJUDTsojXzdmNRpvhmRUgI=
+SHA256 (Pkgfile) = 87aa19f6f8d28cf9ccc5a4d0325890b7eb861db5d19ed2002265f708e0a5b027
+SHA256 (.footprint) = 90afbda5607fbca54a01a3542a4968fc20dc911d8a66d0eaa5b4cc9b7138a891
+SHA256 (ldacBT-2.0.2.3.tar.gz) = 4bd8eece78bb5c1361fab95743e7100506e2408a25c4a592a0f8d349746dc5b4
diff --git a/libldac/Pkgfile b/libldac/Pkgfile
new file mode 100644
index 000000000..e6f7c3a44
--- /dev/null
+++ b/libldac/Pkgfile
@@ -0,0 +1,20 @@
+# Description: LDAC Bluetooth encoder library
+# URL: https://github.com/EHfive/ldacBT
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: cmake
+
+name=libldac
+version=2.0.2.3
+release=1
+source=(https://github.com/EHfive/ldacBT/releases/download/v$version/ldacBT-$version.tar.gz)
+
+build() {
+  [[ -e /usr/bin/ninja ]] && PKGMK_LIBLDAC+=' -G Ninja'
+  cmake -S ldacBT -B build $PKGMK_LIBLDAC \
+    -D CMAKE_INSTALL_PREFIX=/usr \
+    -D CMAKE_BUILD_TYPE=Release \
+    -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
+    -Wno-dev
+  cmake --build build
+  DESTDIR=$PKG cmake --install build
+}


More information about the crux-commits mailing list