Version bump
authorTristan Heaven <tristan@gentoo.org>
Sat, 18 Nov 2006 23:34:26 +0000 (23:34 +0000)
committerTristan Heaven <tristan@gentoo.org>
Sat, 18 Nov 2006 23:34:26 +0000 (23:34 +0000)
Package-Manager: portage-2.1.2_rc2

games-puzzle/xye/ChangeLog
games-puzzle/xye/files/digest-xye-0.7.6.2 [new file with mode: 0644]
games-puzzle/xye/xye-0.7.6.2.ebuild [new file with mode: 0644]

index 84f45bc35a1cdd7eac803c98fb68ff7f70a2a522..c22c010feb21a32fbed8ec7beab83be5d5371534 100644 (file)
@@ -1,6 +1,12 @@
 # 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
diff --git a/games-puzzle/xye/files/digest-xye-0.7.6.2 b/games-puzzle/xye/files/digest-xye-0.7.6.2
new file mode 100644 (file)
index 0000000..d93ece5
--- /dev/null
@@ -0,0 +1,3 @@
+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
diff --git a/games-puzzle/xye/xye-0.7.6.2.ebuild b/games-puzzle/xye/xye-0.7.6.2.ebuild
new file mode 100644 (file)
index 0000000..795641c
--- /dev/null
@@ -0,0 +1,43 @@
+# 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
+}