summaryrefslogtreecommitdiff
path: root/games-puzzle/toppler
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-puzzle/toppler
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-puzzle/toppler')
-rw-r--r--games-puzzle/toppler/Manifest1
-rw-r--r--games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch54
-rw-r--r--games-puzzle/toppler/metadata.xml8
-rw-r--r--games-puzzle/toppler/toppler-1.1.6.ebuild34
4 files changed, 97 insertions, 0 deletions
diff --git a/games-puzzle/toppler/Manifest b/games-puzzle/toppler/Manifest
new file mode 100644
index 00000000000..9cf51fc67f1
--- /dev/null
+++ b/games-puzzle/toppler/Manifest
@@ -0,0 +1 @@
+DIST toppler-1.1.6.tar.gz 2117137 SHA256 7dbc2905389c2adba0f8c459f3319cf04045ba53ed407e273a50a3a67564cc45 SHA512 e0f6b7b72e38ba3402ba3608116fb51bf36cad129fb5591db62489829f4ed1ec49a4a3b7b1db4aaa34cd1561ee5228d91577f550aad2d55520ccefdff9bda9e9 WHIRLPOOL 06c8dedb4f93289e067514c7592d4e002ac1b315fa5d52769fe05de0f9e31b2a14a4b9ab543736d9b580d6af79af4a09f64a1946a14f4f5bed9538b24b7285ff
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 00000000000..d3f1ea52b9b
--- /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/metadata.xml b/games-puzzle/toppler/metadata.xml
new file mode 100644
index 00000000000..05e7ffdcd07
--- /dev/null
+++ b/games-puzzle/toppler/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">toppler</remote-id>
+ </upstream>
+</pkgmetadata>
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 00000000000..78d4c12b080
--- /dev/null
+++ b/games-puzzle/toppler/toppler-1.1.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils 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 )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_configure() {
+ egamesconf $(use_enable nls)
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}