[arch-commits] Commit in fluidsynth/repos (community-x86_64 community-x86_64/PKGBUILD)

2020-04-06 Thread David Runge via arch-commits
Date: Monday, April 6, 2020 @ 19:05:00
  Author: dvzrv
Revision: 379683

archrelease: copy trunk to community-x86_64

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

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

Copied: fluidsynth/repos/community-x86_64/PKGBUILD (from rev 379682, 
fluidsynth/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-04-06 19:05:00 UTC (rev 379683)
@@ -0,0 +1,52 @@
+# Maintainer: David Runge 
+# Contributor: Ray Rashif 
+# Contributor: damir 
+
+pkgname=fluidsynth
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 
specifications"
+arch=('x86_64')
+url="http://www.fluidsynth.org/;
+license=('LGPL2.1')
+groups=('pro-audio')
+depends=('glibc' 'glib2' 'sdl2')
+makedepends=('alsa-lib' 'cmake' 'dbus' 'doxygen' 'jack' 'ladspa' 'libinstpatch'
+'libpulse' 'libsndfile' 'portaudio' 'readline' 'systemd-libs')
+provides=('libfluidsynth.so' 'soundfont-synthesizer')
+backup=("etc/conf.d/$pkgname")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz;)
+sha512sums=('ece3328ee94731f347a03f555fd39ead0a50cb24fef5d90dbff22e74db8344c9a68bfaccb76b873bd18a8ac68ee1d7802571e51c938bbf98e424267376f47eb8')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+-Denable-ladspa=ON \
+-Denable-portaudio=ON \
+-DLIB_SUFFIX="" \
+-B build \
+.
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make -C build -k check
+}
+
+package() {
+  depends+=('libasound.so' 'libdbus-1.so' 'libinstpatch-1.0.so' 'libjack.so'
+  'libportaudio.so' 'libpulse-simple.so' 'libreadline.so' 'libsndfile.so'
+  'libsystemd.so')
+  cd "${pkgname}-${pkgver}"
+  make -C build DESTDIR="$pkgdir" install
+  # systemd user unit
+  install -vDm 644 "build/${pkgname}.service" \
+-t "$pkgdir/usr/lib/systemd/user/"
+  # system-wide configuration file
+  install -vDm 644 "build/${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
+  # docs
+  install -vDm 644 {AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in fluidsynth/repos (community-x86_64 community-x86_64/PKGBUILD)

2018-06-13 Thread Antonio Rojas via arch-commits
Date: Wednesday, June 13, 2018 @ 16:35:17
  Author: arojas
Revision: 342900

archrelease: copy trunk to community-x86_64

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

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

Copied: fluidsynth/repos/community-x86_64/PKGBUILD (from rev 342899, 
fluidsynth/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-06-13 16:35:17 UTC (rev 342900)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Ray Rashif 
+# Contributor: David Runge 
+# Contributor: damir 
+
+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}
+}
+