[arch-commits] Commit in gmsynth.lv2/repos (3 files)

David Runge dvzrv at gemini.archlinux.org
Mon Jul 26 17:44:32 UTC 2021


    Date: Monday, July 26, 2021 @ 17:44:32
  Author: dvzrv
Revision: 985587

archrelease: copy trunk to community-staging-x86_64

Added:
  gmsynth.lv2/repos/community-staging-x86_64/
  gmsynth.lv2/repos/community-staging-x86_64/PKGBUILD
    (from rev 985586, gmsynth.lv2/trunk/PKGBUILD)
  gmsynth.lv2/repos/community-staging-x86_64/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch
    (from rev 985586, gmsynth.lv2/trunk/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch)

-----------------------------------------------+
 PKGBUILD                                      |   42 +++++++++++++++++++
 gmsynth.lv2-0.4.1-use-system-fluidsynth.patch |   53 ++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

Copied: gmsynth.lv2/repos/community-staging-x86_64/PKGBUILD (from rev 985586, gmsynth.lv2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-07-26 17:44:32 UTC (rev 985587)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=gmsynth.lv2
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="General MIDI LV2 Synth"
+arch=('x86_64')
+url="https://x42-plugins.com/x42/x42-gmsynth"
+license=('GPL2')
+groups=('pro-audio' 'lv2-plugins')
+depends=('glibc')
+makedepends=('fluidsynth' 'lv2')
+checkdepends=('lv2lint')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/${pkgname}/archive/v${pkgver}.tar.gz"
+        "$pkgname-0.4.1-use-system-fluidsynth.patch")
+sha512sums=('7059c560c514aa2fc5c342448f5437e29b84c7f391e163e7bb3312f39733270814d01e50dad18a793c3f2e7c5d09314a88dfa72a9c50d951935003741baf6256'
+            '80dbc28624c2f3636c1ae8599b9b755d9b9733474254f10b2427e00c8d849ff997c5fad7ad80d08af6a67fb6c92946e71cc55d9fe6d45e5c34581d40cd9fde07')
+b2sums=('70bcd32a166bcf01afbd1d6cc362bca50759af304603e84c79a9ccd40fd71e49161ce1801a130e7e4b2cfbdc711a21f702eb1e4dfc611d2ee224375f1a483bd0'
+        '502b5fc39a2b1780cded2fd180d9bab1cd073a9a73654fd5a4f873031ab1575d3a3c1649ff3f636f3da81a2ab00aea87be89a3cc9815de79b2a099584f2b7007')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # use system fluidsynth
+  patch -Np1 -i "../$pkgname-0.4.1-use-system-fluidsynth.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  lv2lint -Mpack -I build "http://gareus.org/oss/lv2/gmsynth"
+}
+
+package() {
+  depends+=('libfluidsynth.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" PREFIX='/usr' install
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: gmsynth.lv2/repos/community-staging-x86_64/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch (from rev 985586, gmsynth.lv2/trunk/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch)
===================================================================
--- community-staging-x86_64/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch	                        (rev 0)
+++ community-staging-x86_64/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch	2021-07-26 17:44:32 UTC (rev 985587)
@@ -0,0 +1,53 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile	2019-12-03 00:27:25.000000000 +0100
++++ b/Makefile	2019-12-15 18:26:09.203720789 +0100
+@@ -85,7 +85,7 @@
+ else
+ override CFLAGS += -DPTW32_STATIC_LIB
+ endif
+-override LOADLIBES += `pkg-config $(PKG_UI_FLAGS) --libs glib-2.0`
++override LOADLIBES += `pkg-config $(PKG_UI_FLAGS) --libs fluidsynth`
+ 
+ 
+ ###############################################################################
+@@ -110,38 +110,8 @@
+ $(BUILDDIR)%.sf2:
+ 	cp -v sf2/$(*F).sf2 $@
+ 
+-FLUID_SRC = \
+-            fluidsynth/src/fluid_adsr_env.c \
+-            fluidsynth/src/fluid_chan.c \
+-            fluidsynth/src/fluid_chorus.c \
+-            fluidsynth/src/fluid_conv.c \
+-            fluidsynth/src/fluid_defsfont.c \
+-            fluidsynth/src/fluid_event.c \
+-            fluidsynth/src/fluid_gen.c \
+-            fluidsynth/src/fluid_hash.c \
+-            fluidsynth/src/fluid_iir_filter.c \
+-            fluidsynth/src/fluid_lfo.c \
+-            fluidsynth/src/fluid_list.c \
+-            fluidsynth/src/fluid_midi.c \
+-            fluidsynth/src/fluid_mod.c \
+-            fluidsynth/src/fluid_rev.c \
+-            fluidsynth/src/fluid_ringbuffer.c \
+-            fluidsynth/src/fluid_rvoice.c \
+-            fluidsynth/src/fluid_rvoice_dsp.c \
+-            fluidsynth/src/fluid_rvoice_event.c \
+-            fluidsynth/src/fluid_rvoice_mixer.c \
+-            fluidsynth/src/fluid_samplecache.c \
+-            fluidsynth/src/fluid_settings.c \
+-            fluidsynth/src/fluid_sffile.c \
+-            fluidsynth/src/fluid_sfont.c \
+-            fluidsynth/src/fluid_synth.c \
+-            fluidsynth/src/fluid_synth_monopoly.c \
+-            fluidsynth/src/fluid_sys.c \
+-            fluidsynth/src/fluid_tuning.c \
+-            fluidsynth/src/fluid_voice.c
+-
+-CPPFLAGS += -Ifluidsynth -I fluidsynth/fluidsynth -DHAVE_CONFIG_H -D DEFAULT_SOUNDFONT=\"\"
+-DSP_SRC  = src/$(LV2NAME).c $(FLUID_SRC)
++CPPFLAGS += -DHAVE_CONFIG_H -D DEFAULT_SOUNDFONT=\"\"
++DSP_SRC  = src/$(LV2NAME).c
+ DSP_DEPS = $(DSP_SRC)
+ 
+ $(BUILDDIR)$(LV2NAME)$(LIB_EXT): $(DSP_DEPS) Makefile



More information about the arch-commits mailing list