[arch-commits] Commit in openal/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Aug 1 21:19:15 UTC 2017


    Date: Tuesday, August 1, 2017 @ 21:19:14
  Author: heftig
Revision: 301510

1.18.1-1

Modified:
  openal/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-01 20:25:45 UTC (rev 301509)
+++ PKGBUILD	2017-08-01 21:19:14 UTC (rev 301510)
@@ -5,16 +5,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")
 sha256sums=('SKIP')
 
@@ -33,8 +33,11 @@
 
 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() {
@@ -41,8 +44,7 @@
   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



More information about the arch-commits mailing list