[arch-commits] Commit in fluidsynth/repos (2 files)

David Runge dvzrv at archlinux.org
Sun Sep 30 10:06:15 UTC 2018


    Date: Sunday, September 30, 2018 @ 10:06:15
  Author: dvzrv
Revision: 388451

archrelease: copy trunk to community-staging-x86_64

Added:
  fluidsynth/repos/community-staging-x86_64/
  fluidsynth/repos/community-staging-x86_64/PKGBUILD
    (from rev 388450, fluidsynth/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: fluidsynth/repos/community-staging-x86_64/PKGBUILD (from rev 388450, fluidsynth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-09-30 10:06:15 UTC (rev 388451)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=fluidsynth
+pkgver=2.0.0
+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' '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=('706aba61efccb0c08262bdf186efddf8acf2a45f586220a43aa7c733a612c0988953729c7c4fdb0c3214e6e9a1ee7719eb980af98fc4f278f333509db5610c66')
+
+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-portaudio=ON \
+           -DLIB_SUFFIX=""
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}/build"
+  make DESTDIR="$pkgdir" install
+  # systemd user unit
+  install -vDm 644 "${pkgname}.service" \
+    -t "$pkgdir/usr/lib/systemd/user/"
+  # system-wide configuration file
+  install -vDm 644 "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm 644 ../{AUTHORS,ChangeLog,NEWS,README.md,THANKS,TODO}
+}
+



More information about the arch-commits mailing list