From 5b876264d097c879844bff2ab369006207d09239 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 19 Oct 2011 17:14:43 +0000 Subject: [PATCH] use qt4-r2 Package-Manager: portage-2.1.10.11/cvs/Linux i686 --- games-board/kcheckers/ChangeLog | 7 +++++-- games-board/kcheckers/Manifest | 4 ++-- games-board/kcheckers/kcheckers-0.8.1.ebuild | 22 ++++++++------------ 3 files changed, 16 insertions(+), 17 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 kcheckers-0.8.1.ebuild: + use qt4-r2 21 Nov 2009; Markus Meier kcheckers-0.8.1.ebuild: x86 stable, bug #288959 diff --git a/games-board/kcheckers/Manifest b/games-board/kcheckers/Manifest index bde21e7b10a6..1b4c77da0d6d 100644 --- a/games-board/kcheckers/Manifest +++ b/games-board/kcheckers/Manifest @@ -1,4 +1,4 @@ DIST kcheckers-0.8.1.tar.gz 81431 RMD160 d5f60526913c35a4d3fc01cda87d1fa64b9dd0b4 SHA1 d2ea352469aa07b9549e6664f5d34dcc7e9bb772 SHA256 444080f0554a1d65db32231ee18f9a662bfa6148a15cb006eba838c2463e7a2f -EBUILD kcheckers-0.8.1.ebuild 1063 RMD160 b2ee5bdaedee0df1b5ce11914a60b23da272cce7 SHA1 2ad1ced04e3356b6790b1cf62aaf708e7a80f79a SHA256 ef2389552a2cb99ddcff3d504d520874216d430fa03e98dd9e2210a4b552403c -MISC ChangeLog 1764 RMD160 16a041b5f4a28af4786be0ec2b3d232e7cf164cc SHA1 46f2891c365af0ebaa4724b26b32c125c4fc387d SHA256 6f6a9f35491fcfda12079300d7fda82e45b42d3c25bf0ca3ba6a349173696485 +EBUILD kcheckers-0.8.1.ebuild 993 RMD160 e8d31d636e8abc3d6eb8815f36efc9ecebd7d550 SHA1 20c60d87b202040a93647cbac6eaedd53677b422 SHA256 c0081a703af57affbe25aef7d32c614718f94b4734555369e7fa00455a7908cf +MISC ChangeLog 1860 RMD160 c8e58972f68e10a19c059edab06a1cd57852e649 SHA1 52e0ac48fb52ef94208f423ccbf60eda4acd8db8 SHA256 d01bb9e7fcdf90325cc8c7680d7658dd9847dba498cd947a52cc35500f5db77a MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 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 -- 2.26.2