diff options
Diffstat (limited to 'games-arcade/emilia-pinball')
7 files changed, 198 insertions, 0 deletions
diff --git a/games-arcade/emilia-pinball/Manifest b/games-arcade/emilia-pinball/Manifest new file mode 100644 index 000000000000..7004a4aac18a --- /dev/null +++ b/games-arcade/emilia-pinball/Manifest @@ -0,0 +1,9 @@ +AUX emilia-pinball-0.3.1-gcc46.patch 887 SHA256 c2dd6f7ded0b113e2e6df9ab6ca7b2d0795e8b0f8228c03998b500430e8afdc9 SHA512 758d2d42f40b7d020aeeef75331b6a392c18eb9f9f34242d449ee233ef2f1b12900b69d572a40930a6dbd986e98be9258ccb2130746e36c8729c011ce294fda3 WHIRLPOOL 6cfd0365a750cc4fcdead9f353b14277b63e31e592b62293996161595e3e55ea7917177253cd32219a25453267f56a7866de01fe66316785ad8e4e9c647006c6 +AUX emilia-pinball-0.3.1-glibc210.patch 379 SHA256 7947e7c4327b339185da9d87c83fdf9c03d43d6dcb678b93d67b36de116f94da SHA512 a949474aa76dc0b503635c40fb8b641daaab59b51d1d680fc9ac3f6e94566f9064526fe21107e5e549a02c3264dfa0fc6d94a5f8a833a88defd4e9b3a6bb9be0 WHIRLPOOL 39dd266d3d26ac54fec42e93a4714da9e277439066e43f12a8382becd4f9e2d865d354e98d164178bb7b4b36348de88a9ce8ad98c7e0f39428729f70bfdb629a +AUX emilia-pinball-0.3.1-libtool.patch 2371 SHA256 05a344ecb84435c60286628dcf447e893138e63723f839160eb980bfe8d1ae34 SHA512 c60940620ba70c725774c9e0dfb930d2e5760fad9e64ec951ca3ab973f3e9f0884d88c0e7b4d8bf01f91651a7e5bd2111bcf5a38a63b46319436c7d2f270d71e WHIRLPOOL c3b554554761ca95a7e3e960cbfdf92e91ed52d4da93b7d22a454a1b79e278bdd716d3a814da9d7a82aea7accc2a6cc2f4751e36465158cdba3447990b6ef4b7 +AUX emilia-pinball-0.3.1-parallel.patch 428 SHA256 34a7214241c6a52ebdd9ea343887f6d46d0693b0ef9ec559e0dbe1c093eb2be0 SHA512 8c8d0ef2bbb59579cf3e0f12e624bc28c27e810cad2d140a4c85f998d482101d97bdb7109fd01fb4bb9f2e77369c503b51c5a704b2f0768e570e7eb094f4f3c6 WHIRLPOOL 61486f32fc52f3a6b822e47f46cca395e7e2f9a18163434d5f7363427e4b8c3c9e58066d3599ad72c01c622f079f2ee1f8cda8ae5251af34ec30482ef9a43c83 +DIST pinball-0.3.1.tar.gz 6082982 SHA256 ba47989f7fb6e294faa95285563220c8b01c3dbb9aa1bc29828eb7e832855cb8 SHA512 d54f2635f583be8a7e4bf3463c69c1ab368e1c069dd7c4edffb95df0448faf7e82ddb8f8607d22a7336e2db176134555ca65b613e9d008b38fecb8ad5a818498 WHIRLPOOL 1a0e0a5aa3e890a5f05e106fe53af67eb2692c7ad4e84f8eeb6ae97d014444616a7cdbb3d5ff4ac34671a307bbef01de215dba2f104d1e2c9a2eb9101efd0c59 +EBUILD emilia-pinball-0.3.1-r1.ebuild 1478 SHA256 d6356877f3b22dc8eeccfc057dede4d6487d5d06e5c9646a792e9ab51449bded SHA512 c2abb382b9dc94323cf7f54fdda2eeff7ceae4fd9d7c08f86b822d3a44f564a782b6b97141fa106da4aeef60839207c193bc3ff8a5d2835181bef244cac8f10a WHIRLPOOL 0b9ab5018bb81a3b47f1271c809bff6e4dcf7926f6e78c09ea66d14a18d5810fd29082d92773ac25ee397f7260b173dc5b70cb146335244d64b88b9dff06162b +MISC ChangeLog 2636 SHA256 633749154b921a85d61081a2a4486056f3362a7dc43d8744ab520442b753e4b5 SHA512 63d3b1109a9cde12bef9034a878ff97844e9da26a0e542357fa1e6daf41220cc33325438759116a77d946ba81d11f228fff03a4bea5bb799c805b4ed23e68ccc WHIRLPOOL 09e593f96a23bd3314291839f70e739e982b185b0346321c02e28afbb24f58467a68527625456d84aa2f8528d584eb37bd6ae7bf014d0a4fee7764662dc461c2 +MISC ChangeLog-2015 4076 SHA256 a28381e271900ff11625dc6bc1c6acb4663494a682e49862df223bf8bb3be9e7 SHA512 4cc9cb33a3ed54a19266f844659f9b5797ebdf0a6fe2e23909287facbc9cea39018764cb370f3cc0687839f24216ed2ef6e706da5af097182217b93f5862c233 WHIRLPOOL cd1cde954e839540bd2b0c95ed4f2ee3af7788a5cd517d9078b0898f0088ba3549718f9e90bd9605391322639c19bec0cbbb2e271e9502eb99b6c9afafd493cb +MISC metadata.xml 330 SHA256 397003e8278de329c652ab3878fed759347288ce772b41f99c4a55242f28044d SHA512 8432311fd9fb74150e0571245c2afda26de63a3a3671905cb7f221984933e5971c1f5f355517c54b7c31de3a3d3349d06116a4e67c57c44489147af5ae80e8cf WHIRLPOOL 7ffc330bf60f1057d505cca3d9a42b1c494ed45dac08a82e81f7abc9eec4f2cab58afbe4297af2ef99b118cdffb6cef9b0d0fab7e29ed69214e0afdec687439e 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 000000000000..db5a8bedbe6b --- /dev/null +++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 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 000000000000..d78779197fce --- /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 000000000000..800dbeae21a7 --- /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 000000000000..437e4eb684a4 --- /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 000000000000..3dfef56090c9 --- /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 000000000000..551a8380f3c8 --- /dev/null +++ b/games-arcade/emilia-pinball/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">pinball</remote-id> + </upstream> +</pkgmetadata> |