mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/openal to 1.18.1-1
This commit is contained in:
parent
274234e5d2
commit
5ad652dab5
1 changed files with 11 additions and 9 deletions
|
@ -9,16 +9,16 @@
|
||||||
|
|
||||||
pkgbase=openal
|
pkgbase=openal
|
||||||
pkgname=(openal openal-examples)
|
pkgname=(openal openal-examples)
|
||||||
pkgver=1.18.0
|
pkgver=1.18.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Cross-platform 3D audio library, software implementation"
|
pkgdesc="Cross-platform 3D audio library, software implementation"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="https://github.com/kcat/openal-soft"
|
url="https://github.com/kcat/openal-soft"
|
||||||
license=(LGPL)
|
license=(LGPL)
|
||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
makedepends=(alsa-lib pkgconfig cmake libpulse qt5-base fluidsynth portaudio jack sdl2 sdl_sound
|
makedepends=(alsa-lib libpulse fluidsynth portaudio jack qt5-base sdl2 sdl_sound ffmpeg
|
||||||
ffmpeg git)
|
git cmake ninja)
|
||||||
_commit=61e43d4039277c538f3f6e0af7c988e7d71d8558 # tags/openal-soft-1.18.0
|
_commit=bf9c36408af9d45c99bc12b5b7b995aee628bdb6 # tags/openal-soft-1.18.1
|
||||||
source=("git+https://github.com/kcat/openal-soft#commit=$_commit"
|
source=("git+https://github.com/kcat/openal-soft#commit=$_commit"
|
||||||
'no-fpuextended.patch'
|
'no-fpuextended.patch'
|
||||||
'openal-soft-arm_neon-only-for-32bit.patch')
|
'openal-soft-arm_neon-only-for-32bit.patch')
|
||||||
|
@ -44,16 +44,18 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd build
|
cd build
|
||||||
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_LIBDIR=lib ../openal-soft
|
cmake ../openal-soft -G Ninja \
|
||||||
make
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib
|
||||||
|
ninja
|
||||||
}
|
}
|
||||||
|
|
||||||
package_openal() {
|
package_openal() {
|
||||||
optdepends=('qt5-base: alsoft-config GUI Configurator'
|
optdepends=('qt5-base: alsoft-config GUI Configurator'
|
||||||
'fluidsynth: MIDI rendering')
|
'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/*
|
install -Dt "$pkgdir/usr/share/doc/openal" -m644 openal-soft/docs/*
|
||||||
|
|
||||||
### Split openal-examples
|
### Split openal-examples
|
||||||
|
|
Loading…
Reference in a new issue