From 7685f98c4a43fba86e8b0029d1d9ca96854f22e1 Mon Sep 17 00:00:00 2001 From: John McQuah Date: Sat, 4 Mar 2023 22:21:41 -0500 Subject: [PATCH] opusfile: initial import, v0.12 (optional dependency for sdl2_mixer) --- opusfile/.footprint | 14 ++++++++++++++ opusfile/.signature | 5 +++++ opusfile/Pkgfile | 22 ++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 opusfile/.footprint create mode 100644 opusfile/.signature create mode 100644 opusfile/Pkgfile diff --git a/opusfile/.footprint b/opusfile/.footprint new file mode 100644 index 000000000..45be747e6 --- /dev/null +++ b/opusfile/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/opus/ +-rw-r--r-- root/root usr/include/opus/opusfile.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libopusfile.so -> libopusfile.so.0.4.5 +lrwxrwxrwx root/root usr/lib/libopusfile.so.0 -> libopusfile.so.0.4.5 +-rwxr-xr-x root/root usr/lib/libopusfile.so.0.4.5 +lrwxrwxrwx root/root usr/lib/libopusurl.so -> libopusurl.so.0.4.5 +lrwxrwxrwx root/root usr/lib/libopusurl.so.0 -> libopusurl.so.0.4.5 +-rwxr-xr-x root/root usr/lib/libopusurl.so.0.4.5 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/opusfile.pc +-rw-r--r-- root/root usr/lib/pkgconfig/opusurl.pc diff --git a/opusfile/.signature b/opusfile/.signature new file mode 100644 index 000000000..63674dbfa --- /dev/null +++ b/opusfile/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3ycy9vcjSWTA4IMQspHXhtdrEjEpUO5Y7kbJfbRmDQBUg1JO1D1oOZz5FibPm24lB4dd03BU4oFjVknDzPARZwE= +SHA256 (Pkgfile) = 21f1a7618bace7d83024911bf5ab4be2f37fcad6a4d765eb1017465f71bcb726 +SHA256 (.footprint) = 51f556c73a59d6e3bd2c408f83f24003c6181972968adb62048dca19a53d0288 +SHA256 (opusfile-0.12.tar.gz) = 118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b diff --git a/opusfile/Pkgfile b/opusfile/Pkgfile new file mode 100644 index 000000000..3be9181b8 --- /dev/null +++ b/opusfile/Pkgfile @@ -0,0 +1,22 @@ +# Description: library for playback of opus streams in the ogg container +# URL: https://www.opus-codec.org/ +# Maintainer: John McQuah, jmcquah at disroot dot org +# Depends on: libogg opus + +name=opusfile +version=0.12 +release=1 +source=(https://downloads.xiph.org/releases/opus/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --disable-static \ + --disable-doc + make + make DESTDIR=$PKG install + + # clean up footprint + rm -f $PKG/usr/lib/*.la + rm -rf $PKG/usr/share +}