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 0e2fbd5
Show file tree
Hide file tree
Showing 3 changed files with 60 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
52 changes: 52 additions & 0 deletions packages/pluginval/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=pluginval
pkgver=1.0.3
pkgrel=1
pkgdesc='Cross platform DAW plugin testing and validation tool'
arch=(x86_64 aarch64)
url='https://github.com/Tracktion/pluginval/'
license=(GPL-3.0-only)
depends=(freetype2 glibc gcc-libs)
makedepends=(alsa-lib cmake ladspa webkit2gtk)
groups=(pro-audio)
# Commit, which has tag for last 7.0.x release
_juce_commit='4f43011b96eb0636104cb3e433894cda98243626'
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"
'juce-issue-1314.patch'
)

sha256sums=('fdc7a7a31823cdf69aef15fd90d6723819f19082136f3edf5683718d33a80d28'
'efaeeed2ca988d3ade7b21dd01dca5c79fd9a2fb5884ea6140b31a7a87e61053'
'a1e524c5b5ed13f988712043632360e6549c397390f09c29804e08a5605434fc')


prepare() {
cd $pkgname-$pkgver
test -d modules/juce && rmdir modules/juce
ln -s "$srcdir"/JUCE-$_juce_commit modules/juce
cd modules/juce
patch -p1 -N -r - -i "$srcdir"/juce-issue-1314.patch
}

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 0e2fbd5

Please sign in to comment.