Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new package 'pluginval' #440

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions nvchecker/archlinux-proaudio.toml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,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 @@ -45,6 +45,7 @@
"ola": "0.10.9",
"ot-simian1": "1.1.0",
"paulxstretch": "1.6.0",
"pluginval": "1.0.4",
"python-miditk-smf": "0.3.1",
"python-mido": "1.3.3",
"python-pyjacklib": "0.1.1",
Expand Down
47 changes: 47 additions & 0 deletions packages/pluginval/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=pluginval
pkgver=1.0.4
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 fontconfig git ladspa webkit2gtk)
groups=(pro-audio)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure whether it makes sense to put this package into the pro-audio group?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, it's certainly related to pro-audio plugins :)

_juce_commit='5179f4e720d8406ebd1b5401c86aea8da6cc83c9'
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=('646140a1af5961b3fcacead22563e88c69d805086e171b9686ffc4be17853246'
'74c34535a848687aaa2f283ad5e77033e5690df8d359fd1891cbe292928812c0')


prepare() {
cd $pkgname-$pkgver
test -d modules/juce && rmdir modules/juce
ln -sf "$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+=(libfontconfig.so 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
}