/[gentoo-x86]/kde-base/knavalbattle/knavalbattle-4.9.2.ebuild
Gentoo

Contents of /kde-base/knavalbattle/knavalbattle-4.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Nov 13 20:20:46 2012 UTC (7 years, 8 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove KDE SC 4.9.2

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 johu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.2 # $Header: /var/cvsroot/gentoo-x86/kde-base/knavalbattle/knavalbattle-4.9.2.ebuild,v 1.1 2012/10/02 18:11:59 johu Exp $
4 johu 1.1
5     EAPI=4
6    
7     if [[ ${PV} == *9999 ]]; then
8     eclass="kde4-base"
9     else
10     eclass="kde4-meta"
11     KMNAME="kdegames"
12     fi
13     KDE_HANDBOOK="optional"
14     inherit games-ggz ${eclass}
15    
16     DESCRIPTION="The KDE Battleship clone"
17     KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18     IUSE="debug"
19    
20     DEPEND="$(add_kdebase_dep libkdegames)"
21     RDEPEND="${DEPEND}"
22    
23     add_blocker kbattleship
24    
25     src_prepare() {
26     # cmake is doing this really weird
27     if [[ ${PV} == *9999 ]]; then
28     sed -i \
29     -e "s:register_ggz_module:#register_ggz_module:g" \
30     src/CMakeLists.txt || die "ggz removal failed"
31     else
32     sed -i \
33     -e "s:register_ggz_module:#register_ggz_module:g" \
34     "${PN}"/src/CMakeLists.txt || die "ggz removal failed"
35     fi
36    
37     ${eclass}_src_prepare
38     }

  ViewVC Help
Powered by ViewVC 1.1.20