diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-09 20:15:10 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-09 20:15:10 +0000 |
commit | 5de75061899dc2a545c76136ac839e69cd0f6001 (patch) | |
tree | a9371f348f5ad2f43a7814455db03e59fdf72e26 /games-puzzle | |
parent | Marked ppc stable for bug #254333. (diff) | |
download | gentoo-2-5de75061899dc2a545c76136ac839e69cd0f6001.tar.gz gentoo-2-5de75061899dc2a545c76136ac839e69cd0f6001.tar.bz2 gentoo-2-5de75061899dc2a545c76136ac839e69cd0f6001.zip |
EAPI=2; add use-based dep for media-libs/sdl-image
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/xye/ChangeLog | 7 | ||||
-rw-r--r-- | games-puzzle/xye/xye-0.8.0.ebuild | 20 |
2 files changed, 10 insertions, 17 deletions
diff --git a/games-puzzle/xye/ChangeLog b/games-puzzle/xye/ChangeLog index f8d8bf22aa1c..36d5f67a3bdb 100644 --- a/games-puzzle/xye/ChangeLog +++ b/games-puzzle/xye/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/xye -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/ChangeLog,v 1.9 2008/06/23 07:24:58 opfer Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/ChangeLog,v 1.10 2009/01/09 20:15:10 mr_bones_ Exp $ + + 09 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> xye-0.8.0.ebuild: + EAPI=2; add use-based dep for media-libs/sdl-image 23 Jun 2008; Christian Faulhammer <opfer@gentoo.org> xye-0.8.0.ebuild: stable x86, bug 228963 diff --git a/games-puzzle/xye/xye-0.8.0.ebuild b/games-puzzle/xye/xye-0.8.0.ebuild index 70f44d548593..641b94d01f2c 100644 --- a/games-puzzle/xye/xye-0.8.0.ebuild +++ b/games-puzzle/xye/xye-0.8.0.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-puzzle/xye/xye-0.8.0.ebuild,v 1.5 2008/06/23 07:24:58 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/xye-0.8.0.ebuild,v 1.6 2009/01/09 20:15:10 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Free version of the classic game Kye" @@ -15,20 +16,9 @@ IUSE="" DEPEND="media-libs/libsdl media-libs/sdl-ttf - media-libs/sdl-image" + media-libs/sdl-image[png]" -pkg_setup() { - if ! built_with_use media-libs/sdl-image png ; then - eerror "You need the png useflag enabled on media-libs/sdl-image." - eerror "Please emerge media-libs/sdl-image with USE=\"png\"" - die "Missing png useflag." - fi - games_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch sed -i '/^xye_LDFLAGS/d' Makefile.in || die "sed failed" } |