Date: Wednesday, April 12, 2023 @ 22:31:28
Author: heftig
Revision: 474000
archrelease: copy trunk to extra-x86_64
Added:
openal/repos/extra-x86_64/PKGBUILD
(from rev 473999, openal/trunk/PKGBUILD)
Deleted:
openal/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 181 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 92 insertions(+), 89 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-12 22:31:13 UTC (rev 473999)
+++ PKGBUILD 2023-04-12 22:31:28 UTC (rev 474000)
@@ -1,89 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
-# Contributor: Allan McRae <[email protected]>
-# Contributor: Jason Chu <[email protected]>
-
-pkgbase=openal
-pkgname=(openal openal-examples)
-pkgver=1.23.0
-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
- cmake
- ffmpeg
- fluidsynth
- git
- jack
- libmysofa
- libpulse
- libsndfile
- ninja
- pipewire
- portaudio
- qt5-base
- sdl2
-)
-optdepends=(
- 'qt5-base: alsoft-config GUI Configurator'
- 'fluidsynth: MIDI rendering'
- 'libmysofa: makemhr tool'
-)
-_commit=70c14cd560db819f180073052f4c2bfae5cf3c31 # tags/1.23.0
-source=("git+https://github.com/kcat/openal-soft#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd openal-soft
- git describe --tags | sed 's/^openal-soft-//;s/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
- cd openal-soft
-}
-
-build() {
- local cmake_options=(
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=None
- -DCMAKE_INSTALL_LIBDIR=lib
- )
-
- cmake -S openal-soft -B build -G Ninja "${cmake_options[@]}"
- cmake --build build
-}
-
-_pick() {
- local p="$1" f d; shift
- for f; do
- d="$srcdir/$p/${f#$pkgdir/}"
- mkdir -p "$(dirname "$d")"
- mv "$f" "$d"
- rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
- done
-}
-
-package_openal() {
- provides+=(libopenal.so)
-
- DESTDIR="$pkgdir" cmake --install build
- install -Dt "$pkgdir/usr/share/doc/openal" -m644 openal-soft/docs/*
-
- cd "$pkgdir"
- _pick examples usr/bin/al{ffplay,hrtf,latency,loopback,multireverb}
- _pick examples usr/bin/al{play,record,reverb,stream,tonegen}
-}
-
-package_openal-examples() {
- pkgdesc+=" (example programs)"
- depends=("openal=$pkgver-$pkgrel" sdl2 libsndfile ffmpeg)
- optdepends=()
- mv examples/* "$pkgdir"
-}
-
-# vim:set sw=2 sts=-1 et:
Copied: openal/repos/extra-x86_64/PKGBUILD (from rev 473999,
openal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-12 22:31:28 UTC (rev 474000)
@@ -0,0 +1,92 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: Jason Chu <[email protected]>
+
+pkgbase=openal
+pkgname=(
+ openal
+ openal-examples
+)
+pkgver=1.23.1
+pkgrel=1
+pkgdesc="Cross-platform 3D audio library, software implementation"
+url="https://github.com/kcat/openal-soft"
+arch=(x86_64)
+license=(LGPL)
+depends=(
+ gcc-libs
+)
+makedepends=(
+ alsa-lib
+ cmake
+ ffmpeg
+ fluidsynth
+ git
+ jack
+ libmysofa
+ libpulse
+ libsndfile
+ ninja
+ pipewire
+ portaudio
+ qt5-base
+ sdl2
+)
+optdepends=(
+ 'qt5-base: alsoft-config GUI Configurator'
+ 'fluidsynth: MIDI rendering'
+ 'libmysofa: makemhr tool'
+)
+_commit=d3875f333fb6abe2f39d82caca329414871ae53b # tags/1.23.1
+source=("git+https://github.com/kcat/openal-soft#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd openal-soft
+ git describe --tags | sed 's/^openal-soft-//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd openal-soft
+}
+
+build() {
+ local cmake_options=(
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_LIBDIR=lib
+ )
+
+ cmake -S openal-soft -B build -G Ninja "${cmake_options[@]}"
+ cmake --build build
+}
+
+_pick() {
+ local p="$1" f d; shift
+ for f; do
+ d="$srcdir/$p/${f#$pkgdir/}"
+ mkdir -p "$(dirname "$d")"
+ mv "$f" "$d"
+ rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+ done
+}
+
+package_openal() {
+ provides+=(libopenal.so)
+
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dt "$pkgdir/usr/share/doc/openal" -m644 openal-soft/docs/*
+
+ cd "$pkgdir"
+ _pick examples usr/bin/al{ffplay,hrtf,latency,loopback,multireverb}
+ _pick examples usr/bin/al{play,record,reverb,stream,tonegen}
+}
+
+package_openal-examples() {
+ pkgdesc+=" (example programs)"
+ depends=("openal=$pkgver-$pkgrel" sdl2 libsndfile ffmpeg)
+ optdepends=()
+ mv examples/* "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: