Date: Thursday, March 16, 2023 @ 08:06:44
  Author: dvzrv
Revision: 1420994

upgpkg: avldrums.lv2 0.6.0-1: Upgrade to 0.6.0.

Update devendoring patch for system fluidsynth.

Added:
  avldrums.lv2/trunk/avldrums.lv2-0.6.0-use-system-fluidsynth.patch
Modified:
  avldrums.lv2/trunk/PKGBUILD
Deleted:
  avldrums.lv2/trunk/avldrums.lv2-0.4.2-use-system-fluidsynth.patch

------------------------------------------------+
 PKGBUILD                                       |   29 ++++++++----
 avldrums.lv2-0.4.2-use-system-fluidsynth.patch |   54 -----------------------
 avldrums.lv2-0.6.0-use-system-fluidsynth.patch |   54 +++++++++++++++++++++++
 3 files changed, 75 insertions(+), 62 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-16 08:01:36 UTC (rev 1420993)
+++ PKGBUILD    2023-03-16 08:06:44 UTC (rev 1420994)
@@ -1,8 +1,8 @@
 # Maintainer: David Runge <[email protected]>
 
 pkgname=avldrums.lv2
-_commit=3a26ff7291591bf3130b72a25b91e0bcf58dfb24  # refs/tags/v0.5.2
-pkgver=0.5.2
+_commit=2e1b5ca0ccfd3ea447b8616eb3d3c19b9e12462a  # refs/tags/v0.6.0
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="A simple Drum Sample Player Plugin, dedicated to the AVLinux Drumkits"
 arch=(x86_64)
@@ -9,20 +9,33 @@
 url="https://x42-plugins.com/x42/x42-avldrums";
 license=(GPL2)
 groups=(pro-audio lv2-plugins)
-depends=(cairo glibc libx11 lv2-host)
-makedepends=(fluidsynth git glib2 glu libglvnd lv2 pango)
+depends=(
+  cairo
+  glibc
+  libx11
+  lv2-host
+)
+makedepends=(
+  fluidsynth
+  git
+  glib2
+  glu
+  libglvnd
+  lv2
+  pango
+)
 checkdepends=(lv2lint)
 source=(
   git+https://github.com/x42/$pkgname.git#tag=$_commit
   git+https://github.com/x42/robtk
-  $pkgname-0.4.2-use-system-fluidsynth.patch
+  $pkgname-0.6.0-use-system-fluidsynth.patch
 )
 sha512sums=('SKIP'
             'SKIP'
-            
'a47ac0c731e843000bd0b05e58ed2f1159df596ac2303583ebecd3010cb381506cd704fcd7c187ba45961cffb0c5b73ea01b19fc4c75a2bf376e6d7596d17d33')
+            
'fdf48b606630d8c17df0e5b7cfda5b580c77d0237c5c76bdf6c831f693a70401ad66a94a2e4dc2ec04636654bf65256a27b985a963c5ad4c8948baa61a726f4d')
 b2sums=('SKIP'
         'SKIP'
-        
'aeff7bd322e9e1fa36c36096cdbfc8f3db9a0a726eda27f9f38375c6b887acddaca4ab907ccf59c633d8813c4d992ffdc23524e5beb4209f851cacef9750c577')
+        
'b9a492b48ed34c0705e8e75a3ce4c971bd61e2efe93432c81785cb314815995edb6144a311841025acdbaa0ceef2684cc2f1d872a53a191518909f263c88571a')
 
 prepare() {
   (
@@ -33,7 +46,7 @@
   )
 
   # build against system fluidsynth
-  patch -Np1 -d $pkgname -i ../$pkgname-0.4.2-use-system-fluidsynth.patch
+  patch -Np1 -d $pkgname -i ../$pkgname-0.6.0-use-system-fluidsynth.patch
 }
 
 build() {

Deleted: avldrums.lv2-0.4.2-use-system-fluidsynth.patch
===================================================================
--- avldrums.lv2-0.4.2-use-system-fluidsynth.patch      2023-03-16 08:01:36 UTC 
(rev 1420993)
+++ avldrums.lv2-0.4.2-use-system-fluidsynth.patch      2023-03-16 08:06:44 UTC 
(rev 1420994)
@@ -1,54 +0,0 @@
-diff --git i/Makefile w/Makefile
-index c5191cc..2c6b26d 100644
---- i/Makefile
-+++ w/Makefile
-@@ -156,7 +156,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)
-@@ -232,38 +232,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
- 

Added: avldrums.lv2-0.6.0-use-system-fluidsynth.patch
===================================================================
--- avldrums.lv2-0.6.0-use-system-fluidsynth.patch                              
(rev 0)
+++ avldrums.lv2-0.6.0-use-system-fluidsynth.patch      2023-03-16 08:06:44 UTC 
(rev 1420994)
@@ -0,0 +1,54 @@
+diff --git i/Makefile w/Makefile
+index 4037a42..df6ab91 100644
+--- i/Makefile
++++ w/Makefile
+@@ -173,7 +173,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)
+@@ -266,38 +266,8 @@ $(BUILDDIR)%.sf2:
+       @mkdir -p $(BUILDDIR)
+       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
+ GUI_DEPS = gui/$(LV2NAME).c src/$(LV2NAME).h
+ 

Reply via email to