2019-08-30 04:50:29 +02:00
|
|
|
# Description: Collection of free plugins compatible with LADSPA, LV2 and LinuxVST
|
|
|
|
# URL: https://lsp-plug.in
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-08-21 18:01:39 +02:00
|
|
|
# Depends on: cairo lv2 mesa
|
2023-01-29 11:55:03 +01:00
|
|
|
# Optional: jack ladspa
|
2019-08-30 04:50:29 +02:00
|
|
|
|
|
|
|
name=lsp-plugins
|
2023-10-30 06:55:44 +01:00
|
|
|
version=1.2.13
|
2019-08-30 04:50:29 +02:00
|
|
|
release=1
|
2022-09-10 19:22:30 +02:00
|
|
|
source=(https://github.com/sadko4u/lsp-plugins/releases/download/$version/$name-src-$version.tar.gz)
|
2019-08-30 04:50:29 +02:00
|
|
|
|
|
|
|
build() {
|
2022-03-27 13:47:59 +02:00
|
|
|
cd $name
|
2022-06-25 16:22:45 +02:00
|
|
|
|
2023-01-29 11:55:03 +01:00
|
|
|
prt-get isinst jack && PKGMK_LSP+=' jack' || PKGMK_LSP_SUB+=' jack'
|
|
|
|
prt-get isinst ladspa && PKGMK_LSP+=' ladspa' || PKGMK_LSP_SUB+=' ladspa'
|
2022-06-25 16:22:45 +02:00
|
|
|
|
2023-01-29 11:55:03 +01:00
|
|
|
export CFLAGS="$CFLAGS -O2 -flto=auto"
|
|
|
|
export CXXFLAGS="$CXXFLAGS -O2 -flto=auto"
|
|
|
|
|
|
|
|
make config \
|
|
|
|
PREFIX=/usr \
|
|
|
|
SHARE_PATH=/usr/share \
|
|
|
|
ADD_FEATURES="xdg$PKGMK_LSP" \
|
|
|
|
SUB_FEATURES="doc$PKGMK_LSP_SUB"
|
2019-08-30 04:50:29 +02:00
|
|
|
make
|
2022-03-27 13:47:59 +02:00
|
|
|
make DESTDIR=$PKG install
|
2022-06-25 16:22:45 +02:00
|
|
|
|
2019-08-30 04:50:29 +02:00
|
|
|
rm -fr $PKG/usr/share/doc
|
|
|
|
}
|