Browse Source

Add lsp-plugins, skipping lv2 validation and tests for now

Signed-off-by: falkTX <falktx@falktx.com>
master
falkTX 2 years ago
parent
commit
4c83c0b05f
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 149 additions and 0 deletions
  1. +5
    -0
      sources/plugins/lsp-plugins/debian/changelog
  2. +86
    -0
      sources/plugins/lsp-plugins/debian/control
  3. +2
    -0
      sources/plugins/lsp-plugins/debian/lsp-plugins.install
  4. +56
    -0
      sources/plugins/lsp-plugins/debian/rules

+ 5
- 0
sources/plugins/lsp-plugins/debian/changelog View File

@@ -0,0 +1,5 @@
lsp-plugins (6:1.2.1-1kxstudio1) focal; urgency=medium

* Initial package

-- falkTX <falktx@falktx.com> Sun, 17 Apr 2022 15:05:47 +0100

+ 86
- 0
sources/plugins/lsp-plugins/debian/control View File

@@ -0,0 +1,86 @@
Source: lsp-plugins
Section: sound
Priority: optional
Maintainer: falkTX <falktx@falktx.com>
Build-Depends: debhelper-compat (= 13),
kxstudio-audio-plugin-tester (>= 9),
libcairo-dev,
libgl1-mesa-dev,
libglu1-mesa-dev,
libjack-jackd2-dev | libjack-dev,
ladspa-sdk,
lv2-dev,
php-cli,
libexpat-static,
libsndfile-static
Standards-Version: 4.5.0
Homepage: http://lsp-plug.in/
XSC-KXStudio-VCS: https://github.com/sadko4u/lsp-plugins
Rules-Requires-Root: no

Package: lsp-plugins
Provides: standalone-plugin, lv2-plugin, vst-plugin, ladspa-plugin
Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends}
Breaks:
lsp-plugins-jack (<< 5:1.1.10-1kxstudio1),
lsp-plugins-ladspa (<< 5:1.1.10-1kxstudio1),
lsp-plugins-lv2 (<< 5:1.1.10-1kxstudio1),
lsp-plugins-vst (<< 5:1.1.10-1kxstudio1)
Conflicts:
lsp-plugins-jack (<< 5:1.1.10-1kxstudio1),
lsp-plugins-ladspa (<< 5:1.1.10-1kxstudio1),
lsp-plugins-lv2 (<< 5:1.1.10-1kxstudio1),
lsp-plugins-vst (<< 5:1.1.10-1kxstudio1)
Description: LSP (Linux Studio Plugins) audio-plugins package
This package provide 91 plugins.
.
Audio effects: limiters, dynamic processors, expanders, gates,
graphic equalisers, impulse responses, impulse reverbs, compressors,
multiband compressors, parametric equalisers, phase detector,
sidechain multiband compressors, sidechain limiters,
sidechain dynamic processors, sidechain expanders, sidechain gates,
sidechain compressors, slapback delays, delay compensators, triggers.
.
Synths: samplers, and multisamplers.
.
Tools: latency meters, oscillators, profiler, spectrum analyzers,
and MIDI triggers
.
Available as LV2, LADSPA and jack-standalone.
.
Documentation page : http://librazik.tuxfamily.org/doc2/paquets
.
KXStudio package imported from LibraZiK

Package: lsp-plugins-data
Architecture: all
Depends: ${misc:Depends}
Description: Dummy package
This is a dummy package and can be safely removed if nothing depends on it.

Package: lsp-plugins-jack
Architecture: all
Depends: ${misc:Depends}
Description: Dummy package
This is a dummy package and can be safely removed if nothing depends on it.

Package: lsp-plugins-ladspa
Architecture: all
Depends: ${misc:Depends}
Description: Dummy package
This is a dummy package and can be safely removed if nothing depends on it.

Package: lsp-plugins-lv2
Architecture: all
Depends: ${misc:Depends}
Description: Dummy package
This is a dummy package and can be safely removed if nothing depends on it.

Package: lsp-plugins-vst
Architecture: all
Depends: ${misc:Depends}
Description: Dummy package
This is a dummy package and can be safely removed if nothing depends on it.

+ 2
- 0
sources/plugins/lsp-plugins/debian/lsp-plugins.install View File

@@ -0,0 +1,2 @@
/usr/bin/
/usr/lib/

+ 56
- 0
sources/plugins/lsp-plugins/debian/rules View File

@@ -0,0 +1,56 @@
#!/usr/bin/make -f

KXSTUDIO_NO_FASTMATH = y
KXSTUDIO_NO_LTO = y
include /usr/share/dpkg/kxstudio-audio-plugin.mk

ifeq ($(DEB_HOST_ARCH),armhf)
ARCHITECTURE = armv7ve
else ifeq ($(DEB_HOST_ARCH),arm64)
ARCHITECTURE = aarch64
else
ARCHITECTURE = x86_64
endif

# these have custom names on LSP makefiles
export EXE_FLAGS = $(LDFLAGS)
export SO_FLAGS = $(LDFLAGS)

# handy if we want to hide symbols, still does not work though.. :(
# export CFLAGS += -DLSP_DSP_LIB_BUILTIN -DLSP_DSP_UNITS_BUILTIN
# export CXXFLAGS += -DLSP_DSP_LIB_BUILTIN -DLSP_DSP_UNITS_BUILTIN

# FIXME https://github.com/sadko4u/lsp-plugins/issues/253
export LV2LINT_SKIP = y
export LV2LINT_EXTRA_FLAGS = -s 'INT123_*'

%:
dh $@

override_dh_auto_configure:
$(MAKE) config ARCHITECTURE=$(ARCHITECTURE) FEATURES='ladspa lv2 vst2 jack' PREFIX=/usr
# make it read our custom flags too
sed -i 's/^CFLAGS=/CFLAGS+=/' .config.mk
sed -i 's/^CXXFLAGS=/CXXFLAGS+=/' .config.mk
sed -i 's/^EXE_FLAGS=/EXE_FLAGS+=/' .config.mk
sed -i 's/^SO_FLAGS=/SO_FLAGS+=/' .config.mk

override_dh_auto_install:
dh_auto_install

# Remove versioned ladspa plugin
mv debian/tmp/usr/lib/ladspa/lsp-plugins-ladspa-*.so debian/tmp/usr/lib/ladspa/lsp-plugins-ladspa.so

# Remove unused files
rm debian/tmp/usr/lib/*.a
rm debian/tmp/usr/lib/*.so
rm -r debian/tmp/usr/lib/pkgconfig

# Make lv2 validators happy
sed -i -z 's|\tfoaf:mbox <mailto:lsp.plugin@gmail.com> ;\n\tfoaf:homepage <http://lsp-plug.in/#v_sadovnikov>|\tfoaf:mbox <mailto:lsp.plugin+sadko@gmail.com> ;\n\tfoaf:homepage <http://lsp-plug.in/#v_sadovnikov>|g' debian/tmp/usr/lib/lv2/lsp-plugins.lv2/*.ttl

override_dh_install:
dh_install

# FIXME http://lsp-plug.in/plugins/lv2/art_delay_mono has memory leaks, also symbol exports
#$(call kxstudio_audio_plugin_test)

Loading…
Cancel
Save