-
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 0e2fbd5
Showing
3 changed files
with
60 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,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 | ||
} |