diff options
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/gtetrinet/ChangeLog | 11 | ||||
-rw-r--r-- | games-puzzle/gtetrinet/files/digest-gtetrinet-0.7.10 | 6 | ||||
-rw-r--r-- | games-puzzle/gtetrinet/gtetrinet-0.7.10.ebuild | 58 |
3 files changed, 73 insertions, 2 deletions
diff --git a/games-puzzle/gtetrinet/ChangeLog b/games-puzzle/gtetrinet/ChangeLog index 8f37c501ca1d..9321c8ffdf03 100644 --- a/games-puzzle/gtetrinet/ChangeLog +++ b/games-puzzle/gtetrinet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-puzzle/gtetrinet -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/ChangeLog,v 1.12 2005/09/16 01:13:05 vapier Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/ChangeLog,v 1.13 2006/09/02 23:45:57 mr_bones_ Exp $ + +*gtetrinet-0.7.10 (02 Sep 2006) + + 02 Sep 2006; Michael Sterrett <mr_bones_@gentoo.org> + -gtetrinet-0.7.7.ebuild, -gtetrinet-0.7.9.ebuild, + +gtetrinet-0.7.10.ebuild: + version bump 16 Sep 2005; Mike Frysinger <vapier@gentoo.org> gtetrinet-0.7.9.ebuild: Fix linking against esound libs and clean up build process in general diff --git a/games-puzzle/gtetrinet/files/digest-gtetrinet-0.7.10 b/games-puzzle/gtetrinet/files/digest-gtetrinet-0.7.10 new file mode 100644 index 000000000000..0c22d49dad39 --- /dev/null +++ b/games-puzzle/gtetrinet/files/digest-gtetrinet-0.7.10 @@ -0,0 +1,6 @@ +MD5 bfa6aabc54b016350b098ff84316172a gtetrinet-0.7.10.tar.bz2 417582 +RMD160 22da5ac7bf5a03932b8dbe7ae1a5d383e4913a87 gtetrinet-0.7.10.tar.bz2 417582 +SHA256 0246886e07a9e6a2ab1ef10459e7983838be3fbb9440c9b5615899a2457b1399 gtetrinet-0.7.10.tar.bz2 417582 +MD5 75de7969c6b2559aab78fd57b8c601ba gtetrinet-gentoo-theme-0.1.tbz2 88240 +RMD160 58452bb836c9422563202cee01bba8da6be5a193 gtetrinet-gentoo-theme-0.1.tbz2 88240 +SHA256 33037370a0cab1ac395716f8b33ead7f2360cac0bd25b869cff3ab5d28b6a323 gtetrinet-gentoo-theme-0.1.tbz2 88240 diff --git a/games-puzzle/gtetrinet/gtetrinet-0.7.10.ebuild b/games-puzzle/gtetrinet/gtetrinet-0.7.10.ebuild new file mode 100644 index 000000000000..aeb1491da7d9 --- /dev/null +++ b/games-puzzle/gtetrinet/gtetrinet-0.7.10.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/gtetrinet-0.7.10.ebuild,v 1.1 2006/09/02 23:45:57 mr_bones_ Exp $ + +# games after gnome2 so games' functions will override gnome2's +inherit gnome2 games + +DESCRIPTION="Tetrinet Clone for GNOME 2" +HOMEPAGE="http://gtetrinet.sourceforge.net/" +SRC_URI="${SRC_URI} + mirror://gentoo/gtetrinet-gentoo-theme-0.1.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="nls ipv6" + +RDEPEND="dev-libs/libxml2 + >=media-sound/esound-0.2.5 + >=gnome-base/gconf-2 + >=gnome-base/libgnome-2 + >=gnome-base/libgnomeui-2" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "/^pkgdatadir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" \ + src/Makefile.in themes/*/Makefile.in || die "sed themes" + sed -i \ + -e '/^LDADD/s:$: @ESD_LIBS@:' \ + -e '/^gamesdir/s:=.*:=@bindir@:' \ + src/Makefile.in || die "sed bindir" +} + +src_compile() { + econf \ + $(use_enable ipv6) \ + --bindir="${GAMES_BINDIR}" \ + || die + emake || die "emake failed" +} + +src_install() { + USE_DESTDIR=1 gnome2_src_install + dodoc AUTHORS ChangeLog NEWS README TODO + mv "${WORKDIR}"/gentoo "${D}/${GAMES_DATADIR}"/${PN}/themes/ + prepgamesdirs +} + +pkg_postinst() { + SCROLLKEEPER_UPDATE=0 + gnome2_pkg_postinst + games_pkg_postinst +} |