# ChangeLog for games-puzzle/fbg
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/ChangeLog,v 1.7 2006/12/06 17:03:10 wolf31o2 Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/ChangeLog,v 1.8 2007/01/08 14:42:49 nyhm Exp $
+
+ 08 Jan 2007; Tristan Heaven <nyhm@gentoo.org> fbg-0.9-r1.ebuild:
+ HOMEPAGE update and install menu entry, bug #160209
06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> fbg-0.9-r1.ebuild:
Remove old virtual/x11 dependency.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-DIST fbg-0.9.tar.gz 1127384 RMD160 1e39de48b3b6a5f4954fd90f801b7f59564a1b3e SHA256 189b86f00345fb6cbfdf0c8d55c495960d373b653972fad5fad2f47ba46274e5
-EBUILD fbg-0.9-r1.ebuild 1157 RMD160 1ec0793081853eed6563a7dfc1cddecf7cd0e1c9 SHA1 70dd86b5d6827a5eb31b318f1dcd62b4b9c138b1 SHA256 c1b6cb72553d0d848f05c46fe902642b7b13eed774fe38cb147a83b22616bf3d
-MD5 3f5186bcbc6646643b9d330171d35495 fbg-0.9-r1.ebuild 1157
-RMD160 1ec0793081853eed6563a7dfc1cddecf7cd0e1c9 fbg-0.9-r1.ebuild 1157
-SHA256 c1b6cb72553d0d848f05c46fe902642b7b13eed774fe38cb147a83b22616bf3d fbg-0.9-r1.ebuild 1157
-MISC ChangeLog 756 RMD160 1c7d746d79897ca97b36ea5285ecda3dc73d5b83 SHA1 c576e6d3edafaa22ba424811a37402a36d45391a SHA256 f09619c59fa84195527da5f2d7404cdf023e5163d40877efd43e8e1a66aaecb0
-MD5 d03c70483a5370ca39d91faeefbc151a ChangeLog 756
-RMD160 1c7d746d79897ca97b36ea5285ecda3dc73d5b83 ChangeLog 756
-SHA256 f09619c59fa84195527da5f2d7404cdf023e5163d40877efd43e8e1a66aaecb0 ChangeLog 756
+DIST fbg-0.9.tar.gz 1127384 RMD160 1e39de48b3b6a5f4954fd90f801b7f59564a1b3e SHA1 a0386babb53dd797764c41998612711156416da2 SHA256 189b86f00345fb6cbfdf0c8d55c495960d373b653972fad5fad2f47ba46274e5
+EBUILD fbg-0.9-r1.ebuild 1023 RMD160 5cb15429695c4e64c5ca01ef9d38b130868bd5c6 SHA1 1181948fbc4bf12a3dbb9c833bebaa875aa3b55f SHA256 f02cead7db2c9b0bd0622dd10ebc3b858533efdf5e1bbea1d4994d694f4ca1d1
+MD5 aebad88d5e246d122e041a36ba9c8338 fbg-0.9-r1.ebuild 1023
+RMD160 5cb15429695c4e64c5ca01ef9d38b130868bd5c6 fbg-0.9-r1.ebuild 1023
+SHA256 f02cead7db2c9b0bd0622dd10ebc3b858533efdf5e1bbea1d4994d694f4ca1d1 fbg-0.9-r1.ebuild 1023
+MISC ChangeLog 874 RMD160 a992c988a9b9b48f2270344fa3ef55962210e3a8 SHA1 6a331899c2168842217f864bff18be89b4b5fdd9 SHA256 6ac0673405b46ad0371ef4ebf0f317758f6df226b0dd8bebf3103aa6bbb95166
+MD5 89dbed3a2f2e04196cfb5484881cdb2f ChangeLog 874
+RMD160 a992c988a9b9b48f2270344fa3ef55962210e3a8 ChangeLog 874
+SHA256 6ac0673405b46ad0371ef4ebf0f317758f6df226b0dd8bebf3103aa6bbb95166 ChangeLog 874
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
RMD160 3d8d537598205e705c8cc8072c7c583a58b4484b files/digest-fbg-0.9-r1 226
SHA256 4c48dc7b98add423294c373a3b48fc0117e3f081e9095de9b0bc6716d645f71a files/digest-fbg-0.9-r1 226
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFdvfUkT4lNIS36YERAs+ZAJ4idV2bSJqnhPbg9+K5Lf5NjxlMowCdGLlS
-JV+qZ8yo1j1pLqUbRLk81vs=
-=xjny
+iD8DBQFFolhvdz7hIScOURERAmfCAKCKjElEgJo2yv48uGIMZ8JTtF3C/wCgyA7I
+nszQVTAkpoSpsPAgCjj+t7Y=
+=qgMS
-----END PGP SIGNATURE-----
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/fbg-0.9-r1.ebuild,v 1.8 2006/12/06 17:03:10 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fbg/fbg-0.9-r1.ebuild,v 1.9 2007/01/08 14:42:49 nyhm Exp $
-inherit games
+inherit eutils games
-DESCRIPTION="A tetris-clone written in OpenGL"
-HOMEPAGE="http://home.attbi.com/~furiousjay/code/fbg.html"
+DESCRIPTION="A Tetris clone written in OpenGL"
+HOMEPAGE="http://fbg.sourceforge.net/"
SRC_URI="mirror://sourceforge/fbg/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc amd64"
+KEYWORDS="amd64 ppc x86"
IUSE=""
-RDEPEND="virtual/opengl
+DEPEND="virtual/opengl
virtual/glu
- >=dev-games/physfs-0.1.7
- >=media-libs/libsdl-1.2.0
- >=media-libs/libmikmod-3.1.10"
-DEPEND="${RDEPEND}
+ dev-games/physfs
+ media-libs/libsdl
+ media-libs/libmikmod
x11-libs/libXt"
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
- -e "/FBGDATADIR=/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" configure \
- || die "sed configure failed"
+ -e "/FBGDATADIR=/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" \
+ -e '/^datadir=/d' \
+ configure \
+ || die "sed failed"
}
src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
- dodoc README TODO AUTHORS
-
- # now clean up the install
- cd ${D}/${GAMES_PREFIX}
- rm -rf doc
- mv games ../share/
-
+ emake DESTDIR="${D}" install || die "emake install failed"
+ newicon startfbg/icon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Falling Block Game" ${PN}.xpm
+ dodoc AUTHORS ChangeLog README TODO
prepgamesdirs
}
-
-pkg_postinst() {
- games_pkg_postinst
- einfo "less /usr/share/doc/${PF}/README.gz for play-instructions"
-}