[arch-commits] Commit in openal/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Mon Nov 15 20:24:17 UTC 2021
Date: Monday, November 15, 2021 @ 20:24:17
Author: heftig
Revision: 428543
1.21.1-2: FS#72729 add patch
Modified:
openal/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-15 19:26:30 UTC (rev 428542)
+++ PKGBUILD 2021-11-15 20:24:17 UTC (rev 428543)
@@ -5,7 +5,7 @@
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"
@@ -12,7 +12,7 @@
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')
@@ -27,10 +27,16 @@
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
@@ -48,6 +54,8 @@
}
package_openal() {
+ provides+=(libopenal.so)
+
DESTDIR="$pkgdir" cmake --install build
install -Dt "$pkgdir/usr/share/doc/openal" -m644 openal-soft/docs/*
More information about the arch-commits
mailing list