From 5ad652dab53d0dd7bcc41293ddd546f3a8e57dc5 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 2 Aug 2017 00:00:29 +0000 Subject: [PATCH] extra/openal to 1.18.1-1 --- extra/openal/PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD index 9335ac82d..c8e04d4e4 100644 --- a/extra/openal/PKGBUILD +++ b/extra/openal/PKGBUILD @@ -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