summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2012-11-08 23:27:13 +0000
committerChris Reffett <creffett@gentoo.org>2012-11-08 23:27:13 +0000
commit8447a20009e6eaf131d2dc2a174edca000e5ecf3 (patch)
treef043646d02ff070d4c0b47476d88f93c018958b6 /kde-base/knavalbattle
parentremove old versions (diff)
downloadgentoo-2-8447a20009e6eaf131d2dc2a174edca000e5ecf3.tar.gz
gentoo-2-8447a20009e6eaf131d2dc2a174edca000e5ecf3.tar.bz2
gentoo-2-8447a20009e6eaf131d2dc2a174edca000e5ecf3.zip
Version bump KDE SC 4.9.3
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 42618354)
Diffstat (limited to 'kde-base/knavalbattle')
-rw-r--r--kde-base/knavalbattle/ChangeLog7
-rw-r--r--kde-base/knavalbattle/knavalbattle-4.9.3.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/kde-base/knavalbattle/ChangeLog b/kde-base/knavalbattle/ChangeLog
index 2f013ffabc8b..2362beb509bc 100644
--- a/kde-base/knavalbattle/ChangeLog
+++ b/kde-base/knavalbattle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/knavalbattle
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/knavalbattle/ChangeLog,v 1.1 2012/10/02 18:11:59 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/knavalbattle/ChangeLog,v 1.2 2012/11/08 23:26:59 creffett Exp $
+
+*knavalbattle-4.9.3 (08 Nov 2012)
+
+ 08 Nov 2012; <creffett@gentoo.org> +knavalbattle-4.9.3.ebuild:
+ Version bump KDE SC 4.9.3
*knavalbattle-4.9.2 (02 Oct 2012)
diff --git a/kde-base/knavalbattle/knavalbattle-4.9.3.ebuild b/kde-base/knavalbattle/knavalbattle-4.9.3.ebuild
new file mode 100644
index 000000000000..b0c504cba75d
--- /dev/null
+++ b/kde-base/knavalbattle/knavalbattle-4.9.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/knavalbattle/knavalbattle-4.9.3.ebuild,v 1.1 2012/11/08 23:26:59 creffett Exp $
+
+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="~amd64 ~x86 ~amd64-linux ~x86-linux"
+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
+}