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

David Runge dvzrv at archlinux.org
Thu Aug 8 17:15:35 UTC 2019


    Date: Thursday, August 8, 2019 @ 17:15:34
  Author: dvzrv
Revision: 359329

archrelease: copy trunk to extra-x86_64

Added:
  fluidsynth/repos/extra-x86_64/PKGBUILD
    (from rev 359328, fluidsynth/trunk/PKGBUILD)
Deleted:
  fluidsynth/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  110 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 56 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-08 17:15:29 UTC (rev 359328)
+++ PKGBUILD	2019-08-08 17:15:34 UTC (rev 359329)
@@ -1,54 +0,0 @@
-# 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.5
-pkgrel=1
-pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
-arch=('x86_64')
-url="http://www.fluidsynth.org/"
-license=('LGPL')
-groups=('pro-audio')
-depends=('glib2' 'libpulse' 'portaudio')
-makedepends=('cmake' 'ladspa' 'doxygen')
-optdepends=('pulseaudio: PulseAudio sound support')
-provides=('soundfont-synthesizer')
-backup=("etc/conf.d/$pkgname")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v$pkgver.tar.gz")
-sha512sums=('5344ac889d2927dc2465bae40096d756a9bf9b1100e287ba0621c55ffc76f9cb8fa763f6bc832d701cd0ad2997965cf344f58ae4b3dd445eb3491e3659c093d9')
-
-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
-}
-
-check() {
-  cd "${pkgname}-${pkgver}/build"
-  make -k check
-}
-
-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}
-}
-

Copied: fluidsynth/repos/extra-x86_64/PKGBUILD (from rev 359328, fluidsynth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-08 17:15:34 UTC (rev 359329)
@@ -0,0 +1,56 @@
+# 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.5
+pkgrel=2
+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=('glib2' 'libpulse' 'portaudio')
+makedepends=('cmake' 'ladspa' 'doxygen')
+optdepends=('pulseaudio: PulseAudio sound support')
+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=('5344ac889d2927dc2465bae40096d756a9bf9b1100e287ba0621c55ffc76f9cb8fa763f6bc832d701cd0ad2997965cf344f58ae4b3dd445eb3491e3659c093d9')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  mkdir build
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  (
+    cd build
+    cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+             -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+             -Denable-ladspa=ON \
+             -Denable-portaudio=ON \
+             -DLIB_SUFFIX=""
+  )
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make -C build -k check
+}
+
+package() {
+  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,NEWS,README.md,THANKS,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+


More information about the arch-commits mailing list