From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kmines/
Date: Sun, 25 Jan 2015 20:56:47 +0000 (UTC) [thread overview]
Message-ID: <1422219372.1a6f75ce8f25d342df2f78218d30f63082a56f40.johu@gentoo> (raw)
commit: 1a6f75ce8f25d342df2f78218d30f63082a56f40
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Jan 25 16:52:22 2015 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun Jan 25 20:56:12 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1a6f75ce
[kde-apps/kmines] Add kf5 ebuild
---
kde-apps/kmines/kmines-5.9999.ebuild | 54 ++++++++++++++++++++++++++++++++++++
kde-apps/kmines/metadata.xml | 3 ++
2 files changed, 57 insertions(+)
diff --git a/kde-apps/kmines/kmines-5.9999.ebuild b/kde-apps/kmines/kmines-5.9999.ebuild
new file mode 100644
index 0000000..f143512
--- /dev/null
+++ b/kde-apps/kmines/kmines-5.9999.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_BRANCH="frameworks"
+KDE_HANDBOOK="true"
+KDE_SELINUX_MODULE="games"
+inherit kde5
+
+DESCRIPTION="KMines is a classic mine sweeper game"
+HOMEPAGE="
+ http://www.kde.org/applications/games/kmines/
+ http://games.kde.org/game.php?game=kmines
+"
+KEYWORDS=""
+IUSE="phonon"
+
+DEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_kdeapps_dep libkdegames)
+ dev-qt/qtdeclarative:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ phonon? ( media-libs/phonon[qt5] )
+"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # fix copy-paste (?) error, there are no tests
+ sed -i "/find_package(Qt5/ s/ Test//" CMakeLists.txt || die
+
+ kde5_src_prepare
+}
+
+src_configure(){
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package phonon Phonon4Qt5)
+ )
+
+ kde5_src_configure
+}
diff --git a/kde-apps/kmines/metadata.xml b/kde-apps/kmines/metadata.xml
index a23f444..f14d167 100644
--- a/kde-apps/kmines/metadata.xml
+++ b/kde-apps/kmines/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
+ <use>
+ <flag name="phonon">Add sound support via <pkg>media-libs/phonon</pkg></flag>
+ </use>
</pkgmetadata>
next reply other threads:[~2015-01-25 20:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-25 20:56 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-05 16:57 [gentoo-commits] proj/kde:master commit in: kde-apps/kmines/ Michael Palimaka
2015-12-06 9:49 Michael Palimaka
2016-03-20 20:43 Johannes Huber
2021-02-15 14:39 Andreas Sturmlechner
2022-03-24 11:59 Andreas Sturmlechner
2022-04-21 17:39 Andreas Sturmlechner
2024-02-25 17:21 Sam James
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=1422219372.1a6f75ce8f25d342df2f78218d30f63082a56f40.johu@gentoo \
--to=johu@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