mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 14:57:14 +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
|
||||
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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user