Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/calf/
Date: Sun, 10 Mar 2019 22:46:37
Message-Id: 1552257954.c2cc32c6f18e60d91bae06f5b26971d3e6645552.asturm@gentoo
1 commit: c2cc32c6f18e60d91bae06f5b26971d3e6645552
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 10 22:16:03 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 10 22:45:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2cc32c6
7
8 media-plugins/calf: Sync with 0.90.1 changes
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-plugins/calf/calf-9999.ebuild | 66 ++++++++++++++++++++++---------------
14 1 file changed, 39 insertions(+), 27 deletions(-)
15
16 diff --git a/media-plugins/calf/calf-9999.ebuild b/media-plugins/calf/calf-9999.ebuild
17 index f39ee8bb02a..e8aaa6330d7 100644
18 --- a/media-plugins/calf/calf-9999.ebuild
19 +++ b/media-plugins/calf/calf-9999.ebuild
20 @@ -1,8 +1,9 @@
21 # Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 -inherit autotools gnome2-utils
26 +EAPI=7
27 +
28 +inherit autotools xdg
29
30 DESCRIPTION="A set of open source instruments and effects for digital audio workstations"
31 HOMEPAGE="http://calf-studio-gear.org/"
32 @@ -17,23 +18,35 @@ fi
33
34 LICENSE="LGPL-2.1"
35 SLOT="0"
36 -IUSE="cpu_flags_x86_sse gtk jack lash lv2 static-libs experimental"
37 +IUSE="cpu_flags_x86_sse experimental gtk jack lash lv2 static-libs"
38 +
39 +REQUIRED_USE="jack? ( gtk )"
40
41 -RDEPEND="dev-libs/atk
42 +BDEPEND="
43 + virtual/pkgconfig
44 +"
45 +DEPEND="
46 + dev-libs/atk
47 dev-libs/expat
48 dev-libs/glib:2
49 - media-sound/fluidsynth
50 - jack? ( virtual/jack )
51 + media-sound/fluidsynth:=
52 gtk? (
53 x11-libs/cairo
54 - x11-libs/gtk+:2
55 x11-libs/gdk-pixbuf
56 + x11-libs/gtk+:2
57 x11-libs/pango
58 )
59 + jack? ( virtual/jack )
60 lash? ( media-sound/lash )
61 - lv2? ( media-libs/lv2 )"
62 -DEPEND="${RDEPEND}
63 - virtual/pkgconfig"
64 + lv2? ( media-libs/lv2 )
65 +"
66 +RDEPEND="${DEPEND}"
67 +
68 +PATCHES=(
69 + "${FILESDIR}/${PN}-0.90.1-no-automagic.patch"
70 + "${FILESDIR}/${PN}-0.90.1-htmldir.patch"
71 + "${FILESDIR}/${PN}-0.90.1-desktop.patch"
72 +)
73
74 src_prepare() {
75 default
76 @@ -41,24 +54,23 @@ src_prepare() {
77 }
78
79 src_configure() {
80 - # automagic...
81 - #$(use_with gtk gui)
82 - #$(use_with jack)
83 - econf \
84 - --prefix="${EPREFIX}"/usr \
85 - --without-obsolete-check \
86 - $(use_with lash) \
87 - $(use_with lv2 lv2) \
88 - $(usex lv2 "--with-lv2-dir=${EPREFIX}/usr/$(get_libdir)/lv2" "") \
89 - $(use_enable static-libs static) \
90 - $(use_enable cpu_flags_x86_sse sse) \
91 + local myeconfargs=(
92 + --prefix="${EPREFIX}"/usr
93 + --without-obsolete-check
94 $(use_enable experimental)
95 + $(use_enable gtk gui)
96 + $(use_enable jack)
97 + $(use_with lash)
98 + $(use_with lv2 lv2)
99 + $(usex lv2 "--with-lv2-dir=${EPREFIX}/usr/$(get_libdir)/lv2" "")
100 + $(use_enable static-libs static)
101 + $(use_enable cpu_flags_x86_sse sse)
102 + )
103 + econf "${myeconfargs[@]}"
104 }
105
106 -pkg_postinst() {
107 - gnome2_icon_cache_update
108 -}
109 -
110 -pkg_postrm() {
111 - gnome2_icon_cache_update
112 +src_install() {
113 + default
114 + mv "${ED}"/usr/share/bash-completion/completions/calf \
115 + "${ED}"/usr/share/bash-completion/completions/calfjackhost
116 }