From 97bd1efb5e05d0057962cf08c276a8b06fd3cd2d Mon Sep 17 00:00:00 2001 From: Paper Date: Sat, 20 Mar 2021 23:19:47 +0100 Subject: [PATCH] New package: lsp-plugins-1.1.30 --- .../patches/00-makefile-test-remove-cflags.patch | 11 +++++++++++ srcpkgs/lsp-plugins/template | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 srcpkgs/lsp-plugins/patches/00-makefile-test-remove-cflags.patch create mode 100644 srcpkgs/lsp-plugins/template diff --git a/srcpkgs/lsp-plugins/patches/00-makefile-test-remove-cflags.patch b/srcpkgs/lsp-plugins/patches/00-makefile-test-remove-cflags.patch new file mode 100644 index 000000000000..3d56fddad164 --- /dev/null +++ b/srcpkgs/lsp-plugins/patches/00-makefile-test-remove-cflags.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -108,8 +108,6 @@ trace: export EXE_FLAGS += -g3 + trace: compile + + test: OBJDIR = $(TESTDIR) +-test: export CFLAGS += -O2 -DLSP_TESTING -DLSP_TRACE -g3 -fstack-protector +-test: export CXXFLAGS += -O2 -DLSP_TESTING -DLSP_TRACE -g3 -fstack-protector + test: export EXE_TEST_FLAGS += -g3 + test: export MAKE_OPTS += LSP_TESTING=1 + test: export BUILD_MODULES = jack diff --git a/srcpkgs/lsp-plugins/template b/srcpkgs/lsp-plugins/template new file mode 100644 index 000000000000..7a155ee2262f --- /dev/null +++ b/srcpkgs/lsp-plugins/template @@ -0,0 +1,16 @@ +# Template file for 'lsp-plugins' +pkgname=lsp-plugins +version=1.1.30 +revision=1 +build_style=gnu-makefile +make_build_args="BUILD_PROFILE=${XBPS_TARGET_MACHINE}" +hostmakedepends="pkgconf php" +makedepends="libsndfile-devel libX11-devel libglvnd-devel lv2 cairo-devel ladspa-sdk jack-devel" +short_desc="Collection of free plugins compatible with LADSPA, LV2 and LinuxVST" +maintainer="Artur Sinila " +license="LGPL-3.0-or-later" +homepage="https://lsp-plug.in/" +distfiles="https://github.com/sadko4u/lsp-plugins/archive/refs/tags/${version}.tar.gz" +checksum=9cf43257729093c240375b3640b1514dff34b092b83b54a5ee68d7e8565c8f80 + +CXXFLAGS="$CXXFLAGS -std=c++98"