core/openal/PKGBUILD

36 lines
1.0 KiB
Bash
Raw Normal View History

2012-08-18 04:18:22 +08:00
#
2015-01-08 07:30:12 +08:00
# Platform Packages for Chakra, part of chakraos.org
2012-08-18 04:18:22 +08:00
#
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
2010-03-14 23:48:48 +08:00
# Contributer: Jason Chu <jchu@xentac.net>
pkgname=openal
2015-01-08 07:30:12 +08:00
pkgver=1.16.0
2010-03-14 23:48:48 +08:00
pkgrel=1
2012-08-18 04:18:22 +08:00
pkgdesc="OpenAL is a cross-platform 3D audio library for use with OpenGL"
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)
2015-01-08 07:30:12 +08:00
md5sums=('14db4b0d12f07252070b4fe5eb5911f6')
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
}