2011-04-26 07:23:02 +08:00
|
|
|
#
|
2012-08-18 20:36:10 +08:00
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
2011-04-26 07:23:02 +08:00
|
|
|
#
|
2012-08-18 20:36:10 +08:00
|
|
|
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
|
2011-04-26 07:23:02 +08:00
|
|
|
|
|
|
|
pkgname=alure
|
2012-08-18 20:36:10 +08:00
|
|
|
pkgver=1.2
|
|
|
|
pkgrel=1
|
2011-04-26 07:23:02 +08:00
|
|
|
pkgdesc="Utility library to help manage common tasks with OpenAL applications."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://kcat.strangesoft.net/alure.html"
|
2012-08-18 20:36:10 +08:00
|
|
|
license=('MIT')
|
2011-04-26 07:23:02 +08:00
|
|
|
depends=('openal')
|
2012-08-18 20:36:10 +08:00
|
|
|
makedepends=('cmake' 'libsndfile' 'libvorbis' 'flac' 'mpg123' 'fluidsynth')
|
2011-04-26 07:23:02 +08:00
|
|
|
optdepends=('libsndfile: for uncompressed audio support'
|
|
|
|
'libvorbis: for OGG Vorbis support'
|
|
|
|
'flac: for FLAC support'
|
|
|
|
'mpg123: for MPEG support'
|
|
|
|
'fluidsynth: for SoundFont 2 support')
|
2012-08-18 20:36:10 +08:00
|
|
|
source=(http://kcat.strangesoft.net/alure-releases/alure-${pkgver}.tar.bz2
|
|
|
|
http://patch-tracker.debian.org/patch/series/dl/alure/1.2-6/fix-build-with-gcc-4.7.patch)
|
|
|
|
md5sums=('3088aba074ad02d95ea51e705053b9f5'
|
|
|
|
'889f1d1bd871f15f7511f1308f1720e0')
|
2011-04-26 07:23:02 +08:00
|
|
|
|
|
|
|
build() {
|
2012-08-18 20:36:10 +08:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
# Patches.
|
|
|
|
patch -uN src/codec_fluidsynth.cpp $srcdir/fix-build-with-gcc-4.7.patch
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
.
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
2011-04-26 07:23:02 +08:00
|
|
|
|
2012-08-18 20:36:10 +08:00
|
|
|
# License.
|
|
|
|
install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
2011-04-26 07:23:02 +08:00
|
|
|
}
|