summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2019-02-23 19:55:10 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2019-02-23 19:55:25 -0600
commit1a1d03df4cd1d6e4043229fbd1899a81a196ce36 (patch)
tree4a73c4581a6256b3418403e96787bfb491106b26 /media-libs
parentpackage.mask: mask app-arch/freeze for removal (diff)
downloadgentoo-1a1d03df4cd1d6e4043229fbd1899a81a196ce36.tar.gz
gentoo-1a1d03df4cd1d6e4043229fbd1899a81a196ce36.tar.bz2
gentoo-1a1d03df4cd1d6e4043229fbd1899a81a196ce36.zip
media-libs/lsp-plugins: add 9999 release
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/lsp-plugins/lsp-plugins-9999.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
new file mode 100644
index 000000000000..3a77bc9e13ad
--- /dev/null
+++ b/media-libs/lsp-plugins/lsp-plugins-9999.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"
+
+if [[ ${PV} == *9999 ]];then
+ inherit git-r3
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
+ EGIT_BRANCH="devel"
+else
+ SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${P}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+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_compile(){
+ use doc && MODULES+="doc"
+ use jack && MODULES+=" jack"
+ use ladspa && MODULES+=" ladspa"
+ use lv2 && MODULES+=" lv2"
+ emake BUILD_MODULES="${MODULES}"
+}
+
+src_install(){
+ emake PREFIX="/usr" DESTDIR="${D}" install
+}