summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/knights/files/knights-no-arts.patch34
-rw-r--r--games-board/knights/knights-0.6.4_pre20060107.ebuild54
-rw-r--r--games-sports/xmoto/Manifest12
-rw-r--r--games-sports/xmoto/files/digest-xmoto-0.1.143
-rw-r--r--games-sports/xmoto/files/xmoto-as-needed.patch11
-rw-r--r--games-sports/xmoto/xmoto-0.1.14.ebuild41
6 files changed, 155 insertions, 0 deletions
diff --git a/games-board/knights/files/knights-no-arts.patch b/games-board/knights/files/knights-no-arts.patch
new file mode 100644
index 000000000..d97048d44
--- /dev/null
+++ b/games-board/knights/files/knights-no-arts.patch
@@ -0,0 +1,34 @@
+diff -ur k.orig/admin/acinclude.m4.in k/admin/acinclude.m4.in
+--- k.orig/admin/acinclude.m4.in 2005-11-26 22:46:32.000000000 +0100
++++ k/admin/acinclude.m4.in 2005-11-26 22:47:46.000000000 +0100
+@@ -513,13 +513,6 @@
+ ])
+ ])
+
+-AC_DEFUN(KDE_MISSING_ARTS_ERROR,
+-[
+- AC_MSG_ERROR([The important program $1 was not found!
+-Please check whether you installed aRts correctly.
+-])
+-])
+-
+ AC_DEFUN(KDE_SUBST_PROGRAMS,
+ [
+
+@@ -536,8 +529,6 @@
+ kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_default_bindirs"
+ KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)])
+ KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)])
+- KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)])
+- KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)])
+ KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs])
+ KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
+
+@@ -557,7 +548,6 @@
+ AC_SUBST(DCOPIDL2CPP)
+ AC_SUBST(DCOP_DEPENDENCIES)
+ AC_SUBST(MCOPIDL)
+- AC_SUBST(ARTSCCONFIG)
+ AC_SUBST(KDECONFIG)
+ AC_SUBST(MEINPROC)
+ AC_SUBST(KDE_XSL_STYLESHEET)
diff --git a/games-board/knights/knights-0.6.4_pre20060107.ebuild b/games-board/knights/knights-0.6.4_pre20060107.ebuild
new file mode 100644
index 000000000..2386bf7db
--- /dev/null
+++ b/games-board/knights/knights-0.6.4_pre20060107.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils kde cvs
+
+ECVS_SERVER="knights.cvs.sourceforge.net:/cvsroot/${PN}"
+ECVS_MODULE="${PN}"
+ECVS_CO_OPTS="-D ${PV#*_pre}"
+ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}"
+
+S=${WORKDIR}/${ECVS_MODULE}
+
+MY_PV=${PV/_/-}
+THEME=${PN}-themepack-0.5.9
+DESCRIPTION="KDE Chess Interface"
+HOMEPAGE="http://knights.sourceforge.net/"
+SRC_URI="mirror://sourceforge/knights/${THEME}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+IUSE=""
+
+DEPEND="|| ( kde-base/kdebase-kioslaves
+ kde-base/kdebase )"
+RDEPEND="${DEPEND}"
+
+need-kde 3
+
+src_unpack() {
+ cvs_src_unpack
+ cd ${WORKDIR}
+ unpack ${A}
+ cd ${S}
+ sed -i "s:\(the same spot\):\1\n/*:" knights/logic.cpp || die "sed failed"
+ sed -i "s:\(// restore the backup\):*/\n\t\t}\n\t}\n\t\1:" \
+ knights/logic.cpp || die "sed failed"
+ sed -i "s:head -\([0-9]\+\):head -n \1:" admin/cvs.sh || die "sed failed"
+ sed -i "s: theme.cpp::" knights/Makefile.am || die "sed failed"
+
+ epatch ${FILESDIR}/knights-no-arts.patch
+
+ make -f Makefile.dist || die "make -f Makefile.dist failed"
+}
+
+src_install() {
+ kde_src_install
+
+ cd ../${PN}-themepack || die "Themes seem to be missing."
+ insinto /usr/share/apps/knights/themes
+ doins *.tar.gz || die "doins failed"
+}
diff --git a/games-sports/xmoto/Manifest b/games-sports/xmoto/Manifest
new file mode 100644
index 000000000..c2b02d383
--- /dev/null
+++ b/games-sports/xmoto/Manifest
@@ -0,0 +1,12 @@
+AUX xmoto-as-needed.patch 514 RMD160 4578b5637cfa4738dc448f30eb6bcb9358c51ed2 SHA1 b2ab19f7c83c4a7d3a8d4b1bf184ce5ecd335e99 SHA256 b2b1c8db87c5f2141a1a3d40e9e415a36e11dc17a6299978ae5da798a3cd35d3
+MD5 d44458cb32c9b52c46518ccc74ec83e2 files/xmoto-as-needed.patch 514
+RMD160 4578b5637cfa4738dc448f30eb6bcb9358c51ed2 files/xmoto-as-needed.patch 514
+SHA256 b2b1c8db87c5f2141a1a3d40e9e415a36e11dc17a6299978ae5da798a3cd35d3 files/xmoto-as-needed.patch 514
+DIST xmoto-0.1.14-src.tar.gz 2920614 RMD160 34cf8de94aafe54ad3942b80b4d1ca4d4cf87fd5 SHA1 a999e06d8c378cfe5afae5f4e8d6f7f293a36371 SHA256 cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c
+EBUILD xmoto-0.1.14.ebuild 812 RMD160 93e309c25ffcb640f022805935855a5a3a8d01b7 SHA1 ad6aff172538709d85897cac2529cb2ef69ec3ff SHA256 137633a86ce7d2f49e3953e7e364282f35b4617f95fbef630e3aa7301bee0d83
+MD5 b23ad1ae647399548b80341d55e6ca7b xmoto-0.1.14.ebuild 812
+RMD160 93e309c25ffcb640f022805935855a5a3a8d01b7 xmoto-0.1.14.ebuild 812
+SHA256 137633a86ce7d2f49e3953e7e364282f35b4617f95fbef630e3aa7301bee0d83 xmoto-0.1.14.ebuild 812
+MD5 9d9712da83b3add7051ffb5ccb9913b6 files/digest-xmoto-0.1.14 253
+RMD160 f5ffbfb425b4245ac7f90ad4737e768da090f904 files/digest-xmoto-0.1.14 253
+SHA256 cad295c7ee1705a6b0c4be70c7db972ef6c1a7718f02a5b182c3c87c2d840109 files/digest-xmoto-0.1.14 253
diff --git a/games-sports/xmoto/files/digest-xmoto-0.1.14 b/games-sports/xmoto/files/digest-xmoto-0.1.14
new file mode 100644
index 000000000..bcc2243f7
--- /dev/null
+++ b/games-sports/xmoto/files/digest-xmoto-0.1.14
@@ -0,0 +1,3 @@
+MD5 f2826bd3cc19daba25a6bdf92b1d6461 xmoto-0.1.14-src.tar.gz 2920614
+RMD160 34cf8de94aafe54ad3942b80b4d1ca4d4cf87fd5 xmoto-0.1.14-src.tar.gz 2920614
+SHA256 cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c xmoto-0.1.14-src.tar.gz 2920614
diff --git a/games-sports/xmoto/files/xmoto-as-needed.patch b/games-sports/xmoto/files/xmoto-as-needed.patch
new file mode 100644
index 000000000..e9c4b85c0
--- /dev/null
+++ b/games-sports/xmoto/files/xmoto-as-needed.patch
@@ -0,0 +1,11 @@
+--- xmoto-0.1.14/Makefile.am.orig 2006-05-22 17:29:02.000000000 +0200
++++ xmoto-0.1.14/Makefile.am 2006-05-22 17:28:10.000000000 +0200
+@@ -34,7 +34,7 @@
+ src/EditorData.cpp src/EditorLog.cpp src/Editor.h src/EditorData.h \
+ src/EditorLog.h src/Packager.cpp src/Packager.h
+
+-xmoto_edit_LDADD = $(common_LDADD)
++xmoto_edit_LDADD = $(common_LDADD) $(SDL_LIBS)
+
+ xmoto_SOURCES = $(common_SOURCES) src/BSP.cpp src/Game.cpp src/GameMain.cpp \
+ src/GameMenus.cpp src/GUIBestTimes.cpp src/GUIButton.cpp src/GUI.cpp \
diff --git a/games-sports/xmoto/xmoto-0.1.14.ebuild b/games-sports/xmoto/xmoto-0.1.14.ebuild
new file mode 100644
index 000000000..6b315d776
--- /dev/null
+++ b/games-sports/xmoto/xmoto-0.1.14.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games eutils
+
+HOMEPAGE="http://xmoto.sourceforge.net"
+SRC_URI="mirror://sourceforge/xmoto/${P}-src.tar.gz"
+DESCRIPTION="X-Moto is a challenging 2D motocross platform game"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE=""
+LICENSE="GPL-2"
+
+RDEPEND="media-libs/jpeg
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ net-misc/curl
+ dev-lang/lua
+ dev-games/ode
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/xmoto-as-needed.patch"
+}
+
+src_compile() {
+ egamesconf || die "egamesconf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ dodoc ChangeLog README TODO
+ prepgamesdirs
+}