summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-01-10 00:52:11 +0000
committerSebastian Pipping <sping@gentoo.org>2010-01-10 00:52:11 +0000
commitcee6a3856b1b31949bb2a2e2fa93aac3077701d6 (patch)
tree91fdc7e197da554e3b0da2064ad98c15fbab6258 /games-action
parentStable for HPPA (bug #284453). (diff)
downloadgentoo-2-cee6a3856b1b31949bb2a2e2fa93aac3077701d6.tar.gz
gentoo-2-cee6a3856b1b31949bb2a2e2fa93aac3077701d6.tar.bz2
gentoo-2-cee6a3856b1b31949bb2a2e2fa93aac3077701d6.zip
games-action/openlierox: New package (fixes bug #164009)
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/openlierox/ChangeLog10
-rw-r--r--games-action/openlierox/metadata.xml14
-rw-r--r--games-action/openlierox/openlierox-0.58_beta9-r1.ebuild64
3 files changed, 88 insertions, 0 deletions
diff --git a/games-action/openlierox/ChangeLog b/games-action/openlierox/ChangeLog
new file mode 100644
index 000000000000..fd6d829297cf
--- /dev/null
+++ b/games-action/openlierox/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/openlierox
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/openlierox/ChangeLog,v 1.1 2010/01/10 00:52:11 sping Exp $
+
+*openlierox-0.58_beta9-r1 (10 Jan 2010)
+
+ 10 Jan 2010; Sebastian Pipping <sping@gentoo.org>
+ +openlierox-0.58_beta9-r1.ebuild, +metadata.xml:
+ New package (fixes bug #164009)
+
diff --git a/games-action/openlierox/metadata.xml b/games-action/openlierox/metadata.xml
new file mode 100644
index 000000000000..d0966431b1f4
--- /dev/null
+++ b/games-action/openlierox/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="breakpad">
+ Compile with support for
+ breakpad crash reporting system
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/games-action/openlierox/openlierox-0.58_beta9-r1.ebuild b/games-action/openlierox/openlierox-0.58_beta9-r1.ebuild
new file mode 100644
index 000000000000..d3793e825349
--- /dev/null
+++ b/games-action/openlierox/openlierox-0.58_beta9-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/openlierox/openlierox-0.58_beta9-r1.ebuild,v 1.1 2010/01/10 00:52:11 sping Exp $
+
+EAPI="2"
+
+inherit cmake-utils games
+
+MY_PN="OpenLieroX"
+MY_P="${MY_PN}_${PV}"
+DESCRIPTION="Real-time excessive Worms-clone"
+HOMEPAGE="http://openlierox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/openlierox/${MY_P}.src.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X breakpad debug"
+
+RDEPEND="media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/gd
+ dev-libs/libxml2
+ dev-libs/libzip
+ net-misc/curl
+ X? ( x11-libs/libX11
+ media-libs/libsdl[X] )
+ !X? ( media-libs/libsdl )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_configure() {
+ local mycmakeargs="
+ $(cmake-utils_use debug DEBUG)
+ $(cmake-utils_use X X11)
+ -D BREAKPAD=$(use breakpad && echo "Yes" || echo "No")
+ -D SYSTEM_DATA_DIR=${GAMES_DATADIR}
+ -D VERSION=${PV}"
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ # NOTE: App uses case-insensitive file-handling
+ insinto "${GAMES_DATADIR}"/${PN}/
+ doins -r share/gamedir/* || die "doins failed"
+
+ dodoc doc/{README,ChangeLog,Development,TODO} || die "dodoc failed"
+ insinto /usr/share/doc/"${PF}"
+ doins -r doc/original_lx_docs || die "doins failed"
+
+ doicon share/OpenLieroX.* || die "doicon failed"
+ make_desktop_entry openlierox OpenLieroX OpenLieroX.svg \
+ "Game;ActionGame;ArcadeGame;" || die "make_desktop_entry failed"
+
+ dogamesbin "${CMAKE_BUILD_DIR}"/bin/openlierox || die "dogamesbin failed"
+
+ prepgamesdirs
+}