diff options
-rw-r--r-- | games-puzzle/toppler/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch | 54 | ||||
-rw-r--r-- | games-puzzle/toppler/toppler-1.1.6.ebuild | 33 |
3 files changed, 95 insertions, 2 deletions
diff --git a/games-puzzle/toppler/ChangeLog b/games-puzzle/toppler/ChangeLog index 526e6d7bf07f..f05d1d253b28 100644 --- a/games-puzzle/toppler/ChangeLog +++ b/games-puzzle/toppler/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/toppler -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/toppler/ChangeLog,v 1.24 2011/01/11 22:09:09 ranger Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/toppler/ChangeLog,v 1.25 2013/01/17 18:04:52 mr_bones_ Exp $ + +*toppler-1.1.6 (17 Jan 2013) + + 17 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> + +files/toppler-1.1.6-gentoo.patch, +toppler-1.1.6.ebuild: + version bump (bug #452286) 11 Jan 2011; Brent Baude <ranger@gentoo.org> toppler-1.1.4.ebuild: Marking toppler-1.1.4 ppc for bug 347950 diff --git a/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch b/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch new file mode 100644 index 000000000000..d3f1ea52b9bc --- /dev/null +++ b/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch @@ -0,0 +1,54 @@ +diff -ru toppler-1.1.6.orig/Makefile.in toppler-1.1.6/Makefile.in +--- toppler-1.1.6.orig/Makefile.in 2012-12-22 06:03:04.000000000 -0500 ++++ toppler-1.1.6/Makefile.in 2013-01-16 18:51:16.442336579 -0500 +@@ -385,8 +385,8 @@ + txtsys.cc txtsys.h \ + qnxicon.c + +-pixmapsdir = $(datadir)/pixmaps +-applicationsdir = $(datadir)/applications ++pixmapsdir = /usr/share/pixmaps ++applicationsdir = /usr/share/applications + pkgdocdir = $(docdir)/$(PACKAGE) + pkglocalstatedir = $(localstatedir)/$(PACKAGE) + dist_pixmaps_DATA = $(PACKAGE).xpm +@@ -1143,7 +1143,7 @@ + info-am: + + install-data-am: install-applicationsDATA install-dist_pixmapsDATA \ +- install-dist_pkgdataDATA install-dist_pkgdocDATA \ ++ install-dist_pkgdataDATA \ + install-dist_pkglocalstateDATA install-man + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +diff -ru toppler-1.1.6.orig/po/Makefile.in.in toppler-1.1.6/po/Makefile.in.in +--- toppler-1.1.6.orig/po/Makefile.in.in 2012-12-22 06:02:52.000000000 -0500 ++++ toppler-1.1.6/po/Makefile.in.in 2013-01-16 18:52:01.929721259 -0500 +@@ -21,7 +21,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ +diff -ru toppler-1.1.6.orig/toppler.desktop.in toppler-1.1.6/toppler.desktop.in +--- toppler-1.1.6.orig/toppler.desktop.in 2012-12-22 06:02:06.000000000 -0500 ++++ toppler-1.1.6/toppler.desktop.in 2013-01-16 18:52:38.058438256 -0500 +@@ -1,12 +1,11 @@ + [Desktop Entry] +-Encoding=UTF-8 +-Categories=Application;Game;ArcadeGame; ++Categories=Game;ArcadeGame; + X-Desktop-File-Install-Version=0.2 + Name=@FULLNAME@ + Comment=A clone of the 'Nebulus' game on old 8 and 16 bit machines. + Comment[de]=Klon des alten Spiels 'Nebulus' + Comment[cs]=Klon hry 'Nebulus' z dob 8 a 16 bitovÃœch poÄÃtaÄů. +-Icon=@prefix@/pixmaps/@PACKAGE@.xpm ++Icon=@PACKAGE@ + Exec=@prefix@/bin/toppler +-Terminal=0 ++Terminal=false + Type=Application diff --git a/games-puzzle/toppler/toppler-1.1.6.ebuild b/games-puzzle/toppler/toppler-1.1.6.ebuild new file mode 100644 index 000000000000..96610f1b18b8 --- /dev/null +++ b/games-puzzle/toppler/toppler-1.1.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/toppler/toppler-1.1.6.ebuild,v 1.1 2013/01/17 18:04:52 mr_bones_ Exp $ + +EAPI=5 +inherit games + +DESCRIPTION="Reimplementation of Nebulous using SDL" +HOMEPAGE="http://toppler.sourceforge.net/" +SRC_URI="mirror://sourceforge/toppler/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer[vorbis] + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog README + prepgamesdirs +} |