From 93c80076c4cc42bcbb66c16e339ef78a1d22a33c Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 14 Oct 2009 19:31:47 +0000 Subject: EAPI=2 (Portage version: 2.1.6.13/cvs/Linux i686) --- games-util/gamepick/ChangeLog | 7 +++++-- games-util/gamepick/gamepick-0.35.ebuild | 26 ++++++++++++++------------ 2 files changed, 19 insertions(+), 14 deletions(-) (limited to 'games-util/gamepick') diff --git a/games-util/gamepick/ChangeLog b/games-util/gamepick/ChangeLog index 5c02c28c974d..efc1f00d39bc 100644 --- a/games-util/gamepick/ChangeLog +++ b/games-util/gamepick/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-util/gamepick -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/gamepick/ChangeLog,v 1.9 2008/02/29 19:53:15 carlo Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-util/gamepick/ChangeLog,v 1.10 2009/10/14 19:31:47 mr_bones_ Exp $ + + 14 Oct 2009; Michael Sterrett gamepick-0.35.ebuild: + EAPI=2 29 Feb 2008; Carsten Lohrke gamepick-0.35.ebuild: Remove icon extension from desktop entry to match Icon Theme Specification. diff --git a/games-util/gamepick/gamepick-0.35.ebuild b/games-util/gamepick/gamepick-0.35.ebuild index 7102f8a0a1f5..74b57aaab794 100644 --- a/games-util/gamepick/gamepick-0.35.ebuild +++ b/games-util/gamepick/gamepick-0.35.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-util/gamepick/gamepick-0.35.ebuild,v 1.5 2008/02/29 19:53:15 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-util/gamepick/gamepick-0.35.ebuild,v 1.6 2009/10/14 19:31:47 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Launch opengl games with custom graphic settings" @@ -13,19 +14,20 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" -RDEPEND="=x11-libs/gtk+-2*" +RDEPEND="x11-libs/gtk+:2" DEPEND="${RDEPEND} dev-util/pkgconfig" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + sed -i \ + -e "s:/etc:${GAMES_SYSCONFDIR}:" \ + src/gamepick.h \ + || die "sed failed" - sed -i "s:/etc:${GAMES_SYSCONFDIR}:" src/gamepick.h \ - || die "sed gamepick.h failed" - - sed -i 's/-O2//' src/Makefile.in \ - || die "sed Makefile.in failed" + sed -i \ + -e 's/-O2//' \ + src/Makefile.in \ + || die "sed failed" } src_install() { @@ -35,7 +37,7 @@ src_install() { touch "${D}/${GAMES_SYSCONFDIR}"/${PN}.conf newicon gamepick-48x48.xpm ${PN}.xpm - make_desktop_entry ${PN} ${PN} ${PN} + make_desktop_entry ${PN} ${PN} dodoc AUTHORS ChangeLog README prepgamesdirs -- cgit v1.2.3-65-gdbad