From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1258712-garchives=archives.gentoo.org@lists.gentoo.org>
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 5F0161382C5
	for <garchives@archives.gentoo.org>; Sun,  7 Mar 2021 19:02:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9E651E08E8;
	Sun,  7 Mar 2021 19:02:07 +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-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 867D2E08E8
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Mar 2021 19:02:07 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7891A340A2B
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Mar 2021 19:02:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ADD9E567
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Mar 2021 19:02:03 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1615143535.815b23588ac6f65b34725fa7f67756fd297d1e10.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/
X-VCS-Repository: repo/gentoo
X-VCS-Files: games-board/gambit/gambit-1.0.4-r1.ebuild
X-VCS-Directories: games-board/gambit/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 815b23588ac6f65b34725fa7f67756fd297d1e10
X-VCS-Branch: master
Date: Sun,  7 Mar 2021 19:02:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 2aab9f9a-7efd-4246-99d5-615631cb5c32
X-Archives-Hash: f31c46db5fec4342119217f42709a8b2

commit:     815b23588ac6f65b34725fa7f67756fd297d1e10
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 20:19:15 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar  7 18:58:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=815b2358

games-board/gambit: Switch to cmake.eclass, add missing desktop.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/gambit/gambit-1.0.4-r1.ebuild | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/games-board/gambit/gambit-1.0.4-r1.ebuild b/games-board/gambit/gambit-1.0.4-r1.ebuild
index fd20cc73c5d..6831c153f76 100644
--- a/games-board/gambit/gambit-1.0.4-r1.ebuild
+++ b/games-board/gambit/gambit-1.0.4-r1.ebuild
@@ -1,23 +1,24 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 CMAKE_IN_SOURCE_BUILD=true
-inherit cmake-utils
-
 MY_P="${P^}"
+inherit cmake desktop
 
 DESCRIPTION="Qt-based chess application + engine \"gupta\""
 HOMEPAGE="https://sourceforge.net/projects/gambitchess/"
 SRC_URI="mirror://sourceforge/project/${PN}chess/${MY_P}/${MY_P}-src.tar.xz"
+S="${WORKDIR}/${MY_P}-src"
 
 LICENSE="CC0-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="dev-qt/qtcore:5
+DEPEND="
+	dev-qt/qtcore:5
 	dev-qt/qtgui:5
 	dev-qt/qtnetwork:5
 	dev-qt/qtopengl:5
@@ -26,11 +27,7 @@ DEPEND="dev-qt/qtcore:5
 	x11-libs/libX11"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${MY_P}-src"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-compile-flags.patch
-)
+PATCHES=( "${FILESDIR}"/${P}-compile-flags.patch )
 
 src_configure() {
 	local mycmakeargs=(
@@ -38,12 +35,11 @@ src_configure() {
 		-DCONFIG_GUPTA_ENGINE_DIRECTORY=/usr/bin
 		-DCONFIG_RESOURCE_PATH_PREFIX=/usr/share/${PN}/
 	)
-
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 src_compile() {
-	cmake-utils_src_compile
+	cmake_src_compile
 	emake -C engine/gupta VERBOSE=1 STRIP=/bin/true CFLAGS_RELEASE= release
 }