zl-limiter-vst3
LOW
maintainer SamWhited
0 votes
base
zl-limiter
scanned 2026-10-31 19:58:49.989948
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: Sam Whited <sam@samwhited.com>
2
3
pkgbase='zl-limiter'
4
pkgname=('zl-limiter-vst3' 'zl-limiter-lv2' 'zl-limiter')
5
pkgver='0.0.1'
6
pkgrel=2
7
pkgdesc='Mastering limiter plugin'
8
arch=('x86_64' 'aarch64')
9
url='https://zl-audio.github.io/plugins/zllimiter/'
10
license=('AGPL-3.0-only')
11
groups=('pro-audio' 'zl-audio')
12
depends=(
13
'alsa-lib'
14
'fontconfig'
15
'freetype2'
16
'highway'
17
'libx11'
18
'libxcomposite'
19
'libxcursor'
20
'libxext'
21
'libxi'
22
'libxinerama'
23
'libxrandr'
24
'libxrender'
25
)
26
makedepends=(
27
'clang'
28
'cmake'
29
'ninja'
30
)
31
32
_jucecommit=388cba6a326c0704e58ba74b866309d5f775f2d6
33
34
source=(
35
"${pkgbase}_${pkgver}.zip::https://github.com/ZL-Audio/ZLLimiter/archive/refs/tags/${pkgver}.tar.gz"
36
"juce_${_jucecommit}.zip::https://github.com/ZL-Audio/JUCE/archive/${_jucecommit}.zip"
37
)
38
sha256sums=('f5b2898c872326e27c05af56016a20c2d4626210ec08372984c38b7c067ec223'
39
'a42f50c1cdc19ecf047f5e97c92750b863d35dd69a9006e2727ed2508645bd7e')
40
41
prepare() {
42
cd "ZLLimiter-${pkgver}/"
43
44
# These need to be a subdirectory for makepkg to pick it up.
45
# Would it be better to set them as noextract and then manually unzip them to
46
# the correct palce?
47
# Alternatively we could extract them to the normal location and then re-write
48
# the cmake build file to search for them there instead of moving them
49
# in-tree.
50
rm -rf JUCE
51
mv ../JUCE-${_jucecommit} JUCE
52
53
# Use system libraries
54
sed 's|add_subdirectory(highway)|find_package(hwy CONFIG REQUIRED)|' -i CMakeLists.txt
55
}
56
57
build() {
58
cd "ZLLimiter-${pkgver}/"
59
60
local CXXFLAGS="${CXXFLAGS//-Wp,-D_GLIBCXX_ASSERTIONS/}"
61
local cmake_options=(
62
-B "${srcdir}/ZLLimiter-${pkgver}/Builds"
63
-S "${srcdir}/ZLLimiter-${pkgver}/"
64
-G Ninja
65
-W no-author
66
-DCMAKE_BUILD_TYPE=None
67
-DCMAKE_INSTALL_PREFIX=/usr
68
-DCMAKE_C_COMPILER=clang
69
-DCMAKE_CXX_COMPILER=clang++
70
-DCMAKE_C_FLAGS="$CFLAGS"
71
-DCMAKE_CXX_FLAGS="$CXXFLAGS"
72
-DCMAKE_SKIP_INSTALL_RPATH=YES
73
-DZL_JUCE_COPY_PLUGIN=FALSE
74
-DZL_JUCE_FORMATS="VST3;LV2"
75
-DZL_HWY_STATIC_TARGET="AVX2"
76
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
77
)
78
cmake "${cmake_options[@]}"
79
cmake --build "${srcdir}/ZLLimiter-${pkgver}/Builds"
80
}
81
82
package_zl-limiter-vst3() {
83
groups+=('vst3-plugins')
84
pkgdesc+=' (VST3 version)'
85
86
cd "ZLLimiter-${pkgver}/"
87
mkdir -p "${pkgdir}/usr/lib/vst3/"
88
cp -r Builds/ZLLimiter_artefacts/None/VST3/* "${pkgdir}/usr/lib/vst3"
89
}
90
91
package_zl-limiter-lv2() {
92
groups+=('lv2-plugins')
93
pkgdesc+=' (LV2 version)'
94
95
cd "ZLLimiter-${pkgver}/"
96
mkdir -p "${pkgdir}/usr/lib/lv2/"
97
cp -r Builds/ZLLimiter_artefacts/None/LV2/* "${pkgdir}/usr/lib/lv2"
98
}
99
100
package_zl-limiter() {
101
pkgdesc+=' (metapackage that requires all plugin formats)'
102
depends+=('zl-limiter-vst3' 'zl-limiter-lv2')
103
}
104
105
# vim:set ts=2 sw=2 et:
106
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-31 19:58:49 | Low | 1 |