mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:27:13 +08:00
31 lines
910 B
Bash
31 lines
910 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/openal
|
|
|
|
pkgname=openal
|
|
pkgver=1.17.1
|
|
# Caution: This package has a lib32 dependency, make sure to update that package as well
|
|
pkgrel=1
|
|
pkgdesc="OpenAL is a cross-platform 3D audio library"
|
|
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=('4e1cff46cdb3ac147745dea33ad92687')
|
|
|
|
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
|
|
}
|