mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/openal to 1.21.1-2
This commit is contained in:
parent
2a0fdf8952
commit
3d7ff06518
1 changed files with 11 additions and 3 deletions
|
@ -8,14 +8,14 @@
|
|||
pkgbase=openal
|
||||
pkgname=(openal openal-examples)
|
||||
pkgver=1.21.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Cross-platform 3D audio library, software implementation"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/kcat/openal-soft"
|
||||
license=(LGPL)
|
||||
depends=(gcc-libs)
|
||||
makedepends=(alsa-lib libpulse fluidsynth portaudio jack qt5-base sdl2
|
||||
libsndfile ffmpeg libmysofa git cmake)
|
||||
libsndfile ffmpeg libmysofa git cmake ninja)
|
||||
optdepends=('qt5-base: alsoft-config GUI Configurator'
|
||||
'fluidsynth: MIDI rendering'
|
||||
'libmysofa: makemhr tool')
|
||||
|
@ -30,10 +30,16 @@ pkgver() {
|
|||
|
||||
prepare() {
|
||||
cd openal-soft
|
||||
|
||||
# Missing include
|
||||
git cherry-pick -n 302e88dbf0f10224a5b87be4ce43b3fdd9d20184
|
||||
|
||||
# https://bugs.archlinux.org/task/72729
|
||||
git cherry-pick -n b7ff1de48efda9ad54e6a3b4c1526722c371e832
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -S openal-soft -B build \
|
||||
cmake -S openal-soft -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
|
@ -52,6 +58,8 @@ _pick() {
|
|||
}
|
||||
|
||||
package_openal() {
|
||||
provides+=(libopenal.so)
|
||||
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dt "$pkgdir/usr/share/doc/openal" -m644 openal-soft/docs/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue