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

David Runge dvzrv at archlinux.org
Thu Jan 7 13:26:53 UTC 2021


    Date: Thursday, January 7, 2021 @ 13:26:53
  Author: dvzrv
Revision: 811772

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-fluidsynth/repos/multilib-staging-x86_64/
  lib32-fluidsynth/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 811771, lib32-fluidsynth/trunk/PKGBUILD)

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

Copied: lib32-fluidsynth/repos/multilib-staging-x86_64/PKGBUILD (from rev 811771, lib32-fluidsynth/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2021-01-07 13:26:53 UTC (rev 811772)
@@ -0,0 +1,69 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: carstene1ns <arch.carsten at teibes.de>
+# Contributor: Giuseppe Calà  <jiveaxe at gmail.com>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=lib32-fluidsynth
+_name=fluidsynth
+pkgver=2.1.6
+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')
+depends=(
+  fluidsynth=${pkgver}
+  lib32-glibc
+  lib32-libpulse
+  lib32-readline
+  lib32-sdl2
+)
+makedepends=(
+  cmake
+  lib32-alsa-lib
+  lib32-dbus
+  lib32-glib2
+  lib32-jack
+  lib32-ladspa
+  lib32-libinstpatch
+  lib32-libsndfile
+  lib32-portaudio
+)
+optdepends=('pulseaudio: PulseAudio sound support')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${_name}/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('168c882167089b067ec2056c92b19134136f574ca1f793473662274bdb0ae73236711d38ff75a84a738dd866a0f6dd790412d801ecf847e4416d4fb5cd20ae45')
+b2sums=('46e049cf46f96d921bc053fd677ea28f77f73451129253bbc3d7d0fe3ca069a46be34e05db6c3047278fb3e41712d42d5fbd6a3fdaebe09d11953de4beb9b210')
+
+build() {
+  cd "${_name}-${pkgver}"
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE='None' \
+        -DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth \
+        -DLIB_SUFFIX=32 \
+        -Denable-ladspa=ON \
+        -Denable-portaudio=ON \
+        -Wno-dev \
+        -B build \
+        -S .
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  make -C build -k check
+}
+
+package() {
+  depends+=('libasound.so' 'libglib-2.0.so' 'libgmodule-2.0.so'
+  'libgobject-2.0.so' 'libinstpatch-1.0.so' 'libjack.so' 'libportaudio.so'
+  'libsndfile.so')
+  cd "${_name}-${pkgver}"
+
+  make -C build DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list