summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-03 20:14:51 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-03 20:14:51 +0000
commit54b05070e56781a4ce52acdb6275795c0fa36f8a (patch)
tree473e7b7c63345059aa660abdd1237d3034ae2771 /games-util/emilia-pinedit
parentver bump #35900 (diff)
downloadhistorical-54b05070e56781a4ce52acdb6275795c0fa36f8a.tar.gz
historical-54b05070e56781a4ce52acdb6275795c0fa36f8a.tar.bz2
historical-54b05070e56781a4ce52acdb6275795c0fa36f8a.zip
initial ebuild #35900
Diffstat (limited to 'games-util/emilia-pinedit')
-rw-r--r--games-util/emilia-pinedit/ChangeLog8
-rw-r--r--games-util/emilia-pinedit/emilia-pinedit-0.3.1.ebuild48
-rw-r--r--games-util/emilia-pinedit/files/0.3.1-assert.patch21
-rw-r--r--games-util/emilia-pinedit/files/digest-emilia-pinedit-0.3.11
4 files changed, 78 insertions, 0 deletions
diff --git a/games-util/emilia-pinedit/ChangeLog b/games-util/emilia-pinedit/ChangeLog
new file mode 100644
index 000000000000..c4440c2d4b79
--- /dev/null
+++ b/games-util/emilia-pinedit/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-util/emilia-pinedit
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/emilia-pinedit/ChangeLog,v 1.1 2004/01/03 20:14:51 vapier Exp $
+
+*emilia-pinedit-0.3.1 (03 Jan 2004)
+
+ 03 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Jonas Bähr <jonas.baehr@web.de> #35900.
diff --git a/games-util/emilia-pinedit/emilia-pinedit-0.3.1.ebuild b/games-util/emilia-pinedit/emilia-pinedit-0.3.1.ebuild
new file mode 100644
index 000000000000..450850917242
--- /dev/null
+++ b/games-util/emilia-pinedit/emilia-pinedit-0.3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit games
+
+MY_P=${PN/emilia-/}-${PV}
+DESCRIPTION="A table-editor for the emilia-pinball"
+HOMEPAGE="http://pinball.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl
+ virtual/x11
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ >=emilia-pinball-0.3.1"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "/^CFLAGS=/s:-g -W -Wall:${CFLAGS}:" \
+ -e "/^CXXFLAGS=/s:-g -W -Wall:${CXXFLAGS}:" \
+ configure
+ sed -i \
+ -e "/^LDFLAGS/s:$:`pinball-config --libs` @LIBS@ -lSDL -lSDL_image -lSDL_mixer:" \
+ pinedit/Makefile.in
+ epatch ${FILESDIR}/${PV}-assert.patch
+}
+
+src_compile() {
+ egamesconf || die
+ emake -j1 || die
+}
+
+src_install() {
+ dodoc AUTHORS INSTALL NEWS README
+ emake DESTDIR=${D} install || die
+ rm -rf ${D}/${GAMES_PREFIX}/{include,lib}
+ prepgamesdirs
+}
diff --git a/games-util/emilia-pinedit/files/0.3.1-assert.patch b/games-util/emilia-pinedit/files/0.3.1-assert.patch
new file mode 100644
index 000000000000..0f895b0e9f58
--- /dev/null
+++ b/games-util/emilia-pinedit/files/0.3.1-assert.patch
@@ -0,0 +1,21 @@
+--- pinedit/command.h.orig 2004-01-03 14:33:55.397504520 -0500
++++ pinedit/command.h 2004-01-03 14:34:01.133632496 -0500
+@@ -18,6 +18,8 @@
+ #ifndef COMMAND_H
+ #define COMMAND_H
+
++#include <assert.h>
++
+ #define XY 0x1
+ #define XZ 0x2
+ #define ZY 0x3
+--- pinedit/listitem.h.orig 2004-01-03 14:46:29.289895456 -0500
++++ pinedit/listitem.h 2004-01-03 14:46:36.062865808 -0500
+@@ -20,6 +20,7 @@
+
+ // qt includes
+ #include <qlistview.h>
++#include <assert.h>
+
+ #define LISTITEM_NULL 0
+ #define LISTITEM_GROUP 1
diff --git a/games-util/emilia-pinedit/files/digest-emilia-pinedit-0.3.1 b/games-util/emilia-pinedit/files/digest-emilia-pinedit-0.3.1
new file mode 100644
index 000000000000..431d8f21721e
--- /dev/null
+++ b/games-util/emilia-pinedit/files/digest-emilia-pinedit-0.3.1
@@ -0,0 +1 @@
+MD5 3f33c72ef8749e8259aa600622d668f9 pinedit-0.3.1.tar.gz 1244070