From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF11A138335 for ; Tue, 30 Oct 2018 10:44:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF196E07EF; Tue, 30 Oct 2018 10:44:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8421DE0819 for ; Tue, 30 Oct 2018 10:44:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A4D8335C36 for ; Tue, 30 Oct 2018 10:44:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0BEA468 for ; Tue, 30 Oct 2018 10:44:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1540896246.66d0410a06486c6ede1b7e749d486a358b3e9d81.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/FTL-gog/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-roguelike/FTL-gog/FTL-gog-1.6.8.24110.ebuild games-roguelike/FTL-gog/Manifest X-VCS-Directories: games-roguelike/FTL-gog/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 66d0410a06486c6ede1b7e749d486a358b3e9d81 X-VCS-Branch: master Date: Tue, 30 Oct 2018 10:44:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5ed452ff-8df4-4c02-b16e-615263c9a89c X-Archives-Hash: c505cce57383667b19921e490783e3a3 commit: 66d0410a06486c6ede1b7e749d486a358b3e9d81 Author: Rob Levitsky protonmail ch> AuthorDate: Sat Oct 27 12:31:40 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Oct 30 10:44:06 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d0410a games-roguelike/FTL-gog: Bump version to 1.6.8.24110 Signed-off-by: Rob Levitsky protonmail.ch> Package-Manager: Portage-2.3.49, Repoman-2.3.11 Signed-off-by: Michał Górny gentoo.org> games-roguelike/FTL-gog/FTL-gog-1.6.8.24110.ebuild | 63 ++++++++++++++++++++++ games-roguelike/FTL-gog/Manifest | 1 + 2 files changed, 64 insertions(+) diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.8.24110.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.8.24110.ebuild new file mode 100644 index 00000000000..a70fe76bef5 --- /dev/null +++ b/games-roguelike/FTL-gog/FTL-gog-1.6.8.24110.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop unpacker + +DESCRIPTION="Top-down roguelike space ship simulator" +HOMEPAGE="https://www.gog.com/game/faster_than_light" +SRC_URI="ftl_advanced_edition_${PV//./_}.sh" +RESTRICT="bindist fetch mirror strip test" + +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="media-libs/freetype + media-libs/libsdl[X,sound,opengl,video] + media-libs/libpng + sys-libs/zlib + virtual/opengl" + +S="${WORKDIR}/data/noarch" + +pkg_nofetch() { + elog "Please buy and download ${SRC_URI} from" + elog "https://www.gog.com/game/faster_than_light" +} + +src_unpack() { + unpack_zip "${DISTDIR}/${A}" +} + +src_prepare() { + default + rm -r support/{xdg*,*.{sh,txt}} || die + if ! use x86; then + rm game/data/FTL.x86 || die + fi + if ! use amd64; then + rm game/data/FTL.amd64 || die + fi + + sed -i start.sh -e '/chmod/d' +} + +src_install() { + insinto /opt/gog/FTL + doins -r . + fperms +x /opt/gog/FTL/{start.sh,game/FTL,game/data/FTL} + + if use x86; then + fperms +x /opt/gog/FTL/game/data/FTL.x86 + fi + if use amd64; then + fperms +x /opt/gog/FTL/game/data/FTL.amd64 + fi + + make_desktop_entry "/opt/gog/FTL/start.sh" "FTL: Advanced Edition" FTL + newicon support/icon.png FTL.png +} diff --git a/games-roguelike/FTL-gog/Manifest b/games-roguelike/FTL-gog/Manifest index d3e140d5640..22b9a04b9b2 100644 --- a/games-roguelike/FTL-gog/Manifest +++ b/games-roguelike/FTL-gog/Manifest @@ -1 +1,2 @@ +DIST ftl_advanced_edition_1_6_8_24110.sh 201034290 BLAKE2B 6ed07bcbcacaf81704682be438ae8bfa4ccfe906e2845ad25550b081d33964f8c3d6f40326a56168b072e99e0c30190579bcd756f8a3c055a5b54907a0913014 SHA512 ad66211ad077738797d0a8f33bc43c01dbcd6bdff3e4d9a8316e0ebca06a94b76380911e54c4b16dfc2f836cdbb6a025383714f0de4b9f9c19376660a695c678 DIST ftl_advanced_edition_en_1_6_7_18662.sh 190506416 BLAKE2B 0a628e4de3a5539add2f421377c32ead5397ad1709e30124aa8c9d0874b98eb37cda97873b21dbb78fe635769c1a3c3254988ae22494805409d28f5e33417e44 SHA512 3e9c08d32964e21b49ad3e1b6a17c2349d516fdbea4118518e022134affc43dd27d2e60eea94784096aea4725f2656b43f6b6be9fe02eaed743c167ef842d66b