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

David Runge dvzrv at archlinux.org
Sat Feb 16 19:51:29 UTC 2019


    Date: Saturday, February 16, 2019 @ 19:51:28
  Author: dvzrv
Revision: 433754

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: fluidsynth/repos/community-staging-x86_64/PKGBUILD (from rev 433753, fluidsynth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-02-16 19:51:28 UTC (rev 433754)
@@ -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.3
+pkgrel=1
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
+arch=('x86_64')
+url="http://www.fluidsynth.org/"
+depends=('glib2' '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=('4a557c56257dc38394468e9985b811b1e56aa521b01e9ecf76a76483e6f7e94f6c905b3174203f035e972b092f09c2d099e19a3d39ac9c6ede5ac27bff93ecd3')
+
+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