From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1701563-garchives=archives.gentoo.org@lists.gentoo.org> 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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD11E1580FD for <garchives@archives.gentoo.org>; Thu, 19 Dec 2024 22:52:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10C64E0827; Thu, 19 Dec 2024 22:52:37 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6732AE0788 for <gentoo-commits@lists.gentoo.org>; Thu, 19 Dec 2024 22:52:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9CBA233C84E for <gentoo-commits@lists.gentoo.org>; Thu, 19 Dec 2024 22:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C58421AB5 for <gentoo-commits@lists.gentoo.org>; Thu, 19 Dec 2024 22:52:32 +0000 (UTC) From: "James Le Cuirot" <chewi@gentoo.org> 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" <chewi@gentoo.org> Message-ID: <1734648713.78b78789167360c8e510555b40663b9c5beca762.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/jazz2-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/jazz2-data/jazz2-data-0-r20241219.ebuild games-arcade/jazz2-data/metadata.xml X-VCS-Directories: games-arcade/jazz2-data/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 78b78789167360c8e510555b40663b9c5beca762 X-VCS-Branch: master Date: Thu, 19 Dec 2024 22:52:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 736c37d7-c2e5-4be4-8388-e047569c178f X-Archives-Hash: dd161f906f648f49fb96a62e1197b06b commit: 78b78789167360c8e510555b40663b9c5beca762 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Thu Dec 19 22:49:00 2024 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Thu Dec 19 22:51:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b78789 games-arcade/jazz2-data: Rework for the C++ implementation This implementation uses the original data files directly. Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> .../jazz2-data/jazz2-data-0-r20241219.ebuild | 64 ++++++++++++++++++++++ games-arcade/jazz2-data/metadata.xml | 3 - 2 files changed, 64 insertions(+), 3 deletions(-) diff --git a/games-arcade/jazz2-data/jazz2-data-0-r20241219.ebuild b/games-arcade/jazz2-data/jazz2-data-0-r20241219.ebuild new file mode 100644 index 000000000000..50ae121bfcfd --- /dev/null +++ b/games-arcade/jazz2-data/jazz2-data-0-r20241219.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit estack + +DESCRIPTION="Jazz Jackrabbit 2 data files for games-arcade/jazz2" +HOMEPAGE="https://www.gog.com/game/jazz_jackrabbit_2_collection" + +# Order is significant! +SRC_URI=" + demo? ( + https://deat.tk/jazz2/misc/shareware-demo.zip -> jazz2-shareware-demo.zip + ) + !demo? ( + setup_jazz_jackrabbit_2_1.24hf_(16886).exe + cc? ( setup_jazz_jackrabbit_2_cc_1.2x_(16742).exe ) + ) +" + +S="${WORKDIR}/app" +LICENSE="free-noncomm GOG-EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+cc demo" +RESTRICT="!demo? ( bindist fetch )" + +RDEPEND=">=games-arcade/jazz2-3.0.0-r1" + +BDEPEND=" + demo? ( app-arch/unzip ) + !demo? ( app-arch/innoextract ) +" + +DIR="/usr/share/jazz2" + +pkg_nofetch() { + einfo "Please buy and download the following files from" + einfo "${HOMEPAGE}." + einfo + local EXE + for EXE in ${A}; do + einfo " - ${EXE}" + done +} + +src_unpack() { + if use demo; then + unzip -qoL -d app "${DISTDIR}/${A}" || die + else + local EXE + for EXE in ${A}; do + innoextract -e -s -p0 -L -I app "${DISTDIR}/${EXE}" || die + done + fi +} + +src_install() { + eshopts_push -s nullglob + insinto /usr/share/jazz2/Source + doins -r *.j?? *.it *.mod *.s3m tiles*/ + eshopts_pop +} diff --git a/games-arcade/jazz2-data/metadata.xml b/games-arcade/jazz2-data/metadata.xml index aa4c2459df1a..fcd190be0a62 100644 --- a/games-arcade/jazz2-data/metadata.xml +++ b/games-arcade/jazz2-data/metadata.xml @@ -5,9 +5,6 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> - <upstream> - <remote-id type="github">deathkiller/jazz2</remote-id> - </upstream> <use> <flag name="cc">Install The Christmas Chronicles additional data</flag> <flag name="demo">Use the free demo data instead of the full retail game data</flag>