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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1D6E15808B for ; Fri, 1 Apr 2022 22:08:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7196DE0843; Fri, 1 Apr 2022 22:08:30 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C598E0839 for ; Fri, 1 Apr 2022 22:08:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4CA7341896 for ; Fri, 1 Apr 2022 22:08:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1F8CAF for ; Fri, 1 Apr 2022 22:08:25 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1648850811.a1754bf69bf31c5a4474c44719e97a138f31acc1.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/the-longest-journey/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/the-longest-journey/Manifest games-rpg/the-longest-journey/metadata.xml games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild X-VCS-Directories: games-rpg/the-longest-journey/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: a1754bf69bf31c5a4474c44719e97a138f31acc1 X-VCS-Branch: master Date: Fri, 1 Apr 2022 22:08:25 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2be68e4a-2773-4a0b-a131-e0df5c7515c5 X-Archives-Hash: ce01cfe895efdbc6fe7555b3357d5324 commit: a1754bf69bf31c5a4474c44719e97a138f31acc1 Author: James Le Cuirot gentoo org> AuthorDate: Fri Apr 1 22:06:51 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Apr 1 22:06:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1754bf6 games-rpg/the-longest-journey: New package Signed-off-by: James Le Cuirot gentoo.org> games-rpg/the-longest-journey/Manifest | 2 + games-rpg/the-longest-journey/metadata.xml | 12 +++++ .../the-longest-journey-142.24607.ebuild | 62 ++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/games-rpg/the-longest-journey/Manifest b/games-rpg/the-longest-journey/Manifest new file mode 100644 index 000000000000..8fe86ac94bbf --- /dev/null +++ b/games-rpg/the-longest-journey/Manifest @@ -0,0 +1,2 @@ +DIST setup_the_longest_journey_142_lang_update_(24607)-1.bin 1731065137 BLAKE2B 55d67ee12bcb527b45c4028ee1b84b6670fccad3000c0752138cd47e1225c7ed7a1f929be3711a091c6d749ec724c0768000bfa2324064d99eb070689a8dec57 SHA512 95d550a444f37b049c26aec04e851d5c057fdbd662306650024d0fc0eb88eaea8c831b2fddb599afed2dc1ed88b6a7d4f171525ebfc61fc6303080de30992687 +DIST setup_the_longest_journey_142_lang_update_(24607).exe 2126208 BLAKE2B 794c36e5080681da6b9e88fb42bb2325784336b5e2b6117240f07cc3aca87eaaa7001150dac42a5506bd3a41234775e401bd9bef4e59fff14589037f9c540cf4 SHA512 51c4221e8ddcf803814c781b0b441c8e38f17c78df0f62f35b540141799616abdcab2791dcc5f90c7ac4a9ff06ebb29b7d65a38777799087752f7c07ee1abdb9 diff --git a/games-rpg/the-longest-journey/metadata.xml b/games-rpg/the-longest-journey/metadata.xml new file mode 100644 index 000000000000..8815a3aa2353 --- /dev/null +++ b/games-rpg/the-longest-journey/metadata.xml @@ -0,0 +1,12 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + Install high definition backgrounds and sprites + Install upscaled full motion videos + + diff --git a/games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild b/games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild new file mode 100644 index 000000000000..e0aab360720b --- /dev/null +++ b/games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="1826M" +CHECKREQS_DISK_USR="1820M" +inherit check-reqs desktop wrapper xdg + +MY_EXE="setup_the_longest_journey_${PV%.*}_lang_update_(${PV##*.})" +ICON="9c94fffadc23bac626a24a9c04cf8f107598ef9d0d2a58cbb6a9abd4d6eb0fbc.png" + +DESCRIPTION="Adventure through the twin worlds of Stark and Arcadia, seen through the eyes of an 18-year old student" +HOMEPAGE="https://www.gog.com/game/the_longest_journey" +SRC_URI="${MY_EXE}.exe ${MY_EXE}-1.bin" +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+hd +hd-fmv" +RESTRICT="bindist fetch" + +RDEPEND=" + >=games-engines/scummvm-2.5.1[opengl,truetype,vorbis] +" + +PDEPEND=" + hd? ( ${CATEGORY}/${PN}-hd ) + hd-fmv? ( ${CATEGORY}/${PN}-hd-fmv ) +" + +BDEPEND=" + app-arch/innoextract + app-arch/unzip +" + +S="${WORKDIR}" + +pkg_nofetch() { + einfo "Please buy and download ${MY_EXE}{.exe,-1.bin} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_unpack() { + innoextract -e -s -m "${DISTDIR}/${MY_EXE}.exe" || die + unzip -qo app/webcache.zip "${ICON}" || die +} + +src_install() { + local dir=/usr/share/${PN} + + insinto "${dir}" + doins -r [0-9]?/ Global/ Static/ Fonts/ game.exe x.xarc *.ini + dodoc manual.pdf + + docinto html + dodoc -r tlj_faq_files/ tlj_faq.html + + newicon -s 128 "${ICON}" "${PN}.png" + make_wrapper ${PN} "scummvm -p \"${EPREFIX}${dir}\" tlj" + make_desktop_entry ${PN} "The Longest Journey" +}