blob: 624a591f9183048434241315db3bcbd8ab357437 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: edubart <edub4rt@gmail.com>
pkgname=openal-static
pkgver=1.21.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 fluidsynth portaudio jack sdl2 ffmpeg git)
source=("git+https://github.com/kcat/openal-soft#tag=$pkgver")
sha256sums=('SKIP')
prepare() {
mkdir build
cd openal-soft
}
build() {
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D LIBTYPE=STATIC -D ALSOFT_EXAMPLES=OFF -D ALSOFT_UTILS=OFF -D ALSOFT_TESTS=OFF ../openal-soft
make
}
package() {
install -Dm0644 build/libopenal.a "$pkgdir/usr/lib/libopenal.a"
}
|