summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@falcon.eroen.eu>2014-06-03 03:50:46 +0200
committereroen <eroen@falcon.eroen.eu>2014-06-03 03:58:25 +0200
commit42f253a727b4e9703935d83e90d65e9d682984e8 (patch)
tree0f3893282fca7c09d8b1c99b92da17e4b2f2fb4a /games-roguelike
parentgames-roguelike/FTL - rename audio -> sound (diff)
downloaderoen-42f253a727b4e9703935d83e90d65e9d682984e8.tar.gz
eroen-42f253a727b4e9703935d83e90d65e9d682984e8.tar.bz2
eroen-42f253a727b4e9703935d83e90d65e9d682984e8.zip
FTL-1.5.13 - bump
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/FTL/FTL-1.5.13.ebuild65
-rw-r--r--games-roguelike/FTL/Manifest1
2 files changed, 66 insertions, 0 deletions
diff --git a/games-roguelike/FTL/FTL-1.5.13.ebuild b/games-roguelike/FTL/FTL-1.5.13.ebuild
new file mode 100644
index 0000000..96b3423
--- /dev/null
+++ b/games-roguelike/FTL/FTL-1.5.13.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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.${PV}.tar.gz"
+
+LICENSE="all-rights-reserved Boost-1.0 free-noncomm MIT bundled-libs? ( FTL LGPL-2.1 ZLIB libpng )"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="bundled-libs"
+RESTRICT="fetch bindist splitdebug"
+
+RDEPEND="
+ sys-devel/gcc[cxx]
+ virtual/opengl
+ !bundled-libs? (
+ media-libs/devil[png]
+ media-libs/freetype:2
+ media-libs/libsdl[X,joystick,opengl,sound,video]
+ )"
+
+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 bundled-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
+
+ 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/resources/exe_icon.bmp FTL.bmp
+ dohtml ${PN}_README.html
+
+ prepgamesdirs
+}
diff --git a/games-roguelike/FTL/Manifest b/games-roguelike/FTL/Manifest
index 909aad2..06297f1 100644
--- a/games-roguelike/FTL/Manifest
+++ b/games-roguelike/FTL/Manifest
@@ -1 +1,2 @@
+DIST FTL.1.5.13.tar.gz 197569383 SHA256 babdfafceec744f36dd663966813098669a983f94d243265dd57104ffbfb7055 SHA512 129aa9ea13b6889520cb637bcbda0452f3dc2e8d93fb0e4d1c7938436d776b39a0a33b4e9d943e058ab5c80dcbb6e7bb874d0a78bd8a2a5a3a7e34159e1faac9 WHIRLPOOL 23f9af234d3f81555fa2ca1533708e785fb82ba992c5fc836b6db1fe330e43c1b22927837a0cd000718e9adda8d3d9feb3abda8ca72463e9dc2aa75378db4c00
DIST FTL.1.5.4.tar.gz 197209927 SHA256 b1dc8b777344844a57f898403cef412f2130d99bdc061ba159868c6d135fca14 SHA512 731155bc2604c7f1f268795578a38c51580be6068b5a69007c2e383cadecbc626a8725b363887c786a25cf0f51ec243d5f6327b3341dee3c265f0e680d726ebf WHIRLPOOL d70fb164a345b8f2d3fe207af958c6e02927cfe447996cb2b15b796846a601579679e37de0d694f8a4498af34f7dc23e2636000ce03732bce1bdc89f275efaae