summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2008-10-27 07:37:04 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2008-10-27 07:37:04 +0000
commit644d5d7ec2275fd17d4ed8380501e3fa7e392b0b (patch)
tree3de11926338b6e6cfde18210db32167a625a258d /games-arcade/tuxanci
parent~mips keyworded, bug #242546 (diff)
downloadgentoo-2-644d5d7ec2275fd17d4ed8380501e3fa7e392b0b.tar.gz
gentoo-2-644d5d7ec2275fd17d4ed8380501e3fa7e392b0b.tar.bz2
gentoo-2-644d5d7ec2275fd17d4ed8380501e3fa7e392b0b.zip
Add tuxanci-0.21.0. Fixes bug #172153.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'games-arcade/tuxanci')
-rw-r--r--games-arcade/tuxanci/ChangeLog10
-rw-r--r--games-arcade/tuxanci/Manifest4
-rw-r--r--games-arcade/tuxanci/metadata.xml9
-rw-r--r--games-arcade/tuxanci/tuxanci-0.21.0.ebuild58
4 files changed, 81 insertions, 0 deletions
diff --git a/games-arcade/tuxanci/ChangeLog b/games-arcade/tuxanci/ChangeLog
new file mode 100644
index 000000000000..fa990800e9de
--- /dev/null
+++ b/games-arcade/tuxanci/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/tuxanci
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxanci/ChangeLog,v 1.1 2008/10/27 07:37:04 scarabeus Exp $
+
+*tuxanci-0.21.0 (27 Oct 2008)
+
+ 27 Oct 2008; Tomas Chvatal (scarabeus) <scarabeus@gentoo.org>
+ +metadata.xml, +tuxanci-0.21.0.ebuild:
+ Add tuxanci-0.21.0. Fixes bug #172153.
+
diff --git a/games-arcade/tuxanci/Manifest b/games-arcade/tuxanci/Manifest
new file mode 100644
index 000000000000..b06036e38c3b
--- /dev/null
+++ b/games-arcade/tuxanci/Manifest
@@ -0,0 +1,4 @@
+DIST tuxanci-0.21.0.tar.bz2 4665025 RMD160 88bd49d7543183d87233856cf43a0c5873a32876 SHA1 352a01be9ebf85109cb3d47f366538a20737fad7 SHA256 82357dd546d6614b4bc76a0b143a211e4475d009cabd48166dae12bb2712f1a8
+EBUILD tuxanci-0.21.0.ebuild 1622 RMD160 0d8e309f30d0818ed2ddf1c6f48a525ee5751611 SHA1 4f0ee610b8fde20f9040e5262305dc8113a71992 SHA256 f32cb04b2cea8fb6ec7692441729a11a39af6853fbc91617013bbe76daf3a495
+MISC ChangeLog 299 RMD160 ea45174839ceb742d3b0565aa73cd871af260896 SHA1 26daea63a1f35bd3269293312920b7ee3af50854 SHA256 f8d0bfdb64913a013f9999b5bcf3afdbc3f09ddecb7695a352783939a5582958
+MISC metadata.xml 250 RMD160 174bcaa9210d4faefadfb58326df11c787a891ae SHA1 60322be503647adecc133838c3dfef2d1ee169da SHA256 1e21cdb93854b93981b9e2baff7d029e35c4be1a21dc351085d9f51a877fdc9d
diff --git a/games-arcade/tuxanci/metadata.xml b/games-arcade/tuxanci/metadata.xml
new file mode 100644
index 000000000000..7f348ff3e7f7
--- /dev/null
+++ b/games-arcade/tuxanci/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>scarabeus@gentoo.org</email>
+ <name>Tomas Chvatal</name>
+</maintainer>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-arcade/tuxanci/tuxanci-0.21.0.ebuild b/games-arcade/tuxanci/tuxanci-0.21.0.ebuild
new file mode 100644
index 000000000000..1963a2e0ebc8
--- /dev/null
+++ b/games-arcade/tuxanci/tuxanci-0.21.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxanci/tuxanci-0.21.0.ebuild,v 1.1 2008/10/27 07:37:04 scarabeus Exp $
+
+EAPI="2"
+
+inherit games cmake-utils
+
+DESCRIPTION="Tuxanci is first cushion shooter inspired by game Bulanci."
+HOMEPAGE="http://www.tuxanci.org/"
+SRC_URI="http://download.${PN}.org/${P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug dedicated nls"
+# alsa is used only when building client
+
+RDEPEND="!dedicated? (
+ >=media-libs/libsdl-1.2.10
+ >=media-libs/sdl-ttf-2.0.7
+ >=media-libs/sdl-image-1.2.6-r1
+ alsa? (
+ >=media-libs/sdl-mixer-1.2.7
+ )
+ )
+ dev-libs/zziplib"
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.6.0
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ local mycmakeargs
+ use alsa || mycmakeargs="${mycmakeargs} -DNO_Audio=1"
+ use debug && mycmakeargs="${mycmakeargs} -DDebug=1"
+ use dedicated && mycmakeargs="${mycmakeargs} -DServer=1"
+ use nls && mycmakeargs="${mycmakeargs} -DNLS=1"
+ # This cant be quoted due to cmake nature.
+ # Read as: quote it and it wont compile.
+ mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}
+ -DCMAKE_DATA_PATH=${GAMES_DATADIR}
+ -DCMAKE_LOCALE_PATH=${GAMES_DATADIR_BASE}/locale/
+ -DCMAKE_DOC_PATH=${GAMES_DATADIR_BASE}/doc/
+ -DCMAKE_ETC_PATH=${GAMES_SYSCONFDIR} -DLIB_INSTALL_DIR=$(games_get_libdir)"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ local MY_PN
+ use dedicated && MY_PN=${PN}-server || MY_PN=${PN}
+
+ cmake-utils_src_install
+ dosym "${GAMES_BINDIR}"/${MY_PN}-${PV} "${GAMES_BINDIR}"/${MY_PN}
+ doicon data/${PN}.svg
+ # we compile our desktop file
+ domenu data/${PN}.desktop
+ prepgamesdirs
+}