summaryrefslogtreecommitdiff
path: root/games-roguelike/FTL
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-roguelike/FTL
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-roguelike/FTL')
-rw-r--r--games-roguelike/FTL/FTL-1.5.13-r1.ebuild (renamed from games-roguelike/FTL/FTL-1.5.13.ebuild)35
-rw-r--r--games-roguelike/FTL/Manifest2
2 files changed, 21 insertions, 16 deletions
diff --git a/games-roguelike/FTL/FTL-1.5.13.ebuild b/games-roguelike/FTL/FTL-1.5.13-r1.ebuild
index 41455eb7e7b3..d1132199d777 100644
--- a/games-roguelike/FTL/FTL-1.5.13.ebuild
+++ b/games-roguelike/FTL/FTL-1.5.13-r1.ebuild
@@ -1,18 +1,20 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils games
+inherit desktop wrapper
DESCRIPTION="Faster Than Light: A spaceship simulation real-time roguelike-like game"
HOMEPAGE="http://www.ftlgame.com/"
SRC_URI="FTL.${PV}.tar.gz"
+S="${WORKDIR}"/${PN}
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="
@@ -23,12 +25,13 @@ RDEPEND="
media-libs/freetype:2
media-libs/libsdl[X,sound,joystick,opengl,video]
sys-libs/zlib
- )"
-
-QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/bin/${PN}
- ${GAMES_PREFIX_OPT#/}/${PN}/lib/*"
+ )
+"
-S=${WORKDIR}/${PN}
+QA_PREBUILT="
+ opt/${PN}/bin/${PN}
+ opt/${PN}/lib/*
+"
pkg_nofetch() {
einfo "Please buy & download ${SRC_URI} from:"
@@ -38,6 +41,8 @@ pkg_nofetch() {
}
src_prepare() {
+ default
+
if ! use bundled-libs ; then
# no system lib for libbass available
find data/${ARCH}/lib -type f \! -name "libbass*" -delete || die
@@ -45,21 +50,21 @@ src_prepare() {
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
+ local dir=/opt/${PN}
- insinto "${dir}"
+ insinto ${dir}
doins -r data/resources
- exeinto "${dir}"/bin
+ exeinto ${dir}/bin
doexe data/${ARCH}/bin/${PN}
- exeinto "${dir}"/lib
+ exeinto ${dir}/lib
doexe data/${ARCH}/lib/*.so*
- games_make_wrapper ${PN} "${dir}/bin/${PN}" "${dir}" "${dir}/lib"
+ 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
+ docinto html
+ dodoc ${PN}_README.html
}
diff --git a/games-roguelike/FTL/Manifest b/games-roguelike/FTL/Manifest
index a601901cbc93..fa71c2038d47 100644
--- a/games-roguelike/FTL/Manifest
+++ b/games-roguelike/FTL/Manifest
@@ -1,3 +1,3 @@
DIST FTL.1.5.13.tar.gz 197569383 BLAKE2B 29b61c92dc242c6239e236761a89c464efc3889e1d28bbcd3466548090f4ba23450597ef9cd0a7130d0caea1d45a9cfdd87a56a65998dd4da146f1ade5d9a68d SHA512 129aa9ea13b6889520cb637bcbda0452f3dc2e8d93fb0e4d1c7938436d776b39a0a33b4e9d943e058ab5c80dcbb6e7bb874d0a78bd8a2a5a3a7e34159e1faac9
-EBUILD FTL-1.5.13.ebuild 1508 BLAKE2B acdbffc4442f614ef483d92f25d7135bc66341151db23b00ea8152eb0351b14f249b2f34d7c7a17ef6e6694541c1818fb909a3b53985c788e049bd506ba4f003 SHA512 973adce9ff088cef80e7cf18ca8632b67ecbdc5db1e55e7dd9ebd0718921609b967a5cdcf008bc2075fc26a8294da301efabdcdb3cf3cf8baa5895b9022eb512
+EBUILD FTL-1.5.13-r1.ebuild 1462 BLAKE2B 9a4c0fc9e87321c5800ad3c3cc9bc93f5422f05e8f763b067ac5be7f47e69e373a9120f60a0056d66d503d49983e515c29624b300a6b1a6e5f4f4e8838b44289 SHA512 3a0f1666c2475a3f4ecdf43b0fa00bd005ab47398c3b82f813ea5791dd38c31f7d8928e5961be36ab0ba43f912a28ce06b05a98a788c9584a9a7248f9497cde7
MISC metadata.xml 326 BLAKE2B 20c0a3a6cbb19e457c09b386a837b4202cf279231a681f3da7d604f3bffcfe6761f849ce82bc0169cc498d9bab565ff75216f4b749068e6663f5acbace935f7b SHA512 87eee3f514c290aba519dad7fdb335424ebd7ed7bb1cfa8650d293136ad2a6efdb44eff2c1c48973e9a587f282a2114866d9e4d66adb857b61a085d5635ecfd2