summaryrefslogtreecommitdiff
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-arcade/emilia-pinball
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
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-arcade/emilia-pinball')
-rw-r--r--games-arcade/emilia-pinball/Manifest1
-rw-r--r--games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild61
-rw-r--r--games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch30
-rw-r--r--games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch13
-rw-r--r--games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch64
-rw-r--r--games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch11
-rw-r--r--games-arcade/emilia-pinball/metadata.xml8
7 files changed, 188 insertions, 0 deletions
diff --git a/games-arcade/emilia-pinball/Manifest b/games-arcade/emilia-pinball/Manifest
new file mode 100644
index 00000000000..05892b8bd7f
--- /dev/null
+++ b/games-arcade/emilia-pinball/Manifest
@@ -0,0 +1 @@
+DIST pinball-0.3.1.tar.gz 6082982 SHA256 ba47989f7fb6e294faa95285563220c8b01c3dbb9aa1bc29828eb7e832855cb8 SHA512 d54f2635f583be8a7e4bf3463c69c1ab368e1c069dd7c4edffb95df0448faf7e82ddb8f8607d22a7336e2db176134555ca65b613e9d008b38fecb8ad5a818498 WHIRLPOOL 1a0e0a5aa3e890a5f05e106fe53af67eb2692c7ad4e84f8eeb6ae97d014444616a7cdbb3d5ff4ac34671a307bbef01de215dba2f104d1e2c9a2eb9101efd0c59
diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild
new file mode 100644
index 00000000000..0778efd94d9
--- /dev/null
+++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+MY_PN=${PN/emilia-/}
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="SDL OpenGL pinball game"
+HOMEPAGE="http://pinball.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86"
+IUSE=""
+
+# Drop the libtool dep once libltdl goes stable.
+RDEPEND="virtual/opengl
+ x11-libs/libSM
+ media-libs/libsdl[joystick,opengl,video,X]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 )"
+DEPEND="${RDEPEND}
+ x11-libs/libXt"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i -e '/dnl/d' {src,test}/Makefile.am || die #334899
+ epatch "${FILESDIR}"/${P}-glibc210.patch \
+ "${FILESDIR}"/${P}-libtool.patch \
+ "${FILESDIR}"/${P}-gcc46.patch \
+ "${FILESDIR}"/${P}-parallel.patch
+ rm -rf libltdl
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf --with-x
+}
+
+src_compile() {
+ emake CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ default
+ dosym "${GAMES_BINDIR}"/pinball "${GAMES_BINDIR}"/emilia-pinball
+ mv "${D}/${GAMES_PREFIX}/include" "${D}/usr/" || die
+ dodir /usr/bin
+ mv "${D}/${GAMES_BINDIR}/pinball-config" "${D}/usr/bin/" || die
+ sed -i \
+ -e 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' \
+ "${D}"/usr/bin/pinball-config || die
+ newicon data/pinball.xpm ${PN}.xpm
+ make_desktop_entry emilia-pinball "Emilia pinball"
+ prepgamesdirs
+}
diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch
new file mode 100644
index 00000000000..d78779197fc
--- /dev/null
+++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch
@@ -0,0 +1,30 @@
+--- base/SignalSender.cpp.old 2011-04-26 09:39:24.303339444 +0200
++++ base/SignalSender.cpp 2011-04-26 09:39:51.261063162 +0200
+@@ -11,6 +11,7 @@
+ #include "SignalSender.h"
+ #include "Group.h"
+ #include "Behavior.h"
++#include <cstddef>
+
+ SignalSender * SignalSender::p_SignalSender = NULL;
+
+--- base/Behavior.cpp.old 2011-04-26 09:36:27.129006665 +0200
++++ base/Behavior.cpp 2011-04-26 09:36:48.855396752 +0200
+@@ -9,6 +9,7 @@
+ #include "Private.h"
+ #include "Behavior.h"
+ #include "Group.h"
++#include <cstddef>
+
+ Behavior::Behavior() {
+ //EM_COUT("Behavior::Behavior", 1);
+--- base/BehaviorVisitor.cpp.old 2011-04-26 09:37:39.759653248 +0200
++++ base/BehaviorVisitor.cpp 2011-04-26 09:37:54.481594952 +0200
+@@ -9,6 +9,7 @@
+ #include "BehaviorVisitor.h"
+ #include "Behavior.h"
+ #include "Group.h"
++#include <cstddef>
+
+ BehaviorVisitor * BehaviorVisitor::p_BehaviorVisitor = NULL;
+
diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch
new file mode 100644
index 00000000000..800dbeae21a
--- /dev/null
+++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch
@@ -0,0 +1,13 @@
+--- base/Config.cpp
++++ base/Config.cpp
+@@ -423,8 +423,8 @@
+ m_sDataDir = string(EM_DATADIR) + "/";
+ m_sExeDir = "./";
+ if ( *( m_sDataDir.c_str() ) != '/' ) {
+- char* ptr=0;
+- char* ptrw = 0;
++ const char* ptr=0;
++ const char* ptrw = 0;
+ //cout<<"relative to exe file"<<endl;
+ ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32
+ #ifdef WIN32
diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch
new file mode 100644
index 00000000000..437e4eb684a
--- /dev/null
+++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch
@@ -0,0 +1,64 @@
+diff -ur pinball-0.3.1.orig/configure.ac pinball-0.3.1/configure.ac
+--- pinball-0.3.1.orig/configure.ac 2003-11-21 09:40:18.000000000 +0200
++++ pinball-0.3.1/configure.ac 2010-03-05 20:41:24.000000000 +0200
+@@ -14,18 +14,13 @@
+ CFLAGS="-g -W -Wall -O2"
+ CXXFLAGS="-g -W -Wall -O2"
+
+-AC_CONFIG_SUBDIRS(libltdl)
+-
+ dnl Checks for programs.
+ AC_PROG_CC
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+-AC_LIBTOOL_DLOPEN
+-AC_LIBLTDL_CONVENIENCE
+-AC_PROG_LIBTOOL
+
+-AC_SUBST(INCLTDL)
+-AC_SUBST(LIBLTDL)
++LT_PREREQ([2.2.6])
++LT_INIT([dlopen])
+
+ dnl *******************************************
+ dnl PATHS AND DIRS ****************************
+diff -ur pinball-0.3.1.orig/Makefile.am pinball-0.3.1/Makefile.am
+--- pinball-0.3.1.orig/Makefile.am 2003-12-10 12:15:35.000000000 +0200
++++ pinball-0.3.1/Makefile.am 2010-03-05 20:36:48.000000000 +0200
+@@ -1,6 +1,6 @@
+ AUTOMAKE_OPTIONS = gnu
+
+-SUBDIRS = libltdl addon base data src test
++SUBDIRS = addon base data src test
+
+ EXTRA_DIST = bootstrap pinball.spec clean pinball.desktop
+
+diff -ur pinball-0.3.1.orig/src/Makefile.am pinball-0.3.1/src/Makefile.am
+--- pinball-0.3.1.orig/src/Makefile.am 2003-11-20 18:46:17.000000000 +0200
++++ pinball-0.3.1/src/Makefile.am 2010-03-05 20:37:08.000000000 +0200
+@@ -7,9 +7,9 @@
+
+ pinlib_LIBRARIES = libemilia_pin.a
+
+-INCLUDES = -I../base -I../addon @INCLTDL@
++INCLUDES = -I../base -I../addon
+
+-pinball_LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a @LIBLTDL@
++pinball_LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl
+ pinball_LDFLAGS = -export-dynamic
+
+ pinball_SOURCES = Pinball.cpp
+diff -ur pinball-0.3.1.orig/test/Makefile.am pinball-0.3.1/test/Makefile.am
+--- pinball-0.3.1.orig/test/Makefile.am 2003-11-20 18:46:17.000000000 +0200
++++ pinball-0.3.1/test/Makefile.am 2010-03-05 20:36:38.000000000 +0200
+@@ -6,8 +6,8 @@
+ noinst_PROGRAMS = scale simple light texture load explode collision signal billboard font thread menu joy sound trans math misc varray unittest
+ dnl noinst_PROGRAMS = unittest
+
+-INCLUDES = -I../base -I../addon -I../src @INCLTDL@
+-LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a @LIBLTDL@
++INCLUDES = -I../base -I../addon -I../src
++LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl
+
+ testlib_LTLIBRARIES = libModuleTest.la
+
diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch
new file mode 100644
index 00000000000..3dfef56090c
--- /dev/null
+++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am.old 2011-04-26 10:46:05.102070461 +0200
++++ src/Makefile.am 2011-04-26 10:46:16.872813136 +0200
+@@ -9,7 +9,7 @@
+
+ INCLUDES = -I../base -I../addon
+
+-pinball_LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl
++pinball_LDADD = libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl
+ pinball_LDFLAGS = -export-dynamic
+
+ pinball_SOURCES = Pinball.cpp
diff --git a/games-arcade/emilia-pinball/metadata.xml b/games-arcade/emilia-pinball/metadata.xml
new file mode 100644
index 00000000000..16959664616
--- /dev/null
+++ b/games-arcade/emilia-pinball/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">pinball</remote-id>
+ </upstream>
+</pkgmetadata>