[arch-commits] Commit in avldrums.lv2/repos/community-x86_64 (4 files)
David Runge
dvzrv at gemini.archlinux.org
Sun Jul 3 10:05:14 UTC 2022
Date: Sunday, July 3, 2022 @ 10:05:14
Author: dvzrv
Revision: 1243745
archrelease: copy trunk to community-x86_64
Added:
avldrums.lv2/repos/community-x86_64/PKGBUILD
(from rev 1243744, avldrums.lv2/trunk/PKGBUILD)
avldrums.lv2/repos/community-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch
(from rev 1243744, avldrums.lv2/trunk/avldrums.lv2-0.4.2-use-system-fluidsynth.patch)
Deleted:
avldrums.lv2/repos/community-x86_64/PKGBUILD
avldrums.lv2/repos/community-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch
------------------------------------------------+
PKGBUILD | 95 +++++++++++---------
avldrums.lv2-0.4.2-use-system-fluidsynth.patch | 108 +++++++++++------------
2 files changed, 108 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-03 10:05:02 UTC (rev 1243744)
+++ PKGBUILD 2022-07-03 10:05:14 UTC (rev 1243745)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=avldrums.lv2
-pkgver=0.4.2
-pkgrel=3
-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-x86_64/PKGBUILD (from rev 1243744, avldrums.lv2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-03 10:05:14 UTC (rev 1243745)
@@ -0,0 +1,54 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=avldrums.lv2
+_commit=00ef993200f2318d8124cd07a75ee0ef02f35f9c # refs/tags/v0.5.0
+pkgver=0.5.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 glibc libglvnd libx11 lv2-host)
+makedepends=(fluidsynth git glib2 glu lv2 pango)
+checkdepends=(lv2lint)
+options=(debug)
+source=(
+ git+https://github.com/x42/$pkgname.git#commit=$_commit
+ 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 -d $pkgname -i ../$pkgname-0.4.2-use-system-fluidsynth.patch
+}
+
+build() {
+ make -C $pkgname
+}
+
+check() {
+ for _name in BlackPearl BlackPearlMulti RedZeppelin RedZeppelinMulti; do
+ lv2lint -Mpack -I "$pkgname/build/" "http://gareus.org/oss/lv2/avldrums#$_name"
+ done
+}
+
+package() {
+ depends+=(libfluidsynth.so libgobject-2.0.so libpango-1.0.so libpangocairo-1.0.so)
+
+ make DESTDIR="$pkgdir" PREFIX=/usr install -C $pkgname
+}
Deleted: avldrums.lv2-0.4.2-use-system-fluidsynth.patch
===================================================================
--- avldrums.lv2-0.4.2-use-system-fluidsynth.patch 2022-07-03 10:05:02 UTC (rev 1243744)
+++ avldrums.lv2-0.4.2-use-system-fluidsynth.patch 2022-07-03 10:05:14 UTC (rev 1243745)
@@ -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
-
Copied: avldrums.lv2/repos/community-x86_64/avldrums.lv2-0.4.2-use-system-fluidsynth.patch (from rev 1243744, avldrums.lv2/trunk/avldrums.lv2-0.4.2-use-system-fluidsynth.patch)
===================================================================
--- avldrums.lv2-0.4.2-use-system-fluidsynth.patch (rev 0)
+++ avldrums.lv2-0.4.2-use-system-fluidsynth.patch 2022-07-03 10:05:14 UTC (rev 1243745)
@@ -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