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

David Runge dvzrv at gemini.archlinux.org
Mon Jul 26 17:36:21 UTC 2021


    Date: Monday, July 26, 2021 @ 17:36:21
  Author: dvzrv
Revision: 985569

archrelease: copy trunk to community-staging-x86_64

Added:
  avldrums.lv2/repos/community-staging-x86_64/
  avldrums.lv2/repos/community-staging-x86_64/PKGBUILD
    (from rev 985568, avldrums.lv2/trunk/PKGBUILD)
  avldrums.lv2/repos/community-staging-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch
    (from rev 985568, avldrums.lv2/trunk/avldrums.lv2-0.4.2-use-system-fluidsynth.patch)

------------------------------------------------+
 PKGBUILD                                       |   41 +++++++++++++++++
 avldrums.lv2-0.4.2-use-system-fluidsynth.patch |   54 +++++++++++++++++++++++
 2 files changed, 95 insertions(+)

Copied: avldrums.lv2/repos/community-staging-x86_64/PKGBUILD (from rev 985568, avldrums.lv2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-07-26 17:36:21 UTC (rev 985569)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=avldrums.lv2
+pkgver=0.4.2
+pkgrel=2
+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' 'glibc' 'libglvnd' 'libx11' 'lv2-host')
+makedepends=('fluidsynth' 'git' 'glib2' 'glu' 'lv2' 'pango')
+source=("git+https://github.com/x42/${pkgname}.git#tag=v${pkgver}"
+        "git+https://github.com/x42/robtk"
+        "${pkgname}-0.4.2-use-system-fluidsynth.patch")
+sha512sums=('SKIP'
+            'SKIP'
+            'a47ac0c731e843000bd0b05e58ed2f1159df596ac2303583ebecd3010cb381506cd704fcd7c187ba45961cffb0c5b73ea01b19fc4c75a2bf376e6d7596d17d33')
+b2sums=('SKIP'
+        'SKIP'
+        'aeff7bd322e9e1fa36c36096cdbfc8f3db9a0a726eda27f9f38375c6b887acddaca4ab907ccf59c633d8813c4d992ffdc23524e5beb4209f851cacef9750c577')
+
+prepare() {
+  cd "${pkgname}"
+  git submodule init
+  git config submodule.robtk.url "${srcdir}/robtk"
+  git submodule update
+  # build against system fluidsynth
+  patch -Np1 -i "../${pkgname}-0.4.2-use-system-fluidsynth.patch"
+}
+
+build() {
+  cd "${pkgname}"
+  make
+}
+
+package() {
+  depends+=('libfluidsynth.so' 'libgobject-2.0.so' 'libpango-1.0.so' 'libpangocairo-1.0.so')
+  cd "${pkgname}"
+  make DESTDIR="$pkgdir/" PREFIX='/usr' install
+}

Copied: avldrums.lv2/repos/community-staging-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch (from rev 985568, avldrums.lv2/trunk/avldrums.lv2-0.4.2-use-system-fluidsynth.patch)
===================================================================
--- community-staging-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch	                        (rev 0)
+++ community-staging-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch	2021-07-26 17:36:21 UTC (rev 985569)
@@ -0,0 +1,54 @@
+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
+ 



More information about the arch-commits mailing list