From 5f9a89edfc761f6e642eaf86247fccacdd48d248 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 7 Sep 2011 20:14:08 +0000 Subject: [kde-base] Add KDE SC 4.7.1 Package-Manager: portage-2.2.0_alpha54/cvs/Linux x86_64 --- kde-base/kbattleship/ChangeLog | 7 ++++- kde-base/kbattleship/kbattleship-4.7.1.ebuild | 39 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 kde-base/kbattleship/kbattleship-4.7.1.ebuild (limited to 'kde-base/kbattleship') diff --git a/kde-base/kbattleship/ChangeLog b/kde-base/kbattleship/ChangeLog index 2f5be5bdbecb..c7ec9e220a05 100644 --- a/kde-base/kbattleship/ChangeLog +++ b/kde-base/kbattleship/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kbattleship # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.185 2011/08/15 20:46:09 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/ChangeLog,v 1.186 2011/09/07 20:13:59 alexxy Exp $ + +*kbattleship-4.7.1 (07 Sep 2011) + + 07 Sep 2011; Alexey Shvetsov +kbattleship-4.7.1.ebuild: + Version bump KDE SC 4.7.1 15 Aug 2011; Markus Meier kbattleship-4.6.5.ebuild: x86 stable, bug #377465 diff --git a/kde-base/kbattleship/kbattleship-4.7.1.ebuild b/kde-base/kbattleship/kbattleship-4.7.1.ebuild new file mode 100644 index 000000000000..e3018ffe9e1f --- /dev/null +++ b/kde-base/kbattleship/kbattleship-4.7.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kbattleship/kbattleship-4.7.1.ebuild,v 1.1 2011/09/07 20:13:59 alexxy Exp $ + +EAPI=4 + +KDE_HANDBOOK="optional" +KMNAME="kdegames" +inherit games-ggz kde4-meta + +DESCRIPTION="The KDE Battleship clone" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +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 + insinto "${GGZ_MODDIR}" + newins ${PN}/src/module.dsc ${P}.dsc +} + +pkg_postinst() { + kde4-meta_pkg_postinst + games-ggz_pkg_postinst +} + +pkg_postrm() { + kde4-meta_pkg_postrm + games-ggz_pkg_postrm +} -- cgit v1.2.3-65-gdbad