# ChangeLog for games-puzzle/xye
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/ChangeLog,v 1.3 2006/06/29 16:20:23 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/ChangeLog,v 1.4 2006/11/18 23:34:26 nyhm Exp $
+
+*xye-0.7.6.2 (18 Nov 2006)
+
+ 18 Nov 2006; Tristan Heaven <nyhm@gentoo.org> -xye-0.7.5.ebuild,
+ -xye-0.7.6.ebuild, +xye-0.7.6.2.ebuild:
+ Version bump
29 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> xye-0.7.6.ebuild:
Fixed binaries being pre-stripped. Thanks to Tristan Heaven
--- /dev/null
+MD5 8625d57076cbb3fd656e55cd9aa24748 xye-0.7.6.2.tar.gz 462095
+RMD160 80b01a7909b96835357f33e03a72f6def7e660ec xye-0.7.6.2.tar.gz 462095
+SHA256 695a1d61a9f0e56af4115cc239863d1abc26d34486149297d368304a5706c6bf xye-0.7.6.2.tar.gz 462095
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/xye-0.7.6.2.ebuild,v 1.1 2006/11/18 23:34:26 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Free version of the classic game Kye"
+HOMEPAGE="http://xye.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xye/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image"
+
+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}"
+ sed -i '/^xye_LDFLAGS/d' Makefile.in || die "sed failed"
+}
+
+src_install() {
+ dogamesbin "${PN}" || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r levels res || die "doins failed"
+ dodoc format.txt template.xye.xml GAMEINTRO.txt AUTHORS \
+ ChangeLog README NEWS
+ newicon xyeicon.png ${PN}.png
+ make_desktop_entry ${PN} Xye
+ prepgamesdirs
+}