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
commit3634b0088cd7350805562489117b568776390d9b (patch)
tree28cd4b96d277ac766730c5beb3cc4126e3c54711 /games-arcade/tuxanci
parent~mips keyworded, bug #242546 (diff)
downloadhistorical-3634b0088cd7350805562489117b568776390d9b.tar.gz
historical-3634b0088cd7350805562489117b568776390d9b.tar.bz2
historical-3634b0088cd7350805562489117b568776390d9b.zip
Add tuxanci-0.21.0. Fixes bug #172153.
Package-Manager: portage-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..a85a1a8b3204
--- /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 1729 RMD160 29e18d00bd9508506a9c595e717ce97c73198ae0 SHA1 e640723dc2ae65bc22db04b80c2cca7cbcc17311 SHA256 58ac6efcc310577a4d931ead46f6d467635e351fc4ae033465cdfa77f6dd28de
+MISC ChangeLog 394 RMD160 cd618f85d78ae32a89de1a1cd74de1d6b0d3dbbd SHA1 1e062c55d8da3bc3679c183303f0a9fcb076586c SHA256 3e912947dc79ed7129476c656b467a621a4cd35c8a2362a6d58c8f80e3774f0f
+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
+}