mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 19:04:37 +08:00
36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakraos.org
|
|
#
|
|
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
|
|
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
|
# Contributer: Jason Chu <jchu@xentac.net>
|
|
|
|
pkgname=openal
|
|
pkgver=1.16.0
|
|
pkgrel=1
|
|
pkgdesc="OpenAL is a cross-platform 3D audio library for use with OpenGL"
|
|
arch=('x86_64')
|
|
url="http://www.openal.org/"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
makedepends=('alsa-lib' 'sdl' 'cmake' 'libpulse' 'qt4' 'fluidsynth')
|
|
optdepends=('qt4: alsoft-config GUI Configurator'
|
|
'fluidsynth: MIDI rendering')
|
|
source=(http://kcat.strangesoft.net/$pkgname-releases/$pkgname-soft-${pkgver}.tar.bz2)
|
|
md5sums=('14db4b0d12f07252070b4fe5eb5911f6')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
make DESTDIR=${pkgdir}/ install
|
|
}
|