summaryrefslogtreecommitdiff
path: root/skip/lsp-plugins/lsp-plugins.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'skip/lsp-plugins/lsp-plugins.xibuild')
-rw-r--r--skip/lsp-plugins/lsp-plugins.xibuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/skip/lsp-plugins/lsp-plugins.xibuild b/skip/lsp-plugins/lsp-plugins.xibuild
new file mode 100644
index 0000000..6f494b9
--- /dev/null
+++ b/skip/lsp-plugins/lsp-plugins.xibuild
@@ -0,0 +1,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
+}
+