mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 13:04:43 +08:00
fluidsynth update
This commit is contained in:
parent
5fc8ce580c
commit
1c648a3182
@ -1,35 +1,45 @@
|
|||||||
# $Id: PKGBUILD 71370 2010-03-06 21:33:09Z andrea $
|
#
|
||||||
# Contributor: damir <damir@archlinux.org>
|
# 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>
|
||||||
|
|
||||||
pkgname=fluidsynth
|
pkgname=fluidsynth
|
||||||
pkgver=1.1.1
|
pkgver=1.1.4
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
|
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
|
||||||
arch=("i686" "x86_64")
|
arch=("i686" "x86_64")
|
||||||
url="http://www.fluidsynth.org/"
|
url="http://www.fluidsynth.org/"
|
||||||
depends=('glib2' 'jack' 'ladspa')
|
depends=('glib2' 'jack' 'dbus-core' 'libpulse')
|
||||||
options=('!libtool')
|
makedepends=('cmake' 'ladspa' 'doxygen')
|
||||||
|
optdepends=('pulseaudio'
|
||||||
|
'bash: init script')
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
backup=('etc/conf.d/fluidsynth')
|
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')
|
'fluidsynth.conf' 'fluidsynthd')
|
||||||
md5sums=('0db3da78028d255026230809c6e21b44'
|
md5sums=('71f297a90d00a253f0f12ceb5d3d661d'
|
||||||
'16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
|
'16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
|
||||||
'b296dbfb524c2164f552f68bd9abe2ec')
|
'b296dbfb524c2164f552f68bd9abe2ec')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
./configure --prefix=/usr \
|
|
||||||
--enable-ladspa || return 1
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
make || return 1
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-Denable-ladspa=ON \
|
||||||
|
-DLIB_SUFFIX=""
|
||||||
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
make prefix=$pkgdir/usr install
|
make DESTDIR="$pkgdir/" install
|
||||||
install -Dm644 ${srcdir}/fluidsynth.conf \
|
|
||||||
${pkgdir}/etc/conf.d/fluidsynth
|
install -Dm644 "$srcdir/fluidsynth.conf" \
|
||||||
install -Dm755 ${srcdir}/fluidsynthd \
|
"$pkgdir/etc/conf.d/fluidsynth"
|
||||||
${pkgdir}/etc/rc.d/fluidsynth
|
|
||||||
|
install -Dm755 "$srcdir/fluidsynthd" \
|
||||||
|
"$pkgdir/etc/rc.d/fluidsynth"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user