-
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.
Signed-off-by: Christopher Arndt <[email protected]>
- Loading branch information
1 parent
034d7ba
commit 1ce5764
Showing
3 changed files
with
59 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
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 | ||
} |