public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/
Date: Sun,  7 Mar 2021 19:02:03 +0000 (UTC)	[thread overview]
Message-ID: <1615143535.815b23588ac6f65b34725fa7f67756fd297d1e10.asturm@gentoo> (raw)

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
 }
 


             reply	other threads:[~2021-03-07 19:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-07 19:02 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-10 10:00 [gentoo-commits] repo/gentoo:master commit in: games-board/gambit/ Andreas Sturmlechner
2017-12-15 18:13 Sebastian Pipping
2016-09-07 22:16 Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615143535.815b23588ac6f65b34725fa7f67756fd297d1e10.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox