-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new package 'ratatouille.lv2' (#436)
Signed-off-by: Christopher Arndt <[email protected]>
- Loading branch information
1 parent
afb7aa5
commit 034d7ba
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |