mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
#
|
|
# Chakra Apps for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=alure
|
|
pkgver=1.1
|
|
pkgrel=3
|
|
pkgdesc="Utility library to help manage common tasks with OpenAL applications."
|
|
arch=('i686' 'x86_64')
|
|
url="http://kcat.strangesoft.net/alure.html"
|
|
license=('LGPL')
|
|
depends=('openal')
|
|
makedepends=('cmake' 'libsndfile' 'libvorbis' 'flac' 'mpg123' 'dumb' 'fluidsynth')
|
|
optdepends=('libsndfile: for uncompressed audio support'
|
|
'libvorbis: for OGG Vorbis support'
|
|
'flac: for FLAC support'
|
|
'mpg123: for MPEG support'
|
|
'dumb: for IT, XM, S3M and MOD support'
|
|
'fluidsynth: for SoundFont 2 support')
|
|
source=(http://kcat.strangesoft.net/alure-releases/alure-${pkgver}.tar.bz2)
|
|
md5sums=('a2f6934d3783c8478c460965a13e4e12')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
}
|