summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2019-02-23 16:23:09 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2019-02-23 16:25:10 -0600
commit4f83787f6366168ebdd13164478212eaa73c6b48 (patch)
treec5d85a21ef16b058783dd1be28dda5082e2c157b /media-libs/lsp-plugins
parentapp-crypt/dieharder: resolve undefined symbols (diff)
downloadgentoo-4f83787f6366168ebdd13164478212eaa73c6b48.tar.gz
gentoo-4f83787f6366168ebdd13164478212eaa73c6b48.tar.bz2
gentoo-4f83787f6366168ebdd13164478212eaa73c6b48.zip
media-libs/lsp-plugins: initial add for pulseeffects
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'media-libs/lsp-plugins')
-rw-r--r--media-libs/lsp-plugins/Manifest1
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-1.1.5.ebuild52
-rw-r--r--media-libs/lsp-plugins/metadata.xml15
3 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/lsp-plugins/Manifest b/media-libs/lsp-plugins/Manifest
new file mode 100644
index 000000000000..74f90e7c1587
--- /dev/null
+++ b/media-libs/lsp-plugins/Manifest
@@ -0,0 +1 @@
+DIST lsp-plugins-1.1.5.tar.gz 51911033 BLAKE2B ec9b6f3715f1043537ebe35d14abda85b8dfe23d52d335c54c02eb2867753c9b256a5acd71537c95d6da273d054f0e0c9439fe2f81f6d6ced3087de93bfaef60 SHA512 42b9cd102247a0165a32f82a5a7ce05928a9703c80f215783ad67020d1f975d1c334af1f86c9f17e76bea3fd90bcf5c47fff5618875038b3655621880b60a699
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.1.5.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.1.5.ebuild
new file mode 100644
index 000000000000..c0b465f1b340
--- /dev/null
+++ b/media-libs/lsp-plugins/lsp-plugins-1.1.5.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Linux Studio Plugins"
+HOMEPAGE="https://lsp-plug.in"
+SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc jack ladspa +lv2"
+REQUIRED_USE="|| ( jack ladspa lv2 )"
+
+DEPEND="
+ dev-libs/expat
+ media-libs/libsndfile
+ doc? ( dev-lang/php:* )
+ jack? (
+ virtual/jack
+ x11-libs/cairo
+ )
+ ladspa? ( media-libs/ladspa-sdk )
+ lv2? (
+ media-libs/lv2
+ x11-libs/cairo
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare(){
+ eapply_user
+ sed -i '/install_.*: all/s/ all//g' Makefile
+}
+
+src_compile(){
+ use doc && MODULES+="doc"
+ use jack && MODULES+=" jack"
+ use ladspa && MODULES+=" ladspa"
+ use lv2 && MODULES+=" lv2"
+ emake BUILD_MODULES="${MODULES}"
+}
+
+src_install(){
+ use doc && emake PREFIX="/usr" DESTDIR="${D}" install_doc
+ use jack && emake PREFIX="/usr" DESTDIR="${D}" install_jack
+ use ladspa && emake PREFIX="/usr" DESTDIR="${D}" install_ladspa
+ use lv2 && emake PREFIX="/usr" DESTDIR="${D}" install_lv2
+}
diff --git a/media-libs/lsp-plugins/metadata.xml b/media-libs/lsp-plugins/metadata.xml
new file mode 100644
index 000000000000..3f22e62fabbf
--- /dev/null
+++ b/media-libs/lsp-plugins/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <longdescription lang="en">
+ LSP (Linux Studio Plugins) is a collection of open-source plugins
+ currently compatible with LADSPA, LV2 and LinuxVST formats.
+ </longdescription>
+ <use>
+ <flag name="lv2">build lv2 plugins</flag>
+ </use>
+</pkgmetadata>