Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lsp-plugins/
Date: Sun, 24 Feb 2019 01:55:43
Message-Id: 1550973325.1a1d03df4cd1d6e4043229fbd1899a81a196ce36.prometheanfire@gentoo
1 commit: 1a1d03df4cd1d6e4043229fbd1899a81a196ce36
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 01:55:10 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 01:55:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1d03df
7
8 media-libs/lsp-plugins: add 9999 release
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 media-libs/lsp-plugins/lsp-plugins-9999.ebuild | 52 ++++++++++++++++++++++++++
14 1 file changed, 52 insertions(+)
15
16 diff --git a/media-libs/lsp-plugins/lsp-plugins-9999.ebuild b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
17 new file mode 100644
18 index 00000000000..3a77bc9e13a
19 --- /dev/null
20 +++ b/media-libs/lsp-plugins/lsp-plugins-9999.ebuild
21 @@ -0,0 +1,52 @@
22 +# Copyright 2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +DESCRIPTION="Linux Studio Plugins"
28 +HOMEPAGE="https://lsp-plug.in"
29 +
30 +if [[ ${PV} == *9999 ]];then
31 + inherit git-r3
32 + SRC_URI=""
33 + EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
34 + EGIT_BRANCH="devel"
35 +else
36 + SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${P}.tar.gz"
37 + S="${WORKDIR}/${PN}-${P}"
38 + KEYWORDS="~amd64 ~x86"
39 +fi
40 +
41 +LICENSE="LGPL-3"
42 +SLOT="0"
43 +IUSE="doc jack ladspa +lv2"
44 +REQUIRED_USE="|| ( jack ladspa lv2 )"
45 +
46 +DEPEND="
47 + dev-libs/expat
48 + media-libs/libsndfile
49 + doc? ( dev-lang/php:* )
50 + jack? (
51 + virtual/jack
52 + x11-libs/cairo
53 + )
54 + ladspa? ( media-libs/ladspa-sdk )
55 + lv2? (
56 + media-libs/lv2
57 + x11-libs/cairo
58 + )
59 +"
60 +RDEPEND="${DEPEND}"
61 +BDEPEND=""
62 +
63 +src_compile(){
64 + use doc && MODULES+="doc"
65 + use jack && MODULES+=" jack"
66 + use ladspa && MODULES+=" ladspa"
67 + use lv2 && MODULES+=" lv2"
68 + emake BUILD_MODULES="${MODULES}"
69 +}
70 +
71 +src_install(){
72 + emake PREFIX="/usr" DESTDIR="${D}" install
73 +}