summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-01 21:12:12 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-01 21:12:12 +0000
commit3ee7cc3b344b6f8c5f060dd5bae8a64ac1fb234e (patch)
tree263056e776a282693394658abbd8ef81d8138e63 /games-roguelike/FTL
parentFix LICENSE, add mirror and bindist restrictions, bug 444424. (diff)
downloadgentoo-2-3ee7cc3b344b6f8c5f060dd5bae8a64ac1fb234e.tar.gz
gentoo-2-3ee7cc3b344b6f8c5f060dd5bae8a64ac1fb234e.tar.bz2
gentoo-2-3ee7cc3b344b6f8c5f060dd5bae8a64ac1fb234e.zip
initial import
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-roguelike/FTL')
-rw-r--r--games-roguelike/FTL/ChangeLog10
-rw-r--r--games-roguelike/FTL/FTL-1.03.1.ebuild68
-rw-r--r--games-roguelike/FTL/Manifest4
-rw-r--r--games-roguelike/FTL/metadata.xml13
4 files changed, 95 insertions, 0 deletions
diff --git a/games-roguelike/FTL/ChangeLog b/games-roguelike/FTL/ChangeLog
new file mode 100644
index 000000000000..2fb865d44a70
--- /dev/null
+++ b/games-roguelike/FTL/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-roguelike/FTL
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/FTL/ChangeLog,v 1.1 2013/01/01 21:12:12 hasufell Exp $
+
+*FTL-1.03.1 (01 Jan 2013)
+
+ 01 Jan 2013; Julian Ospald <hasufell@gentoo.org> +FTL-1.03.1.ebuild,
+ +metadata.xml:
+ initial import
+
diff --git a/games-roguelike/FTL/FTL-1.03.1.ebuild b/games-roguelike/FTL/FTL-1.03.1.ebuild
new file mode 100644
index 000000000000..dd8ccbc9bddd
--- /dev/null
+++ b/games-roguelike/FTL/FTL-1.03.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/FTL/FTL-1.03.1.ebuild,v 1.1 2013/01/01 21:12:12 hasufell Exp $
+
+EAPI=5
+
+inherit eutils games
+
+DESCRIPTION="Faster Than Light: A spaceship simulation real-time roguelike-like game"
+HOMEPAGE="http://www.ftlgame.com/"
+SRC_URI="ftl_faster_than_light-linux-${PV}.tar.gz"
+
+LICENSE="all-rights-reserved Boost-1.0 free-noncomm MIT !system-libs? ( FTL GPL-2 LGPL-2.1 ZLIB )"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="+system-libs"
+RESTRICT="fetch"
+
+RDEPEND="
+ media-libs/libpng:0
+ sys-devel/gcc[cxx]
+ virtual/opengl
+ system-libs? (
+ media-libs/devil[png,opengl]
+ media-libs/freetype:2
+ media-libs/libsdl[X,audio,joystick,opengl,video]
+ sys-libs/zlib
+ )"
+
+QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/bin/${PN}
+ ${GAMES_PREFIX_OPT}/${PN}/lib/*"
+
+S=${WORKDIR}/${PN}
+
+pkg_nofetch() {
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to ${DISTDIR}"
+ einfo
+}
+
+src_prepare() {
+ if use system-libs ; then
+ # no system lib for libbass available
+ find data/${ARCH}/lib -type f \! -name "libbass*" -delete || die
+ fi
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ insinto "${dir}"
+ doins -r data/resources
+ doins data/exe_icon.bmp
+
+ exeinto "${dir}"/bin
+ doexe data/${ARCH}/bin/${PN}
+ exeinto "${dir}"/lib
+ doexe data/${ARCH}/lib/*.so*
+
+ games_make_wrapper ${PN} "${dir}/bin/${PN}" "${dir}" "${dir}/lib"
+ make_desktop_entry ${PN} "Faster Than Light" "/usr/share/pixmaps/FTL.bmp"
+
+ newicon data/exe_icon.bmp FTL.bmp
+ dohtml ${PN}_README.html
+
+ prepgamesdirs
+}
diff --git a/games-roguelike/FTL/Manifest b/games-roguelike/FTL/Manifest
new file mode 100644
index 000000000000..0e38137d88e3
--- /dev/null
+++ b/games-roguelike/FTL/Manifest
@@ -0,0 +1,4 @@
+DIST ftl_faster_than_light-linux-1.03.1.tar.gz 157094737 SHA256 d5e5da80e6865b0614087e09ca5eca9aee3c01906a9485ccde21267d01640264 SHA512 866e910692742e5952c78a425494dab705651d830ccee38347bf6341b60c2f0ce0f4c509dc802b89471f58a9f0235ae09c063da5eaa281c6b8fa57e4ae2986e9 WHIRLPOOL 3604967f7e7536a40f6028e721b9085c896cca0179c76eaab9a4329a09a1b9892f157aa956c5d9a92e71e329f90af2eb9e79f8db17f4a7d678ba3d2cde6eac3f
+EBUILD FTL-1.03.1.ebuild 1549 SHA256 f5d8f58271e83751ab68429c2336fa7ac674b3d50acc12456482494b378a1cfd SHA512 e710aeee32fe002375c7e57712a5572b94e26b3951f755a9e09207029c9465c035552e3c53fa09a7700d8a5b6433837469cb15b27ce62a8ec4fcf4e03e3b049c WHIRLPOOL 1dcf782454de8995202f7676f64e5aebf07c16bdcb050b6ea05b69e715f430397536d9086bfdcd499184e8325d8996b4089d94797d9528fae67a45b72bf2332a
+MISC ChangeLog 253 SHA256 e0f93c8a0a9ad3301e541879f7f01885093baa8cd1ec058f168bd2d98dba41a1 SHA512 3cf28e157619f4744a543666ab11d93cd0cc24c1122e5fdbf9911d855bdb2bbe47b9358dd4a77771da824ec9a8b3e1f9154410aa242a3e91115d3b45a3308f7a WHIRLPOOL eb5d1b4df9cc8cf2cbb4f93c1a7002ff8917e17d5d4c4a9caaf73b887cb5f210679428ba6878d7356c430541699441fb1942e42a262c16dc56934bf55653cf4a
+MISC metadata.xml 335 SHA256 f001443439368b335fbf18e3a90dd59d996860d712b370f236028a5f13a76179 SHA512 894ff95fde5a2c8e7ee5b9eeb79319985c82d6c7d4dd222bf827d3cdc242a779951cef69eb2f0c20cb436627e9f3ad807c769d330a2c1170007e75df42c0da66 WHIRLPOOL f264004682f60a24344b2f1ca3389f3d27e6aaa0c175713d4093319f1e262646d53756ebdd5f7cc1c82dfe6620f78b5505956201690721b514a9cfa2441b007e
diff --git a/games-roguelike/FTL/metadata.xml b/games-roguelike/FTL/metadata.xml
new file mode 100644
index 000000000000..d8a99216b70f
--- /dev/null
+++ b/games-roguelike/FTL/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='system-libs'>Use system provided libraries.</flag>
+ </use>
+</pkgmetadata>
+