summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-03-04 20:33:05 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2009-03-04 20:33:05 +0000
commitdd6a80466c0b0dd09524a99e06485f522c0ecc8e (patch)
tree5c12961b17f8bd27838dd169f726b843f9962f90 /kde-base/kbattleship
parentBump KDE 4.2.1 (diff)
downloadgentoo-2-dd6a80466c0b0dd09524a99e06485f522c0ecc8e.tar.gz
gentoo-2-dd6a80466c0b0dd09524a99e06485f522c0ecc8e.tar.bz2
gentoo-2-dd6a80466c0b0dd09524a99e06485f522c0ecc8e.zip
Bump KDE 4.2.1
(Portage version: 2.2_rc23/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.1.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/kde-base/kbattleship/ChangeLog b/kde-base/kbattleship/ChangeLog
index f723da400478..9ccff44e94a7 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.104 2009/02/17 12:59:43 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.105 2009/03/04 20:33:05 alexxy Exp $
+
+*kbattleship-4.2.1 (04 Mar 2009)
+
+ 04 Mar 2009; Alexey Shvetsov <alexxy@gentoo.org>
+ +kbattleship-4.2.1.ebuild:
+ Bump KDE 4.2.1
17 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org>
-kbattleship-4.1.4.ebuild:
diff --git a/kde-base/kbattleship/kbattleship-4.2.1.ebuild b/kde-base/kbattleship/kbattleship-4.2.1.ebuild
new file mode 100644
index 000000000000..f6e88dae9cd5
--- /dev/null
+++ b/kde-base/kbattleship/kbattleship-4.2.1.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.1.ebuild,v 1.1 2009/03/04 20:33:05 alexxy Exp $
+
+EAPI="2"
+
+KMNAME="kdegames"
+inherit games-ggz kde4-meta
+
+DESCRIPTION="The KDE Battleship clone"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug"
+
+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
+}