opusfile: initial import, v0.12 (optional dependency for sdl2_mixer)

This commit is contained in:
John McQuah 2023-03-04 22:21:41 -05:00
parent 9eb01a3f4f
commit 7685f98c4a
3 changed files with 41 additions and 0 deletions

14
opusfile/.footprint Normal file
View File

@ -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

5
opusfile/.signature Normal file
View File

@ -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

22
opusfile/Pkgfile Normal file
View File

@ -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
}