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

David Runge dvzrv at gemini.archlinux.org
Sun Jul 10 16:43:14 UTC 2022


    Date: Sunday, July 10, 2022 @ 16:43:13
  Author: dvzrv
Revision: 450765

archrelease: copy trunk to staging-x86_64

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

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

Copied: fluidsynth/repos/staging-x86_64/PKGBUILD (from rev 450764, fluidsynth/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-07-10 16:43:13 UTC (rev 450765)
@@ -0,0 +1,52 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=fluidsynth
+pkgver=2.2.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)
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('8173f2d368a214cf1eb7faae2f6326db43fb094ec9c83e652f953290c3f29c34ebd0b92cbb439bea8d814d3a7e4f9dc0c18c648df1d414989d5d8b4700c79535')
+b2sums=('7eaee4cc1c2f49e464cda2852890ec8e96bd86c258a39246ec5c84ea3e57c9869d1e88963daecc3fa8957df1d55ff6c6633a4900de3d6fc0a1adf830865adda0')
+
+build() {
+  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 $pkgname-$pkgver
+  make -C build VERBOSE=1
+}
+
+check() {
+  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)
+
+  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 $pkgname-$pkgver/{AUTHORS,ChangeLog,{CONTRIBUTING,README}.md,THANKS,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"
+}



More information about the arch-commits mailing list