[arch-commits] Commit in avldrums.lv2/trunk (2 files)

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


    Date: Sunday, December 15, 2019 @ 17:21:17
  Author: dvzrv
Revision: 537757

upgpkg: avldrums.lv2 0.4.1-1

Upgrading to 0.4.1. Updating maintainer info. Adding patch to be able to build against system fluidsynth, instead of bundling it.

Added:
  avldrums.lv2/trunk/avldrums.lv2-0.4.1-use-system-fluidsynth.patch
Modified:
  avldrums.lv2/trunk/PKGBUILD

------------------------------------------------+
 PKGBUILD                                       |   14 +++--
 avldrums.lv2-0.4.1-use-system-fluidsynth.patch |   54 +++++++++++++++++++++++
 2 files changed, 63 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 16:36:09 UTC (rev 537756)
+++ PKGBUILD	2019-12-15 17:21:17 UTC (rev 537757)
@@ -1,6 +1,6 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 pkgname=avldrums.lv2
-pkgver=0.4.0
+pkgver=0.4.1
 pkgrel=1
 pkgdesc="A simple Drum Sample Player Plugin, dedicated to the AVLinux Drumkits"
 arch=('x86_64')
@@ -7,12 +7,14 @@
 url="https://x42-plugins.com/x42/x42-avldrums"
 license=('GPL2')
 groups=('pro-audio' 'lv2-plugins')
-depends=('cairo' 'glib2' 'glibc' 'libglvnd' 'libx11' 'pango')
+depends=('cairo' 'glib2' 'glibc' 'libfluidsynth.so' 'libglvnd' 'libx11' 'pango')
 makedepends=('git' 'glu' 'lv2')
 source=("$pkgname-$pkgver::git+https://github.com/x42/${pkgname}.git#tag=v${pkgver}"
-        "git+https://github.com/x42/robtk")
+        "git+https://github.com/x42/robtk"
+        "${pkgname}-${pkgver}-use-system-fluidsynth.patch")
 sha512sums=('SKIP'
-            'SKIP')
+            'SKIP'
+            '849123389ea7373251ae02fd5fdac0483a0cd000360f324af11e29269df720a0ec5501911cb92ed41a3211dabd0c868c6b626923b8a648a7fc5ff308fe3c18e5')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
@@ -19,6 +21,8 @@
   git submodule init
   git config submodule.robtk.url "${srcdir}/robtk"
   git submodule update
+  # build against system fluidsynth
+  patch -Np1 -i "../${pkgname}-${pkgver}-use-system-fluidsynth.patch"
 }
 
 build() {

Added: avldrums.lv2-0.4.1-use-system-fluidsynth.patch
===================================================================
--- avldrums.lv2-0.4.1-use-system-fluidsynth.patch	                        (rev 0)
+++ avldrums.lv2-0.4.1-use-system-fluidsynth.patch	2019-12-15 17:21:17 UTC (rev 537757)
@@ -0,0 +1,54 @@
+diff --git c/Makefile w/Makefile
+index 1adc235..97847cb 100644
+--- c/Makefile
++++ w/Makefile
+@@ -155,7 +155,7 @@ override CFLAGS += -fPIC -fvisibility=hidden
+ 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`
+ 
+ 
+ GLUICFLAGS+=`pkg-config --cflags cairo pango` $(CFLAGS)
+@@ -231,38 +231,8 @@ endif
+ $(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) src/$(LV2NAME).h src/midnam.h
+ GUI_DEPS = gui/$(LV2NAME).c src/$(LV2NAME).h
+ 



More information about the arch-commits mailing list