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 0E509158015 for ; Tue, 26 Dec 2023 22:50:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A6B52BC014; Tue, 26 Dec 2023 22:50:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 EBDEB2BC014 for ; Tue, 26 Dec 2023 22:50:09 +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 27C0E33FEF1 for ; Tue, 26 Dec 2023 22:50:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E22CAE5 for ; Tue, 26 Dec 2023 22:50:07 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1703630967.f55cca15abceece466b1f4333774be0e4e55af82.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/serioussam-tfe-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/serioussam-tfe-data/Manifest games-fps/serioussam-tfe-data/metadata.xml games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild X-VCS-Directories: games-fps/serioussam-tfe-data/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f55cca15abceece466b1f4333774be0e4e55af82 X-VCS-Branch: master Date: Tue, 26 Dec 2023 22:50:07 +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: f3a29114-b4e1-4c6f-9a59-f8782019877d X-Archives-Hash: 0006e203541958a3b419d18ecb3fb00b commit: f55cca15abceece466b1f4333774be0e4e55af82 Author: Alexander Pavlov yandex ru> AuthorDate: Fri Dec 8 12:59:39 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Dec 26 22:49:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55cca15 games-fps/serioussam-tfe-data: new package, add 1.5-r1 Bug: https://bugs.gentoo.org/854567 Signed-off-by: Alexander Pavlov yandex.ru> [Rename patch. Use ED instead of D.] Signed-off-by: Ulrich Müller gentoo.org> games-fps/serioussam-tfe-data/Manifest | 1 + games-fps/serioussam-tfe-data/metadata.xml | 15 +++++ .../serioussam-tfe-data-1.5-r1.ebuild | 70 ++++++++++++++++++++++ 3 files changed, 86 insertions(+) diff --git a/games-fps/serioussam-tfe-data/Manifest b/games-fps/serioussam-tfe-data/Manifest new file mode 100644 index 000000000000..925e2ce7d7a8 --- /dev/null +++ b/games-fps/serioussam-tfe-data/Manifest @@ -0,0 +1 @@ +DIST serioussam-Patch_1.05_FE.tar.xz 1221836 BLAKE2B 0ae7103151ee42f3c1ff88afd2d77037e0c3e5c49c19adf213068f87eed524c7aa6552d020c3337f5457847f167c1a2e4ca1fda7572e96b9630fb2dbfd3e6b0f SHA512 18c5a5f66e1fbe3864eca3274d20e525f50c223507e0c1c793a642aed66edfeb723cf3d4ffc583afa4d9a10388cbed14af7035bf6a1b9c214dac79c5eb1d2548 diff --git a/games-fps/serioussam-tfe-data/metadata.xml b/games-fps/serioussam-tfe-data/metadata.xml new file mode 100644 index 000000000000..e76bc72b6a01 --- /dev/null +++ b/games-fps/serioussam-tfe-data/metadata.xml @@ -0,0 +1,15 @@ + + + + + t.x00100x.t@yandex.ru + Alexander Pavlov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + tx00100xt/serioussam-mods + + diff --git a/games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild b/games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild new file mode 100644 index 000000000000..3407e74c8e3b --- /dev/null +++ b/games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cdrom unpacker + +PATCH_PREFIX="Patch_1.05_FE" +# Game name +GN="serioussam" + +DESCRIPTION="Croteam's Serious Sam Classic The First Encounter ... the data files" +HOMEPAGE="https://www.croteam.com/ + https://store.steampowered.com/app/41050/Serious_Sam_Classic_The_First_Encounter/" +SRC_URI="https://github.com/tx00100xt/serioussam-mods/raw/main/Patches/${PATCH_PREFIX}.tar.xz -> ${GN}-${PATCH_PREFIX}.tar.xz" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist" + +pkg_setup() { + cdrom_get_cds "Install/1_00_music.gro" +} + +src_unpack() { + mkdir Levels Mods || die "failed create dirs" + cat "${DISTDIR}/${GN}-${PATCH_PREFIX}.tar.xz" > "${PATCH_PREFIX}.tar.xz" \ + || die "failed to copy patch 1.05" + unpack "${WORKDIR}/${PATCH_PREFIX}.tar.xz" +} + +src_install() { + local dir="/usr/share/${GN}" + + einfo "Copying from ${CDROM_ROOT}" + insinto "${dir}" + doins -r "${CDROM_ROOT}"/Install/* + + mv "${WORKDIR}"/*.gro "${ED}${dir}" || die "failed to moved patch 1.05" + mv "${ED}${dir}"/Scripts/PersistentSymbols.ini "${WORKDIR}" \ + || die "failed to moved PersistentSymbols.ini" + + rm -rf \ + "${ED}${dir}"/{Bin,Controls,Data,Demos,Mods,Players,Scripts} \ + || die "failed to remove directories" + rm -rf \ + "${ED}${dir}"/{VirtualTrees,Locales,Help/ShellSymbols.txt} \ + || die "failed to remove directories" + mkdir "${ED}${dir}/Scripts" || die "failed create Scripts dir" + mv "${WORKDIR}"/PersistentSymbols.ini "${ED}${dir}/Scripts" \ + || die "failed to moved PersistentSymbols.ini" + + # Remove useless Windows files + rm -f "${ED}${dir}"/{*.exe,*.ex_,*.bmp,*.inx,*.hdr,*.bin,*.cab,*.ini,*.log} \ + || die "Failed to remove windows cruft" + + # Ensure that file datestamps from the CD are sane + find "${ED}${dir}"/Levels -exec touch -d '09 May 2020 14:00' '{}' \; \ + || die "touch failed" +} + +pkg_postinst() { + elog "Important information about the Linux port is at:" + elog " https://github.com/tx00100xt/SeriousSamClassic-VK" + elog " look at:" + elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" + elog " For information about of the game" +}