From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- games-roguelike/FTL/FTL-1.5.13-r1.ebuild | 70 ++++++++++++++++++++++++++++++++ games-roguelike/FTL/FTL-1.5.13.ebuild | 65 ----------------------------- games-roguelike/FTL/Manifest | 2 +- 3 files changed, 71 insertions(+), 66 deletions(-) create mode 100644 games-roguelike/FTL/FTL-1.5.13-r1.ebuild delete mode 100644 games-roguelike/FTL/FTL-1.5.13.ebuild (limited to 'games-roguelike/FTL') diff --git a/games-roguelike/FTL/FTL-1.5.13-r1.ebuild b/games-roguelike/FTL/FTL-1.5.13-r1.ebuild new file mode 100644 index 000000000000..d1132199d777 --- /dev/null +++ b/games-roguelike/FTL/FTL-1.5.13-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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=" + sys-devel/gcc[cxx] + virtual/opengl + !bundled-libs? ( + media-libs/devil[png] + media-libs/freetype:2 + media-libs/libsdl[X,sound,joystick,opengl,video] + sys-libs/zlib + ) +" + +QA_PREBUILT=" + opt/${PN}/bin/${PN} + opt/${PN}/lib/* +" + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your DISTDIR directory." + einfo +} + +src_prepare() { + default + + 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=/opt/${PN} + + insinto ${dir} + doins -r data/resources + + exeinto ${dir}/bin + doexe data/${ARCH}/bin/${PN} + exeinto ${dir}/lib + doexe data/${ARCH}/lib/*.so* + + 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 + + docinto html + dodoc ${PN}_README.html +} diff --git a/games-roguelike/FTL/FTL-1.5.13.ebuild b/games-roguelike/FTL/FTL-1.5.13.ebuild deleted file mode 100644 index 41455eb7e7b3..000000000000 --- a/games-roguelike/FTL/FTL-1.5.13.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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,sound,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 your DISTDIR directory." - 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 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 -- cgit v1.2.3