extra/openal to 1.18.1-1

This commit is contained in:
Kevin Mihelich 2017-08-02 00:00:29 +00:00
parent 274234e5d2
commit 5ad652dab5

View file

@ -9,16 +9,16 @@
pkgbase=openal
pkgname=(openal openal-examples)
pkgver=1.18.0
pkgrel=2
pkgver=1.18.1
pkgrel=1
pkgdesc="Cross-platform 3D audio library, software implementation"
arch=(i686 x86_64)
url="https://github.com/kcat/openal-soft"
license=(LGPL)
depends=(glibc)
makedepends=(alsa-lib pkgconfig cmake libpulse qt5-base fluidsynth portaudio jack sdl2 sdl_sound
ffmpeg git)
_commit=61e43d4039277c538f3f6e0af7c988e7d71d8558 # tags/openal-soft-1.18.0
makedepends=(alsa-lib libpulse fluidsynth portaudio jack qt5-base sdl2 sdl_sound ffmpeg
git cmake ninja)
_commit=bf9c36408af9d45c99bc12b5b7b995aee628bdb6 # tags/openal-soft-1.18.1
source=("git+https://github.com/kcat/openal-soft#commit=$_commit"
'no-fpuextended.patch'
'openal-soft-arm_neon-only-for-32bit.patch')
@ -44,16 +44,18 @@ prepare() {
build() {
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_LIBDIR=lib ../openal-soft
make
cmake ../openal-soft -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib
ninja
}
package_openal() {
optdepends=('qt5-base: alsoft-config GUI Configurator'
'fluidsynth: MIDI rendering')
make -C build DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" ninja -C build install
install -Dt "$pkgdir/usr/share/doc/openal" -m644 openal-soft/docs/*
### Split openal-examples