Skip to content

Commit

Permalink
feat: add new package 'ratatouille.lv2' (#436)
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Arndt <[email protected]>
  • Loading branch information
SpotlightKid authored Jun 17, 2024
1 parent afb7aa5 commit 034d7ba
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions aur/packages
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ python-pyjacklib
python-soundfile
qjackcapture
rakarrack-plus
ratatouille.lv2
raysession
rezonateur
rtcqs
Expand Down
7 changes: 7 additions & 0 deletions nvchecker/archlinux-proaudio.toml
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@ source = "github"
github = "Stazed/rakarrack-plus"
use_max_tag = true

["ratatouille.lv2"]
source = "github"
github = "brummer10/Ratatouille.lv2"
use_max_tag = true
include_regex = '^v\d+(\.\d+)+$'
prefix = "v"

[raysession]
source = "github"
github = "Houston4444/RaySession"
Expand Down
1 change: 1 addition & 0 deletions nvchecker/old_ver.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"python-soundfile": "0.12.1",
"qjackcapture": "0.2.1",
"rakarrack-plus": "1.2.5",
"ratatouille.lv2": "0.4",
"raysession": "0.14.3",
"rezonateur": "0.1.0",
"rtcqs": "0.6.2",
Expand Down
37 changes: 37 additions & 0 deletions packages/ratatouille.lv2/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

_name=Ratatouille.lv2
pkgname=${_name,,}
pkgver=0.4
pkgrel=1
pkgdesc='A guitar amp neural model and impulse response loader and mixer LV2 plugin'
arch=(aarch64 x86_64)
url="https://github.com/brummer10/$_name"
license=(BSD-3-Clause)
groups=(lv2-plugins pro-audio)
depends=(cairo fftw glibc gcc-libs libsndfile libx11)
makedepends=(lv2 xxd)
checkdepends=(lv2lint)
optdepends=('lv2-host: for loading the LV2 plugin')
source=("https://github.com/brummer10/$_name/releases/download/v$pkgver/$_name-v$pkgver-src.tar.xz")
sha256sums=('35a072473a9c6d354c1d9a01f710497690c53684a5ff83d6654f41828983bd7a')
_plugin_uri="urn:brummer:ratatouille"

build() {
cd $_name-v$pkgver
make
}

check() {
cd $_name-v$pkgver
lv2lint -M pack -s '_Z*' -I bin/$_name "$_plugin_uri"
}

package() {
depens+=(libcairo.so libfftw3f.so libsndfile.so)
cd $_name-v$pkgver
make DESTDIR="$pkgdir" install
install -vDm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
install -vDm 644 README.md Ratatouille.png -t "$pkgdir"/usr/share/doc/$pkgname
}

0 comments on commit 034d7ba

Please sign in to comment.