diff options
author | eroen <eroen@falcon.eroen.eu> | 2014-04-06 00:44:45 +0200 |
---|---|---|
committer | eroen <eroen@falcon.eroen.eu> | 2014-04-06 19:20:47 +0200 |
commit | cef12e5a751a9a3be0cd1d8f425942b804033583 (patch) | |
tree | e71e3b604039a07c0c5661d6004f98f67143fda9 /games-roguelike | |
parent | FTL-1.03.3 from gentoo (diff) | |
download | eroen-cef12e5a751a9a3be0cd1d8f425942b804033583.tar.gz eroen-cef12e5a751a9a3be0cd1d8f425942b804033583.tar.bz2 eroen-cef12e5a751a9a3be0cd1d8f425942b804033583.zip |
FTL-1.5.4 bump
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/FTL/FTL-1.5.4.ebuild | 65 | ||||
-rw-r--r-- | games-roguelike/FTL/Manifest | 1 |
2 files changed, 66 insertions, 0 deletions
diff --git a/games-roguelike/FTL/FTL-1.5.4.ebuild b/games-roguelike/FTL/FTL-1.5.4.ebuild new file mode 100644 index 0000000..4b44689 --- /dev/null +++ b/games-roguelike/FTL/FTL-1.5.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 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,audio,joystick,opengl,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/exe_icon.bmp FTL.bmp + dohtml ${PN}_README.html + + prepgamesdirs +} diff --git a/games-roguelike/FTL/Manifest b/games-roguelike/FTL/Manifest index cf87298..9d9351c 100644 --- a/games-roguelike/FTL/Manifest +++ b/games-roguelike/FTL/Manifest @@ -1 +1,2 @@ +DIST FTL.1.5.4.tar.gz 197209927 SHA256 b1dc8b777344844a57f898403cef412f2130d99bdc061ba159868c6d135fca14 SHA512 731155bc2604c7f1f268795578a38c51580be6068b5a69007c2e383cadecbc626a8725b363887c786a25cf0f51ec243d5f6327b3341dee3c265f0e680d726ebf WHIRLPOOL d70fb164a345b8f2d3fe207af958c6e02927cfe447996cb2b15b796846a601579679e37de0d694f8a4498af34f7dc23e2636000ce03732bce1bdc89f275efaae DIST FTL.Linux.1.03.3.tar.gz 156790275 SHA256 a18983cac8cb0db8990d3b56c301d9983f0a8a5ad4850266922b7c5d538c178d SHA512 91efc51d526eb4e423d89e6b13a0400a75208007ce0fc4a3542634392ee5755256c89a628beb4f15dedc0d19197f29683cbbf4a1652fdc182dac5cd2ecd17b1f WHIRLPOOL fbfa48d9eabf8d6227e50bf5665f9e3563f71d3dce4e92752c1bc7afce9140dbfe0dca16a2ee2d189c95491fffb76eed0f62b049f7674834c4c157dd0a9dd615 |