tone3000-plugin
LOW
maintainer xpufx
0 votes
scanned 2026-09-01 19:49:11.398670
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: xpufx <github@xpufx.com>
2
pkgname=tone3000-plugin
3
pkgver=0.0.2
4
pkgrel=1
5
pkgdesc="TONE3000 — NAM & IR loader plugin (VST3/CLAP/LV2/Standalone) (Built from source)"
6
arch=('x86_64')
7
url="https://github.com/tone-3000/tone3000-plugin"
8
license=('MIT')
9
depends=('webkit2gtk-4.1' 'gtk3' 'alsa-lib' 'freetype2' 'curl' 'hicolor-icon-theme' 'glibc' 'gcc-libs')
10
makedepends=('cmake' 'ninja' 'nodejs' 'npm' 'git' 'pkgconf' 'unzip')
11
optdepends=('jack: JACK audio backend for standalone')
12
# provides not needed for canonical package
13
conflicts=('tone3000-plugin-bin')
14
source=("tone3000-plugin::git+https://github.com/tone-3000/tone3000-plugin.git#tag=v${pkgver}")
15
sha256sums=('SKIP')
16
17
prepare() {
18
cd "tone3000-plugin"
19
git submodule update --init --recursive
20
# UI must be built before CMake (juce_add_binary_data embeds webview)
21
cd ui
22
npm ci --omit=dev 2>/dev/null || npm ci
23
npm run build
24
cd ..
25
}
26
27
build() {
28
cd "tone3000-plugin"
29
cmake -B build -S . -G Ninja \
30
-DCMAKE_BUILD_TYPE=Release \
31
-DCMAKE_TOOLCHAIN_FILE=cmake/linux-toolchain.cmake \
32
-DBUILD_AAX=OFF
33
cmake --build build --parallel
34
}
35
36
package() {
37
cd "tone3000-plugin"
38
# Artefacts layout matches build.yml: build/plugin/TONE3000_artefacts/Release/
39
_ARTEFACTS="build/plugin/TONE3000_artefacts/Release"
40
41
install -Dm755 "${_ARTEFACTS}/Standalone/TONE3000" "${pkgdir}/usr/bin/TONE3000"
42
install -Dm755 "${_ARTEFACTS}/CLAP/TONE3000.clap" "${pkgdir}/usr/lib/clap/TONE3000.clap"
43
44
mkdir -p "${pkgdir}/usr/lib/vst3" "${pkgdir}/usr/lib/lv2"
45
cp -a "${_ARTEFACTS}/VST3/TONE3000.vst3" "${pkgdir}/usr/lib/vst3/"
46
cp -a "${_ARTEFACTS}/LV2/TONE3000.lv2" "${pkgdir}/usr/lib/lv2/"
47
48
find "${pkgdir}/usr/lib" -type d -exec chmod 755 {} +
49
find "${pkgdir}/usr/lib" -type f -name "*.so" -exec chmod 755 {} +
50
51
# Factory presets — system-wide (upstream install.sh replaces, we do same)
52
if compgen -G "resources/factory-presets/*.t3kpreset" > /dev/null; then
53
install -d "${pkgdir}/usr/share/tone3000/factory-presets"
54
install -m644 resources/factory-presets/*.t3kpreset "${pkgdir}/usr/share/tone3000/factory-presets/"
55
fi
56
57
# Icon + desktop entry (absolute Exec)
58
if [ -f "script/installer/linux/tone3000.png" ]; then
59
install -Dm644 "script/installer/linux/tone3000.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/tone3000.png"
60
elif [ -f "tone3000.png" ]; then
61
install -Dm644 "tone3000.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/tone3000.png"
62
fi
63
install -d "${pkgdir}/usr/share/applications"
64
cat > "${pkgdir}/usr/share/applications/tone3000.desktop" <<DESKTOP
65
[Desktop Entry]
66
Type=Application
67
Name=TONE3000
68
Comment=Play NAM captures and IRs straight from TONE3000
69
Exec=/usr/bin/TONE3000
70
Icon=tone3000
71
Terminal=false
72
Categories=AudioVideo;Audio;Music;
73
StartupWMClass=TONE3000
74
DESKTOP
75
76
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
77
}
78
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-01 19:49:11 | Low | 1 |