blob: 6f494b9f515496413f0abcf8a4d0ee07825ca038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/sh
NAME="lsp-plugins"
DESC="Collection of free plugins compatible with LADSPA, LV2 and LinuxVST"
MAKEDEPS="cairo jack ladspa libsndfile libxrandr lv2 mesa"
PKG_VER=1.2.3
SOURCE="https://github.com/sadko4u/lsp-plugins/releases/download/$PKG_VER/lsp-plugins-src-$PKG_VER.tar.gz"
ADDITIONAL="
null.patch
"
prepare () {
apply_patches
}
build() {
export CFLAGS="$CFLAGS -O2 -flto=auto -Wno-alloc-size-larger-than"
export CXXFLAGS="$CFLAGS -O2 -flto=auto -Wno-alloc-size-larger-than"
make \
PREFIX=/usr \
ADD_FEATURES=xdg \
config
make PREFIX=/usr
}
package() {
make DESTDIR="$PKG_DEST" PREFIX=/usr install
}
|