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

David Runge dvzrv at archlinux.org
Tue Mar 16 09:05:32 UTC 2021


    Date: Tuesday, March 16, 2021 @ 09:05:32
  Author: dvzrv
Revision: 410035

archrelease: copy trunk to staging-x86_64

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

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

Copied: fluidsynth/repos/staging-x86_64/PKGBUILD (from rev 410034, fluidsynth/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-03-16 09:05:32 UTC (rev 410035)
@@ -0,0 +1,55 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=fluidsynth
+pkgver=2.1.8
+pkgrel=1
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
+arch=('x86_64')
+url="https://www.fluidsynth.org/"
+license=('LGPL2.1')
+groups=('pro-audio')
+depends=('glibc' 'sdl2')
+makedepends=('alsa-lib' 'cmake' 'dbus' 'doxygen' 'glib2' '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=('34f87ea1577b1e89146a1589c67771262961bb18d0c8b21aaa9a1315e18dffc984f18f21cc8a96cc52dca9e94fcad1bdec2b62678c5f2f3434a4faba713854a6')
+b2sums=('1cb572b920524e594941dd7f74f3d9c916646e9e43de3c023650fc7717d66d5f0601804c0b4051f157a28f85e7e172c20545624d8004d8d4298d01d0b985970d')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE='None' \
+        -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+        -Denable-ladspa=ON \
+        -Denable-portaudio=ON \
+        -DLIB_SUFFIX="" \
+        -Wno-dev \
+        -B build \
+        -S .
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make -C build -k check
+}
+
+package() {
+  depends+=('libasound.so' 'libdbus-1.so' 'libglib-2.0.so' 'libgmodule-2.0.so'
+  'libgobject-2.0.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}"
+}



More information about the arch-commits mailing list