PKGBUILDs/extra/openal/PKGBUILD

39 lines
1.2 KiB
Bash
Raw Normal View History

2012-06-07 13:01:05 +00:00
# $Id: PKGBUILD 155305 2012-04-01 14:23:52Z heftig $
2012-05-13 23:42:50 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
2012-06-07 13:01:05 +00:00
# Contributor: Jason Chu <jchu@xentac.net>
2012-05-13 23:42:50 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2012-06-07 13:01:05 +00:00
# - fix for unimplemented _FPU_EXTENDED
2012-05-13 23:42:50 +00:00
pkgname=openal
2014-08-21 00:21:02 +00:00
pkgver=1.16.0
pkgrel=1
2012-05-13 23:42:50 +00:00
pkgdesc="A cross-platform 3D audio library"
arch=(i686 x86_64)
url="http://www.openal.org/"
license=(LGPL)
depends=(glibc)
2014-08-21 00:21:02 +00:00
makedepends=(alsa-lib pkgconfig cmake libpulse qt4 fluidsynth portaudio)
optdepends=('qt4: alsoft-config GUI Configurator'
'fluidsynth: MIDI rendering')
2012-05-13 23:42:50 +00:00
options=('!libtool')
2012-06-07 13:01:05 +00:00
source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2
no-fpuextended.patch)
2014-08-21 00:21:02 +00:00
md5sums=('14db4b0d12f07252070b4fe5eb5911f6'
2012-06-07 13:01:05 +00:00
'de9569536f9f1c2b7b0e90d381c631de')
2012-05-13 23:42:50 +00:00
build() {
2012-06-07 13:01:05 +00:00
cd "${srcdir}/$pkgname-soft-$pkgver"
patch -p1 -i "${srcdir}"/no-fpuextended.patch
cd "${srcdir}/$pkgname-soft-$pkgver/build"
2012-05-13 23:42:50 +00:00
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ..
make
}
package() {
2012-06-07 13:01:05 +00:00
cd $pkgname-soft-$pkgver
2012-05-13 23:42:50 +00:00
make -C build DESTDIR="$pkgdir/" install
2014-08-21 00:21:02 +00:00
install -m644 -t "$pkgdir/usr/share/openal" env-vars.txt hrtf.txt
2012-05-13 23:42:50 +00:00
}