summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-10-19 17:14:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-10-19 17:14:43 +0000
commitd79a1d6b27ce4e95bd9c539f4ef41bdbbfac48a1 (patch)
treebd570985eb25c9a11e4010c9123e26d91f46a9be /games-board
parentchanged from media-tv/linuxtv-dvb-headers to sys-kernel/linux-headers-2.6.38+... (diff)
downloadgentoo-2-d79a1d6b27ce4e95bd9c539f4ef41bdbbfac48a1.tar.gz
gentoo-2-d79a1d6b27ce4e95bd9c539f4ef41bdbbfac48a1.tar.bz2
gentoo-2-d79a1d6b27ce4e95bd9c539f4ef41bdbbfac48a1.zip
use qt4-r2
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/kcheckers/ChangeLog7
-rw-r--r--games-board/kcheckers/kcheckers-0.8.1.ebuild22
2 files changed, 14 insertions, 15 deletions
diff --git a/games-board/kcheckers/ChangeLog b/games-board/kcheckers/ChangeLog
index 1168e0f09d54..2556d3b2868a 100644
--- a/games-board/kcheckers/ChangeLog
+++ b/games-board/kcheckers/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/kcheckers
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.14 2009/11/21 18:21:59 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/ChangeLog,v 1.15 2011/10/19 17:14:43 mr_bones_ Exp $
+
+ 19 Oct 2011; Michael Sterrett <mr_bones_@gentoo.org> kcheckers-0.8.1.ebuild:
+ use qt4-r2
21 Nov 2009; Markus Meier <maekke@gentoo.org> kcheckers-0.8.1.ebuild:
x86 stable, bug #288959
diff --git a/games-board/kcheckers/kcheckers-0.8.1.ebuild b/games-board/kcheckers/kcheckers-0.8.1.ebuild
index 1a8b756aa505..99bdd1b138f2 100644
--- a/games-board/kcheckers/kcheckers-0.8.1.ebuild
+++ b/games-board/kcheckers/kcheckers-0.8.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.7 2010/02/20 15:03:22 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/kcheckers/kcheckers-0.8.1.ebuild,v 1.8 2011/10/19 17:14:43 mr_bones_ Exp $
-EAPI=1
-inherit eutils qt4 games
+EAPI=2
+inherit eutils qt4-r2 games
DESCRIPTION="Qt version of the classic boardgame checkers"
HOMEPAGE="http://qcheckers.sourceforge.net/"
@@ -16,10 +16,7 @@ IUSE=""
DEPEND="x11-libs/qt-gui:4"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
sed -i \
-e "s:/usr/local:${GAMES_DATADIR}:" \
common.h || die "sed common.h failed"
@@ -29,16 +26,15 @@ src_unpack() {
main.cc toplevel.cc || die "sed failed"
}
-src_compile() {
- eqmake4
- emake || die "emake failed"
+src_configure() {
+ qt4-r2_src_configure
}
src_install() {
- dogamesbin kcheckers || die "dogamesbin failed"
+ dogamesbin kcheckers || die
insinto "${GAMES_DATADIR}"/${PN}
- doins -r i18n/* themes || die "doins failed"
+ doins -r i18n/* themes || die
newicon icons/biglogo.png ${PN}.png
make_desktop_entry ${PN} KCheckers