From 1c648a3182dfa6c48dd2aa4f2be9c3de353f5e0d Mon Sep 17 00:00:00 2001 From: abveritas Date: Thu, 4 Aug 2011 22:46:45 +0000 Subject: [PATCH] fluidsynth update --- fluidsynth/PKGBUILD | 46 +++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/fluidsynth/PKGBUILD b/fluidsynth/PKGBUILD index 4af77b258..6825364b0 100644 --- a/fluidsynth/PKGBUILD +++ b/fluidsynth/PKGBUILD @@ -1,35 +1,45 @@ -# $Id: PKGBUILD 71370 2010-03-06 21:33:09Z andrea $ -# Contributor: damir +# +# Platform Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa pkgname=fluidsynth -pkgver=1.1.1 -pkgrel=2 +pkgver=1.1.4 +pkgrel=1 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications" arch=("i686" "x86_64") url="http://www.fluidsynth.org/" -depends=('glib2' 'jack' 'ladspa') -options=('!libtool') +depends=('glib2' 'jack' 'dbus-core' 'libpulse') +makedepends=('cmake' 'ladspa' 'doxygen') +optdepends=('pulseaudio' + 'bash: init script') license=('LGPL') backup=('etc/conf.d/fluidsynth') -source=("http://savannah.nongnu.org/download/fluid/$pkgname-$pkgver.tar.gz" +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 'fluidsynth.conf' 'fluidsynthd') -md5sums=('0db3da78028d255026230809c6e21b44' +md5sums=('71f297a90d00a253f0f12ceb5d3d661d' '16c5f4d4cbdddc6c5fcbd4fd4cc142f1' 'b296dbfb524c2164f552f68bd9abe2ec') build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr \ - --enable-ladspa || return 1 - make || return 1 + cd "$srcdir/$pkgname-$pkgver" + + cmake . -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -Denable-ladspa=ON \ + -DLIB_SUFFIX="" + make } package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" - make prefix=$pkgdir/usr install - install -Dm644 ${srcdir}/fluidsynth.conf \ - ${pkgdir}/etc/conf.d/fluidsynth - install -Dm755 ${srcdir}/fluidsynthd \ - ${pkgdir}/etc/rc.d/fluidsynth + make DESTDIR="$pkgdir/" install + + install -Dm644 "$srcdir/fluidsynth.conf" \ + "$pkgdir/etc/conf.d/fluidsynth" + + install -Dm755 "$srcdir/fluidsynthd" \ + "$pkgdir/etc/rc.d/fluidsynth" }