From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 21C2B139085 for ; Wed, 8 Feb 2017 20:28:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7208AE0CA6; Wed, 8 Feb 2017 20:28:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54B66E0CA6 for ; Wed, 8 Feb 2017 20:28:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 710323416B3 for ; Wed, 8 Feb 2017 20:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 715203D60 for ; Wed, 8 Feb 2017 20:28:40 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1486585566.f37bdcf543a18e49b322aa0d14d7d8cb316fabc9.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qtox/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/qtox/qtox-9999.ebuild X-VCS-Directories: net-im/qtox/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: f37bdcf543a18e49b322aa0d14d7d8cb316fabc9 X-VCS-Branch: master Date: Wed, 8 Feb 2017 20:28:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d0202179-92a5-453c-a818-5b74a95c09ca X-Archives-Hash: e782020228922ac6327dfa1801455499 commit: f37bdcf543a18e49b322aa0d14d7d8cb316fabc9 Author: Zetok Zalbavar openmailbox org> AuthorDate: Sun Jan 29 00:37:59 2017 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Wed Feb 8 20:26:06 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37bdcf5 net-im/qtox: switch live ebuild to cmake Package-Manager: portage-2.3.3 net-im/qtox/qtox-9999.ebuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild index e45d9c99c2..e763e12dce 100644 --- a/net-im/qtox/qtox-9999.ebuild +++ b/net-im/qtox/qtox-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 -inherit eutils qmake-utils git-r3 +inherit cmake-utils eutils git-r3 DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5" HOMEPAGE="https://github.com/qTox/qTox" @@ -58,10 +58,10 @@ pkg_pretend() { } src_configure() { - use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO" - use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES" - eqmake5 \ - PREFIX="${D}/usr" \ - ${NO_GTK_SUPPORT} \ - ${NO_X_SUPPORT} + local mycmakeargs=( + -DENABLE_STATUSNOTIFIER=$(usex gtk True False) + -DENABLE_GTK_SYSTRAY=$(usex gtk True False) + ) + + cmake-utils_src_configure }