openal: moved from opt

This commit is contained in:
Tim Biermann 2023-08-19 11:57:32 +02:00
parent 4e9fabd750
commit 72db91a2fd
3 changed files with 64 additions and 0 deletions

36
openal/.footprint Normal file
View File

@ -0,0 +1,36 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/openal-info
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/AL/
-rw-r--r-- root/root usr/include/AL/al.h
-rw-r--r-- root/root usr/include/AL/alc.h
-rw-r--r-- root/root usr/include/AL/alext.h
-rw-r--r-- root/root usr/include/AL/efx-creative.h
-rw-r--r-- root/root usr/include/AL/efx-presets.h
-rw-r--r-- root/root usr/include/AL/efx.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/OpenAL/
-rw-r--r-- root/root usr/lib/cmake/OpenAL/OpenALConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/OpenAL/OpenALTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/OpenAL/OpenALTargets.cmake
lrwxrwxrwx root/root usr/lib/libopenal.so -> libopenal.so.1
lrwxrwxrwx root/root usr/lib/libopenal.so.1 -> libopenal.so.1.23.1
-rwxr-xr-x root/root usr/lib/libopenal.so.1.23.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/openal.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/openal/
-rw-r--r-- root/root usr/share/openal/alsoftrc.sample
drwxr-xr-x root/root usr/share/openal/hrtf/
-rw-r--r-- root/root usr/share/openal/hrtf/Default HRTF.mhr
drwxr-xr-x root/root usr/share/openal/presets/
-rw-r--r-- root/root usr/share/openal/presets/3D7.1.ambdec
-rw-r--r-- root/root usr/share/openal/presets/hex-quad.ambdec
-rw-r--r-- root/root usr/share/openal/presets/hexagon.ambdec
-rw-r--r-- root/root usr/share/openal/presets/itu5.1-nocenter.ambdec
-rw-r--r-- root/root usr/share/openal/presets/itu5.1.ambdec
-rw-r--r-- root/root usr/share/openal/presets/presets.txt
-rw-r--r-- root/root usr/share/openal/presets/rectangle.ambdec
-rw-r--r-- root/root usr/share/openal/presets/square.ambdec

5
openal/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yT7ZFmDS+u0tg8CUszw3HJFovu7hN3cQK1NSVCLTS8HvwgfhzwLRCOR5j1ki8u/YLHKqfQqK9nIBdd0vlrmZgY=
SHA256 (Pkgfile) = 8c7cbb78249d24aa2cb6cc879f313df20ceb842a8772bdf43a871b775cdec890
SHA256 (.footprint) = 7ed12c180de29c342ceb7b307e21d2490b9be3de2e32e3d65e5e00541a2844c0
SHA256 (openal-soft-1.23.1.tar.gz) = dfddf3a1f61059853c625b7bb03de8433b455f2f79f89548cbcbd5edca3d4a4a

23
openal/Pkgfile Normal file
View File

@ -0,0 +1,23 @@
# Description: Cross-platform 3D audio.
# URL: https://github.com/kcat/openal-soft
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: alsa-lib cmake
# Optional: qt5 ninja
name=openal
version=1.23.1
release=1
source=(https://github.com/kcat/openal-soft/archive/$version/openal-soft-$version.tar.gz)
build() {
[ -e '/usr/bin/ninja' ] && PKGMK_OPENAL+=' -G Ninja'
cmake -S openal-soft-$version -B build ${PKGMK_OPENAL} \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D ALSOFT_EXAMPLES=OFF \
-D CMAKE_BUILD_TYPE=Release
cmake --build build
DESTDIR=$PKG cmake --install build
}