[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Jun 13 16:35:09 UTC 2018
Date: Wednesday, June 13, 2018 @ 16:35:08
Author: arojas
Revision: 342899
extra2community: Moving fluidsynth from extra to community
Added:
fluidsynth/
fluidsynth/repos/
fluidsynth/trunk/
fluidsynth/trunk/PKGBUILD
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Added: fluidsynth/trunk/PKGBUILD
===================================================================
--- fluidsynth/trunk/PKGBUILD (rev 0)
+++ fluidsynth/trunk/PKGBUILD 2018-06-13 16:35:08 UTC (rev 342899)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: David Runge <dave at sleepmap.de>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=fluidsynth
+pkgver=1.1.11
+pkgrel=1
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
+arch=('x86_64')
+url="http://www.fluidsynth.org/"
+depends=('glib2' 'jack' 'lash' 'libpulse' 'portaudio')
+makedepends=('cmake' 'ladspa' 'doxygen')
+optdepends=('pulseaudio: PulseAudio sound support')
+license=('LGPL')
+backup=("etc/conf.d/$pkgname")
+source=($pkgname-$pkgver.tar.gz::"https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz")
+sha512sums=('ad7c634426b29e5a05d67addf32d43a9ccb11a1fe3cfc09ad617416b9df3dc99a48191377f5027232521380737dde2d9b59833516d1bffb90f410bab3bbe140c')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # out-of-tree build
+ mkdir build
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/build"
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+ -Denable-ladspa=ON \
+ -Denable-lash=ON \
+ -Denable-portaudio=ON \
+ -DLIB_SUFFIX=""
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/build"
+ make DESTDIR="$pkgdir" install
+ # systemd user unit
+ install -vDm644 "${pkgname}.service" \
+ "$pkgdir/usr/lib/systemd/user/${pkgname}.service"
+ # system-wide configuration file
+ install -vDm644 "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm644 ../{AUTHORS,ChangeLog,NEWS,README.md,THANKS,TODO}
+}
+
Property changes on: fluidsynth/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list