Skip to content

Commit cbc7117

Browse files
authored
feat: add new package 'melmatcheq.lv2' (#311)
1 parent 3413de2 commit cbc7117

File tree

4 files changed

+57
-0
lines changed

4 files changed

+57
-0
lines changed

nvchecker/archlinux-proaudio.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@ github = "x42/mclk.lv2"
227227
use_max_tag = true
228228
prefix = "v"
229229

230+
["melmatcheq.lv2"]
231+
source = "github"
232+
github = "brummer10/MelMatchEQ.lv2"
233+
use_max_tag = true
234+
include_regex = '^v\d+(\.\d+)+$'
235+
prefix = "v"
236+
230237
["metaltone.lv2"]
231238
source = "github"
232239
github = "brummer10/MetalTone"

nvchecker/old_ver.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"lpd8editor": "0.0.16",
3636
"mamba": "2.5",
3737
"mclk.lv2": "0.2.3",
38+
"melmatcheq.lv2": "0.1",
3839
"metaltone.lv2": "0.1",
3940
"midimonster": "0.6",
4041
"midiomatic": "0.2.1",

packages/melmatcheq.lv2/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix-*.patch

packages/melmatcheq.lv2/PKGBUILD

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
2+
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
3+
4+
_name=MelMatchEQ.lv2
5+
pkgname=${_name,,}
6+
pkgver=0.1
7+
pkgrel=1
8+
pkgdesc='A profiling EQ using a 26 step Mel Frequency Band LV2 plugin'
9+
arch=(aarch64 x86_64)
10+
url="https://github.com/brummer10/$_name"
11+
license=(GPL2)
12+
groups=(lv2-plugins pro-audio)
13+
depends=(cairo glibc gcc-libs libx11)
14+
makedepends=(lv2)
15+
checkdepends=(lv2lint)
16+
optdepends=('lv2-host: for loading the LV2 format plugin')
17+
source=("$_name-$pkgver.tar.gz::https://github.com/brummer10/$_name/archive/refs/tags/v$pkgver.tar.gz"
18+
'fix-shortcut.patch::https://github.com/brummer10/MelMatchEQ.lv2/pull/2.patch'
19+
'fix-manifest.patch::https://github.com/brummer10/MelMatchEQ.lv2/pull/4.patch')
20+
sha256sums=('5cd103056675f723d9f9120f2c8a43b312586caff46882dfe909602a2b10ff47'
21+
'dd0cdac22a24c909d09358e9694a060c58ee3d3884618a6b391ae1af2da49d3f'
22+
'2d27e152e3d829544e667bcd8f64ce4a46fafcf7312ac29fee03866537ca87bd')
23+
_plugin_uri='https://github.com/brummer10/MelMatchEQ#_melmatcheq_'
24+
25+
26+
prepare() {
27+
cd $_name-$pkgver
28+
patch -p1 -N -r - -i "$srcdir"/fix-shortcut.patch
29+
patch -p1 -N -r - -i "$srcdir"/fix-manifest.patch
30+
}
31+
32+
build() {
33+
cd $_name-$pkgver
34+
export CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
35+
make
36+
}
37+
38+
check() {
39+
cd $_name-$pkgver
40+
# Compiled-in UI image resources are externally visible symbols
41+
lv2lint -s '_binary*' -M pack -I gx_${_name,,} "$_plugin_uri"
42+
}
43+
44+
package() {
45+
cd $_name-$pkgver
46+
make DESTDIR="$pkgdir" install
47+
install -vDm 644 README.md ${_name/.lv2/}.png -t "$pkgdir"/usr/share/doc/$pkgname
48+
}

0 commit comments

Comments
 (0)