Skip to content

Commit

Permalink
feat: add new package 'pluginval'
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Arndt <[email protected]>
  • Loading branch information
SpotlightKid committed Jun 17, 2024
1 parent 034d7ba commit 1ce5764
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nvchecker/archlinux-proaudio.toml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,13 @@ github = "essej/paulxstretch"
use_max_tag = true
prefix = "v"

[pluginval]
source = "github"
github = "Tracktion/pluginval"
use_max_tag = true
include_regex = '^v\d+(\.\d+)+$'
prefix = "v"

[python-miditk-smf]
source = "pypi"
pypi = "miditk-smf"
Expand Down
1 change: 1 addition & 0 deletions nvchecker/old_ver.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"octasine": "0.9.0",
"ola": "0.10.9",
"paulxstretch": "1.6.0",
"pluginval": "1.0.3",
"python-miditk-smf": "0.3.1",
"python-mido": "1.3.2",
"python-pyjacklib": "0.1.1",
Expand Down
51 changes: 51 additions & 0 deletions packages/pluginval/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=pluginval
_plugin_uri='https://github.com/Tracktion/pluginval/'
pkgver=1.0.3
pkgrel=1
pkgdesc='Cross platform DAW plugin testing and validation tool'
arch=(x86_64 aarch64)
url='https://github.com/xunil-cloud/CloudReverb'
license=(GPL-3.0-only)
depends=(freetype2 glibc gcc-libs)
makedepends=(cmake webkit2gtk)
optdepends=(
'jack: for running the standalone version with JACK'
)
groups=(pro-audio)
_juce_commit='f9b6e2ef69692527e637f741ebc5fe0d79d7ed35'
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/Tracktion/pluginval/archive/refs/tags/v$pkgver.tar.gz"
"JUCE-$_juce_commit.tar.gz::https://github.com/juce-framework/JUCE/archive/$_juce_commit.tar.gz"
)

sha256sums=('fdc7a7a31823cdf69aef15fd90d6723819f19082136f3edf5683718d33a80d28'
'8d1235bd0a6df819ad36e5678929376796362c9eeb5a3bdaa69317e296e685d3')


prepare() {
cd $pkgname-$pkgver
test -d modules/juce && rmdir modules/juce
ln -s "$srcdir"/JUCE-$_juce_commit modules/juce
}

build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev \
-B $pkgname-$pkgver-build \
-S $pkgname-$pkgver
cmake --build $pkgname-$pkgver-build
}

package() {
depends+=(libfreetype.so)
install -vDm 755 $pkgname-$pkgver-build/${pkgname}_artefacts/Release/$pkgname \
-t "$pkgdir"/usr/bin
# Docs
cd $pkgname-$pkgver
install -vDm 644 README.md docs/*.md -t "$pkgdir"/usr/share/doc/$pkgname
install -vDm 644 docs/images/*.png -t "$pkgdir"/usr/share/doc/$pkgname/images
}

0 comments on commit 1ce5764

Please sign in to comment.