Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/terminatorx/
Date: Thu, 04 Jan 2018 22:17:08
Message-Id: 1515104217.de9c3366dd7f95805538db7dea8121a0a35ffbd2.pacho@gentoo
1 commit: de9c3366dd7f95805538db7dea8121a0a35ffbd2
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 22:16:18 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 22:16:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de9c3366
7
8 media-sound/terminatorx: Force building with X support (-X fails to build, bug #636832)
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 ...orx-4.0.1.ebuild => terminatorx-4.0.1-r1.ebuild} | 21 +++++++++++----------
13 1 file changed, 11 insertions(+), 10 deletions(-)
14
15 diff --git a/media-sound/terminatorx/terminatorx-4.0.1.ebuild b/media-sound/terminatorx/terminatorx-4.0.1-r1.ebuild
16 similarity index 78%
17 rename from media-sound/terminatorx/terminatorx-4.0.1.ebuild
18 rename to media-sound/terminatorx/terminatorx-4.0.1-r1.ebuild
19 index 745580ace2d..3ce3c4f5ac0 100644
20 --- a/media-sound/terminatorx/terminatorx-4.0.1.ebuild
21 +++ b/media-sound/terminatorx/terminatorx-4.0.1-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 +# Copyright 1999-2018 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -13,7 +13,8 @@ SRC_URI="http://www.terminatorx.org/dist/${MY_P}.tar.bz2"
29 LICENSE="GPL-2"
30 SLOT="0"
31 KEYWORDS="~amd64 ~x86"
32 -IUSE="X alsa debug mad pulseaudio vorbis sox"
33 +# Making X optional fails when disabled: https://bugs.gentoo.org/636832
34 +IUSE="alsa debug mad pulseaudio vorbis sox"
35
36 RDEPEND="
37 alsa? ( media-libs/alsa-lib )
38 @@ -25,12 +26,12 @@ RDEPEND="
39 x11-libs/gtk+:3
40 >=dev-libs/glib-2.2:2
41
42 - X? (
43 - x11-libs/libXi
44 - x11-libs/libXxf86dga
45 - x11-proto/xproto
46 - x11-proto/inputproto
47 - x11-proto/xf86dgaproto )
48 + x11-libs/libXi
49 + x11-libs/libXxf86dga
50 + x11-proto/xproto
51 + x11-proto/inputproto
52 + x11-proto/xf86dgaproto
53 +
54 dev-libs/libxml2:2
55 media-libs/audiofile:=
56 media-libs/ladspa-sdk
57 @@ -52,11 +53,11 @@ PATCHES=(
58
59 src_configure() {
60 gnome2_src_configure \
61 + --enable-x11 \
62 $(use_enable alsa) \
63 $(use_enable debug) \
64 $(use_enable mad) \
65 $(use_enable pulseaudio pulse) \
66 $(use_enable vorbis) \
67 - $(use_enable sox) \
68 - $(use_enable X x11)
69 + $(use_enable sox)
70 }