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

David Runge dvzrv at archlinux.org
Sun Dec 15 17:55:44 UTC 2019


    Date: Sunday, December 15, 2019 @ 17:55:43
  Author: dvzrv
Revision: 537760

archrelease: copy trunk to community-x86_64

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

-----------------------------------------------+
 PKGBUILD                                      |   56 +++++++++++++-----------
 gmsynth.lv2-0.4.1-use-system-fluidsynth.patch |   53 ++++++++++++++++++++++
 2 files changed, 85 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 17:55:38 UTC (rev 537759)
+++ PKGBUILD	2019-12-15 17:55:43 UTC (rev 537760)
@@ -1,24 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=gmsynth.lv2
-pkgver=0.4.0
-pkgrel=1
-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' 'glib2')
-makedepends=('lv2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('3529666ee04a74d24f4c637a0ae948c5aa4afc5e6148000a353a9390814a1ca0aaedfb4e5716355d4cb4794b4c46f1a61029fcabc1eadeecfb51e69d4e3e494c')
-
-build() {
-  cd "$pkgname-$pkgver"
-  make
-}
-
-package() {
-  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-x86_64/PKGBUILD (from rev 537759, gmsynth.lv2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-15 17:55:43 UTC (rev 537760)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+pkgname=gmsynth.lv2
+pkgver=0.4.1
+pkgrel=1
+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' 'glib2' 'libfluidsynth.so')
+makedepends=('lv2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/x42/${pkgname}/archive/v${pkgver}.tar.gz"
+        "$pkgname-$pkgver-use-system-fluidsynth.patch")
+sha512sums=('3b83d6376c297edc9f88bcaffb888eda730b70d239202d887f80b7df2f0ae316d95af5937e6387b3ff09c351f06f828a965e4fbac7a5af059aab0b89ad7191b3'
+            '5f871b75c8e2e31dac6f780e0e40825d1984e8d6da679a5472f7c402f7cfaf08732b339d4ae23fbb333d4ff76324ee4fc45805caa59464302256c2f4a5006b66')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # use system fluidsynth
+  patch -Np1 -i "../$pkgname-$pkgver-use-system-fluidsynth.patch"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  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-x86_64/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch (from rev 537759, gmsynth.lv2/trunk/gmsynth.lv2-0.4.1-use-system-fluidsynth.patch)
===================================================================
--- gmsynth.lv2-0.4.1-use-system-fluidsynth.patch	                        (rev 0)
+++ gmsynth.lv2-0.4.1-use-system-fluidsynth.patch	2019-12-15 17:55:43 UTC (rev 537760)
@@ -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 glib-2.0 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