[arch-commits] Commit in fluidsynth/repos/extra-x86_64 (5 files)
Antonio Rojas
arojas at archlinux.org
Sat Mar 10 09:26:38 UTC 2018
Date: Saturday, March 10, 2018 @ 09:26:37
Author: arojas
Revision: 318393
archrelease: copy trunk to extra-x86_64
Added:
fluidsynth/repos/extra-x86_64/PKGBUILD
(from rev 318392, fluidsynth/trunk/PKGBUILD)
Deleted:
fluidsynth/repos/extra-x86_64/PKGBUILD
fluidsynth/repos/extra-x86_64/fluidsynth.conf
fluidsynth/repos/extra-x86_64/fluidsynth.install
fluidsynth/repos/extra-x86_64/fluidsynth.systemd
--------------------+
PKGBUILD | 96 ++++++++++++++++++++++++++-------------------------
fluidsynth.conf | 8 ----
fluidsynth.install | 11 -----
fluidsynth.systemd | 10 -----
4 files changed, 50 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-10 09:25:52 UTC (rev 318392)
+++ PKGBUILD 2018-03-10 09:26:37 UTC (rev 318393)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-
-pkgname=fluidsynth
-pkgver=1.1.9
-pkgrel=1
-pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
-arch=('x86_64')
-url="http://www.fluidsynth.org/"
-depends=('jack' 'libpulse' 'glib2')
-makedepends=('cmake' 'ladspa' 'doxygen')
-optdepends=('pulseaudio: PulseAudio sound support')
-license=('LGPL')
-backup=("etc/conf.d/$pkgname")
-install=$pkgname.install
-source=($pkgname-$pkgver.tar.gz::"https://github.com/FluidSynth/fluidsynth/archive/v$pkgver.tar.gz"
- 'fluidsynth.systemd'
- 'fluidsynth.conf')
-md5sums=('0011c2b173e90f95a72b12c9a73b7c2c'
- 'ba5e2c71a98d593339e1460c60b0951c'
- '2167e6a7e38ed29399d77179072548f2')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- cmake . -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -Denable-ladspa=ON \
- -DLIB_SUFFIX=""
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir/$pkgname.systemd" \
- "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-
- install -Dm644 "$srcdir/$pkgname.conf" \
- "$pkgdir/etc/conf.d/$pkgname"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: fluidsynth/repos/extra-x86_64/PKGBUILD (from rev 318392, fluidsynth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-10 09:26:37 UTC (rev 318393)
@@ -0,0 +1,50 @@
+# $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.10
+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=('7ff7757baf6dee37f65a4fd214ffab1aa1434cfd1545deb4108fe2e9b0ed19d616880b2740a693b51ade0a4be998a671910b43cae26eb67fb97b16a513752cbc')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # out-of-tree build
+ mkdir build
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/build"
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -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}
+}
+
Deleted: fluidsynth.conf
===================================================================
--- fluidsynth.conf 2018-03-10 09:25:52 UTC (rev 318392)
+++ fluidsynth.conf 2018-03-10 09:26:37 UTC (rev 318393)
@@ -1,8 +0,0 @@
-# Mandatory parameters (uncomment and edit)
-#SOUND_FONT=/path/to/a/soundfont
-#AUDIO_DRIVER=alsa|jack|pulseaudio
-# see 'fluidsynth -a help'
-
-# Optional parameters (may be helpful)
-#OTHER_OPTS='-m alsa_seq -r 48000'
-# man fluidsynth, please
Deleted: fluidsynth.install
===================================================================
--- fluidsynth.install 2018-03-10 09:25:52 UTC (rev 318392)
+++ fluidsynth.install 2018-03-10 09:26:37 UTC (rev 318393)
@@ -1,11 +0,0 @@
-post_install() {
- echo
- echo " > FluidSynth comes with a daemon. Start/enable it with systemd."
- echo " > Before that, you need a soundfont and some preconfiguration:"
- echo " /etc/conf.d/fluidsynth"
- echo
- echo " > PulseAudio output when running as a daemon is known to be"
- echo " > problematic. See the following bulletin board post:"
- echo " https://bbs.archlinux.org/viewtopic.php?id=135092"
- echo
-}
Deleted: fluidsynth.systemd
===================================================================
--- fluidsynth.systemd 2018-03-10 09:25:52 UTC (rev 318392)
+++ fluidsynth.systemd 2018-03-10 09:26:37 UTC (rev 318393)
@@ -1,10 +0,0 @@
-[Unit]
-Description=FluidSynth Daemon
-After=sound.target
-
-[Service]
-ExecStart=/usr/bin/fluidsynth -is -a $AUDIO_DRIVER $OTHER_OPTS $SOUND_FONT
-EnvironmentFile=/etc/conf.d/fluidsynth
-
-[Install]
-WantedBy=multi-user.target
More information about the arch-commits
mailing list