Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/
Date: Wed, 08 Feb 2017 20:28:44
Message-Id: 1486585566.f37bdcf543a18e49b322aa0d14d7d8cb316fabc9.gokturk@gentoo
1 commit: f37bdcf543a18e49b322aa0d14d7d8cb316fabc9
2 Author: Zetok Zalbavar <zetok <AT> openmailbox <DOT> org>
3 AuthorDate: Sun Jan 29 00:37:59 2017 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 8 20:26:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37bdcf5
7
8 net-im/qtox: switch live ebuild to cmake
9
10 Package-Manager: portage-2.3.3
11
12 net-im/qtox/qtox-9999.ebuild | 16 ++++++++--------
13 1 file changed, 8 insertions(+), 8 deletions(-)
14
15 diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild
16 index e45d9c99c2..e763e12dce 100644
17 --- a/net-im/qtox/qtox-9999.ebuild
18 +++ b/net-im/qtox/qtox-9999.ebuild
19 @@ -1,10 +1,10 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 EAPI=6
26
27 -inherit eutils qmake-utils git-r3
28 +inherit cmake-utils eutils git-r3
29
30 DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5"
31 HOMEPAGE="https://github.com/qTox/qTox"
32 @@ -58,10 +58,10 @@ pkg_pretend() {
33 }
34
35 src_configure() {
36 - use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
37 - use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
38 - eqmake5 \
39 - PREFIX="${D}/usr" \
40 - ${NO_GTK_SUPPORT} \
41 - ${NO_X_SUPPORT}
42 + local mycmakeargs=(
43 + -DENABLE_STATUSNOTIFIER=$(usex gtk True False)
44 + -DENABLE_GTK_SYSTRAY=$(usex gtk True False)
45 + )
46 +
47 + cmake-utils_src_configure
48 }