public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/knavalbattle/
Date: Mon,  1 Oct 2012 16:05:42 +0000 (UTC)	[thread overview]
Message-ID: <1349105491.7552e071ca09a31b40a6f23a856c197b3034ff7f.johu@gentoo> (raw)

commit:     7552e071ca09a31b40a6f23a856c197b3034ff7f
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  1 15:31:31 2012 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Mon Oct  1 15:31:31 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7552e071

[kde-base/knavalbattle] Moved from kde-base/kbattleship. Following upstream naming.

(Portage version: 2.2.0_alpha134/git/Linux x86_64, unsigned Manifest commit)

---
 .../knavalbattle/knavalbattle-4.9.49.9999.ebuild   |   38 ++++++++++++++++++++
 kde-base/knavalbattle/knavalbattle-9999.ebuild     |   27 ++++++++++++++
 kde-base/knavalbattle/metadata.xml                 |    5 +++
 3 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/kde-base/knavalbattle/knavalbattle-4.9.49.9999.ebuild b/kde-base/knavalbattle/knavalbattle-4.9.49.9999.ebuild
new file mode 100644
index 0000000..4f496ab
--- /dev/null
+++ b/kde-base/knavalbattle/knavalbattle-4.9.49.9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+if [[ ${PV} == *9999 ]]; then
+	eclass="kde4-base"
+else
+	eclass="kde4-meta"
+	KMNAME="kdegames"
+fi
+KDE_HANDBOOK="optional"
+inherit games-ggz ${eclass}
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS=""
+IUSE="debug"
+
+DEPEND="$(add_kdebase_dep libkdegames)"
+RDEPEND="${DEPEND}"
+
+add_blocker kbattleship
+
+src_prepare() {
+	# cmake is doing this really weird
+	if [[ ${PV} == *9999 ]]; then
+		sed -i \
+			-e "s:register_ggz_module:#register_ggz_module:g" \
+			src/CMakeLists.txt || die "ggz removal failed"
+	else
+		sed -i \
+			-e "s:register_ggz_module:#register_ggz_module:g" \
+			"${PN}"/src/CMakeLists.txt || die "ggz removal failed"
+	fi
+
+	${eclass}_src_prepare
+}

diff --git a/kde-base/knavalbattle/knavalbattle-9999.ebuild b/kde-base/knavalbattle/knavalbattle-9999.ebuild
new file mode 100644
index 0000000..0c7b3db
--- /dev/null
+++ b/kde-base/knavalbattle/knavalbattle-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+KDE_HANDBOOK="optional"
+KDE_SELINUX_MODULE="games"
+inherit games-ggz kde4-base
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS=""
+IUSE="debug"
+
+DEPEND="$(add_kdebase_dep libkdegames)"
+RDEPEND="${DEPEND}"
+
+add_blocker kbattleship
+
+src_prepare() {
+	# cmake is doing this really weird
+	sed -i \
+		-e "s:register_ggz_module:#register_ggz_module:g" \
+		src/CMakeLists.txt || die "ggz removal failed"
+
+	kde4-base_src_prepare
+}

diff --git a/kde-base/knavalbattle/metadata.xml b/kde-base/knavalbattle/metadata.xml
new file mode 100644
index 0000000..8d1e86a
--- /dev/null
+++ b/kde-base/knavalbattle/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+</pkgmetadata>


             reply	other threads:[~2012-10-01 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01 16:05 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-13 18:01 [gentoo-commits] proj/kde:master commit in: kde-base/knavalbattle/ Michael Palimaka
2013-07-11 11:35 Michael Palimaka
2013-08-27 17:35 Michael Palimaka

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=1349105491.7552e071ca09a31b40a6f23a856c197b3034ff7f.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