diff options
author | Christopher Arndt | 2024-04-04 01:57:06 +0200 |
---|---|---|
committer | Christopher Arndt | 2024-04-04 01:57:06 +0200 |
commit | f72026ab2e058f29c672152abda39ba6483dcc29 (patch) | |
tree | 809173b2505768734ceee430accd3125a767b7eb /PKGBUILD | |
parent | 4ec25871d4877d1c715ffac793baa46b3c3bf1a7 (diff) | |
download | aur-mda-lv2-git.tar.gz |
Updates due to upstream changes
* Updated project URL.
* Updated `license` field to use SPDX identifier.
* Upstream added 0BSD and MIT license.
* Install license files.
* Added `check()` function with `lv2lint` checks.
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 23 insertions, 8 deletions
@@ -1,13 +1,13 @@ # Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> _pkgname=mda-lv2 -pkgname="$_pkgname-git" -pkgver=1.2.10.r244.da3df70 +pkgname=$_pkgname-git +pkgver=1.2.10.r262.5101d1a pkgrel=1 pkgdesc='A port of the MDA VST plugins to the LV2 format (git version)' arch=(x86_64) -url='https://drobilla.net/software/mda-lv2/' -license=(GPL2) +url='http://drobilla.net/software/mda-lv2.html' +license=(0BSD GPL-2.0-or-later MIT) groups=(lv2-plugins pro-audio) depends=(gcc-libs glibc) makedepends=(git lv2 meson python) @@ -27,14 +27,29 @@ build() { meson compile -C $_pkgname-build } -# tests require 'autoship', which is not packaged nor vendored in the project -#check() { -# meson test -C $_pkgname-build -#} +check() { + local _plugins _plugin + _plugins=(Ambience Bandisto BeatBox Combo DX10 DeEss Degrade Delay Detune + Dither DubDelay Dynamics EPiano Image JX10 Leslie Limiter Loudness MultiBand + Overdrive Piano RePsycho RezFilter RingMod RoundPan Shepard Splitter Stereo + SubSynth TalkBox TestTone ThruZero Tracker Transient VocInput Vocoder) + + for _plugin in "${_plugins[@]}"; do + # NOTE: whitelist globally visible library: https://gitlab.com/drobilla/mda-lv2/-/issues/2 + lv2lint -Mpack -s lvz_new_audioeffectx -I "$_pkgname-build/mda.lv2" \ + "http://drobilla.net/plugins/mda/$_plugin" + done + + # upstream tests require 'autoship', which is not packaged nor vendored in the project + #meson test -C $_pkgname-build +} + + package() { meson install -C $_pkgname-build --destdir "$pkgdir" install -vDm 644 $_pkgname/{NEWS,README.md} -t "$pkgdir"/usr/share/doc/$pkgname + install -vDm 644 $_pkgname/LICENSES/* -t "$pkgdir"/usr/share/licenses/$pkgname } # vim:set ts=2 sw=2 et: |