2011-08-05 06:46:45 +08:00
|
|
|
#
|
|
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=fluidsynth
|
2012-08-29 15:31:09 +08:00
|
|
|
pkgver=1.1.6
|
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
url="http://www.fluidsynth.org/"
|
2011-08-05 06:46:45 +08:00
|
|
|
depends=('glib2' 'jack' 'dbus-core' 'libpulse')
|
|
|
|
makedepends=('cmake' 'ladspa' 'doxygen')
|
|
|
|
optdepends=('pulseaudio'
|
|
|
|
'bash: init script')
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('LGPL')
|
|
|
|
backup=('etc/conf.d/fluidsynth')
|
2011-08-05 06:46:45 +08:00
|
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
|
2010-03-14 23:48:48 +08:00
|
|
|
'fluidsynth.conf' 'fluidsynthd')
|
2012-08-29 15:31:09 +08:00
|
|
|
md5sums=('ae5aca6de824b4173667cbd3a310b263'
|
2010-03-14 23:48:48 +08:00
|
|
|
'16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
|
|
|
|
'b296dbfb524c2164f552f68bd9abe2ec')
|
|
|
|
|
|
|
|
build() {
|
2011-08-05 06:46:45 +08:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-Denable-ladspa=ON \
|
|
|
|
-DLIB_SUFFIX=""
|
|
|
|
make
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-08-05 06:46:45 +08:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir/fluidsynth.conf" \
|
|
|
|
"$pkgdir/etc/conf.d/fluidsynth"
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2011-08-05 06:46:45 +08:00
|
|
|
install -Dm755 "$srcdir/fluidsynthd" \
|
|
|
|
"$pkgdir/etc/rc.d/fluidsynth"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|