summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-04-11 22:10:38 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-04-11 22:10:38 +0000
commit57e8158bf80ec58cebae6fe8069d0e0c472b0610 (patch)
treefbd45b545ab458ceb24cfbea81ae0c3a8a7a21e9 /kde-base/kbattleship
parentAdd KDE 4.2.2 (diff)
downloadgentoo-2-57e8158bf80ec58cebae6fe8069d0e0c472b0610.tar.gz
gentoo-2-57e8158bf80ec58cebae6fe8069d0e0c472b0610.tar.bz2
gentoo-2-57e8158bf80ec58cebae6fe8069d0e0c472b0610.zip
Add KDE 4.2.2
(Portage version: 2.2_rc29/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kbattleship')
-rw-r--r--kde-base/kbattleship/ChangeLog8
-rw-r--r--kde-base/kbattleship/kbattleship-4.2.2.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/kde-base/kbattleship/ChangeLog b/kde-base/kbattleship/ChangeLog
index 72f712b225a3..b90940abb8a5 100644
--- a/kde-base/kbattleship/ChangeLog
+++ b/kde-base/kbattleship/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kbattleship
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.107 2009/04/11 19:02:12 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.108 2009/04/11 22:10:38 alexxy Exp $
+
+*kbattleship-4.2.2 (11 Apr 2009)
+
+ 11 Apr 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ +kbattleship-4.2.2.ebuild:
+ Add KDE 4.2.2
11 Apr 2009; Raúl Porcel <armin76@gentoo.org> kbattleship-4.2.1.ebuild:
Add ~alpha/~ia64 wrt #260777
diff --git a/kde-base/kbattleship/kbattleship-4.2.2.ebuild b/kde-base/kbattleship/kbattleship-4.2.2.ebuild
new file mode 100644
index 000000000000..b80b9980b333
--- /dev/null
+++ b/kde-base/kbattleship/kbattleship-4.2.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/kbattleship-4.2.2.ebuild,v 1.1 2009/04/11 22:10:38 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdegames"
+inherit games-ggz kde4-meta
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="debug doc"
+
+src_prepare() {
+ # cmake is doing this really weird
+ sed -i \
+ -e "s:register_ggz_module:#register_ggz_module:g" \
+ "${PN}"/src/CMakeLists.txt || die "ggz removal failed"
+
+ kde4-meta_src_prepare
+}
+
+src_install() {
+ kde4-meta_src_install
+ # and also we have to prepare the ggz dir
+ mkdir -p "${D}"/usr/share/ggz/modules
+ cp "${PN}"/src/module.dsc "${D}"/usr/share/ggz/modules/"${P}".dsc
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+ games-ggz_pkg_postinst
+}
+
+pkg_postrm() {
+ kde4-meta_pkg_postrm
+ games-ggz_pkg_postrm
+}