![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 72db91a2fdf05181bd1748a962d382ce42a8810b Author: Tim Biermann <tbier@posteo.de> Date: Sat Aug 19 11:57:32 2023 +0200 openal: moved from opt diff --git a/openal/.footprint b/openal/.footprint new file mode 100644 index 000000000..42937711c --- /dev/null +++ b/openal/.footprint @@ -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 diff --git a/openal/.signature b/openal/.signature new file mode 100644 index 000000000..ce6975004 --- /dev/null +++ b/openal/.signature @@ -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 diff --git a/openal/Pkgfile b/openal/Pkgfile new file mode 100644 index 000000000..28f8c1c54 --- /dev/null +++ b/openal/Pkgfile @@ -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.ta...) + +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 +}