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: kde-apps/knights/
Date: Thu, 13 Dec 2018 22:43:43 +0000 (UTC)	[thread overview]
Message-ID: <1544741013.57a26f6e4751b10cfd5eb2a28741e0389d713dad.asturm@gentoo> (raw)

commit:     57a26f6e4751b10cfd5eb2a28741e0389d713dad
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 22:43:02 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 22:43:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a26f6e

kde-apps/knights: Require one of the chess engines at runtime

- Make it functional by default, negligible extra deps
- No elog spam in pkg_postinst

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

 ...{knights-18.12.0.ebuild => knights-18.12.0-r1.ebuild} | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/kde-apps/knights/knights-18.12.0.ebuild b/kde-apps/knights/knights-18.12.0-r1.ebuild
similarity index 84%
rename from kde-apps/knights/knights-18.12.0.ebuild
rename to kde-apps/knights/knights-18.12.0-r1.ebuild
index 2c15d2dd9e6..a09b920890d 100644
--- a/kde-apps/knights/knights-18.12.0.ebuild
+++ b/kde-apps/knights/knights-18.12.0-r1.ebuild
@@ -38,11 +38,11 @@ DEPEND="
 	$(add_qt_dep qtwidgets)
 	speech? ( $(add_qt_dep qtspeech) )
 "
-RDEPEND="${DEPEND}"
-
-pkg_postinst() {
-	kde5_pkg_postinst
-
-	elog "No chess engines are emerged by default! If you want a chess engine"
-	elog "to play with, you can emerge gnuchess or crafty."
-}
+RDEPEND="${DEPEND}
+	|| (
+		games-board/gnuchess
+		games-board/crafty
+		games-board/stockfish
+		games-board/sjeng
+	)
+"


             reply	other threads:[~2018-12-13 22:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-13 22:43 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-11  8:09 [gentoo-commits] repo/gentoo:master commit in: kde-apps/knights/ WANG Xuerui
2023-06-04 10:45 WANG Xuerui
2019-02-26 20:54 Andreas Sturmlechner
2018-12-13 22:44 Andreas Sturmlechner
2018-12-13 22:43 Andreas Sturmlechner
2018-12-13 22:43 Andreas Sturmlechner

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=1544741013.57a26f6e4751b10cfd5eb2a28741e0389d713dad.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