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
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: try building tip of develop branch
Signed-off-by: Christopher Arndt <[email protected]>
  • Loading branch information
SpotlightKid committed Dec 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9568d80f364d99bd9cb6033341ea0d7b71bba3a9
17 changes: 8 additions & 9 deletions packages/pluginval/PKGBUILD
Original file line number Diff line number Diff line change
@@ -9,21 +9,20 @@ 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)
makedepends=(alsa-lib cmake 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 :)

# Commit, which has tag for last 7.0.x release
_juce_commit='f9b6e2ef69692527e637f741ebc5fe0d79d7ed35'
_juce_commit='113009c07431bdb7952d2564a0039354d03f452b'
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/Tracktion/pluginval/archive/refs/tags/v$pkgver.tar.gz"
"$pkgname::git+https://github.com/Tracktion/$pkgname.git#branch=develop"
"JUCE-$_juce_commit.tar.gz::https://github.com/juce-framework/JUCE/archive/$_juce_commit.tar.gz"
)

sha256sums=('fdc7a7a31823cdf69aef15fd90d6723819f19082136f3edf5683718d33a80d28'
'8d1235bd0a6df819ad36e5678929376796362c9eeb5a3bdaa69317e296e685d3')
sha256sums=('SKIP'
'5e253e530bb68abfb6dce01d8474700255a81a5a5cc3f8774f2ae8c6dc9fcf20')


prepare() {
cd $pkgname-$pkgver
cd $pkgname
test -d modules/juce && rmdir modules/juce
ln -s "$srcdir"/JUCE-$_juce_commit modules/juce
}
@@ -33,7 +32,7 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev \
-B $pkgname-$pkgver-build \
-S $pkgname-$pkgver
-S $pkgname
cmake --build $pkgname-$pkgver-build
}

@@ -42,7 +41,7 @@ package() {
install -vDm 755 $pkgname-$pkgver-build/${pkgname}_artefacts/Release/$pkgname \
-t "$pkgdir"/usr/bin
# Docs
cd $pkgname-$pkgver
cd $pkgname
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
}