2016-01-20 06:00:35 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/openal
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=openal
|
2016-01-20 06:00:35 +08:00
|
|
|
pkgver=1.17.1
|
|
|
|
# Caution: This package has a lib32 dependency, make sure to update that package as well
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgrel=1
|
2016-01-20 06:00:35 +08:00
|
|
|
pkgdesc="OpenAL is a cross-platform 3D audio library"
|
2015-01-08 07:30:12 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
url="http://www.openal.org/"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('glibc')
|
2015-01-08 07:30:12 +08:00
|
|
|
makedepends=('alsa-lib' 'sdl' 'cmake' 'libpulse' 'qt4' 'fluidsynth')
|
|
|
|
optdepends=('qt4: alsoft-config GUI Configurator'
|
|
|
|
'fluidsynth: MIDI rendering')
|
2012-08-18 04:18:22 +08:00
|
|
|
source=(http://kcat.strangesoft.net/$pkgname-releases/$pkgname-soft-${pkgver}.tar.bz2)
|
2016-01-20 06:00:35 +08:00
|
|
|
md5sums=('4e1cff46cdb3ac147745dea33ad92687')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
2012-08-18 04:18:22 +08:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
..
|
|
|
|
make
|
2010-05-17 15:50:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
2012-08-18 04:18:22 +08:00
|
|
|
make DESTDIR=${pkgdir}/ install
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|