forked from ports/contrib
openal: adopted port
This commit is contained in:
parent
6b958649ef
commit
0ab4cd91e5
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39LJ/5vA+WsDngQELO78DT5BVF1zUA7JVEc6S6i+4lrnw/+tPjokYK/T3GC6GnExtCIHyhjOTv/xiI/tYXht2gI=
|
||||
SHA256 (Pkgfile) = 4027c236b4f570f0d167bcf9587a01220ebe92c29a60d97b088c58b54ac6da41
|
||||
RWSagIOpLGJF3wWJdDbKHQKDMxQ1V5PbUSkHubt2ms+MVMkIyedRRUzpNv3Pg6oS3NoGFIyq6LKnb4tH1ZHuCKMhDq5zRXeJrwU=
|
||||
SHA256 (Pkgfile) = 64d6e3e250918c5c6bebb2617a9dc7d02e3890d0f90ae03f9f3cb666c1ad137e
|
||||
SHA256 (.footprint) = 7ed12c180de29c342ceb7b307e21d2490b9be3de2e32e3d65e5e00541a2844c0
|
||||
SHA256 (openal-soft-1.23.1.tar.gz) = dfddf3a1f61059853c625b7bb03de8433b455f2f79f89548cbcbd5edca3d4a4a
|
||||
|
@ -1,21 +1,27 @@
|
||||
# Description: Cross-platform 3D audio.
|
||||
# Description: Cross-platform 3D audio
|
||||
# URL: https://github.com/kcat/openal-soft
|
||||
# Maintainer: unmaintained
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: alsa-lib
|
||||
# Optional: qt5
|
||||
# Optional: dbus ffmpeg fluidsynth libsdl2 libsndfile pipewire portaudio pulseaudio qt5
|
||||
|
||||
name=openal
|
||||
version=1.23.1
|
||||
release=1
|
||||
release=2
|
||||
source=(https://github.com/kcat/openal-soft/archive/$version/openal-soft-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S openal-soft-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D ALSOFT_EXAMPLES=OFF \
|
||||
-D CMAKE_BUILD_TYPE=Release
|
||||
cmake -S openal-soft-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D ALSOFT_UTILS=ON \
|
||||
-D ALSOFT_INSTALL_CONFIG=ON \
|
||||
-D ALSOFT_INSTALL_HRTF_DATA=ON \
|
||||
-D ALSOFT_INSTALL_UTILS=ON \
|
||||
-D ALSOFT_EXAMPLES=OFF
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user