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

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


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

archrelease: copy trunk to community-x86_64

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

------------------------------------------------+
 PKGBUILD                                       |   68 ++++++++++++-----------
 avldrums.lv2-0.4.1-use-system-fluidsynth.patch |   54 ++++++++++++++++++
 2 files changed, 90 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 17:21:17 UTC (rev 537757)
+++ PKGBUILD	2019-12-15 17:21:35 UTC (rev 537758)
@@ -1,32 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=avldrums.lv2
-pkgver=0.4.0
-pkgrel=1
-pkgdesc="A simple Drum Sample Player Plugin, dedicated to the AVLinux Drumkits"
-arch=('x86_64')
-url="https://x42-plugins.com/x42/x42-avldrums"
-license=('GPL2')
-groups=('pro-audio' 'lv2-plugins')
-depends=('cairo' 'glib2' 'glibc' '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")
-sha512sums=('SKIP'
-            'SKIP')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  git submodule init
-  git config submodule.robtk.url "${srcdir}/robtk"
-  git submodule update
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" PREFIX='/usr' install
-}

Copied: avldrums.lv2/repos/community-x86_64/PKGBUILD (from rev 537757, avldrums.lv2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-15 17:21:35 UTC (rev 537758)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+pkgname=avldrums.lv2
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A simple Drum Sample Player Plugin, dedicated to the AVLinux Drumkits"
+arch=('x86_64')
+url="https://x42-plugins.com/x42/x42-avldrums"
+license=('GPL2')
+groups=('pro-audio' 'lv2-plugins')
+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"
+        "${pkgname}-${pkgver}-use-system-fluidsynth.patch")
+sha512sums=('SKIP'
+            'SKIP'
+            '849123389ea7373251ae02fd5fdac0483a0cd000360f324af11e29269df720a0ec5501911cb92ed41a3211dabd0c868c6b626923b8a648a7fc5ff308fe3c18e5')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  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() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" PREFIX='/usr' install
+}

Copied: avldrums.lv2/repos/community-x86_64/avldrums.lv2-0.4.1-use-system-fluidsynth.patch (from rev 537757, avldrums.lv2/trunk/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:35 UTC (rev 537758)
@@ -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