From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1369695-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 (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 9ABCC15808B
	for <garchives@archives.gentoo.org>; Sun, 20 Feb 2022 22:39:05 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AECF2E08EC;
	Sun, 20 Feb 2022 22:39:04 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 47766E08EC
	for <gentoo-commits@lists.gentoo.org>; Sun, 20 Feb 2022 22:39:04 +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 0734334388A
	for <gentoo-commits@lists.gentoo.org>; Sun, 20 Feb 2022 22:39:03 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 642552EA
	for <gentoo-commits@lists.gentoo.org>; Sun, 20 Feb 2022 22:39:01 +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: <1645396640.624a68d58a03c16f8ff3c9ffe37d1baf338f72ce.chewi@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/doom2-data-gog/
X-VCS-Repository: repo/gentoo
X-VCS-Files: games-fps/doom2-data-gog/Manifest games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild games-fps/doom2-data-gog/metadata.xml
X-VCS-Directories: games-fps/doom2-data-gog/
X-VCS-Committer: chewi
X-VCS-Committer-Name: James Le Cuirot
X-VCS-Revision: 624a68d58a03c16f8ff3c9ffe37d1baf338f72ce
X-VCS-Branch: master
Date: Sun, 20 Feb 2022 22:39:01 +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: 06c708c2-3e0b-4321-9259-923b290add56
X-Archives-Hash: ef812ecfcdcb1386ec50d218149a27e4

commit:     624a68d58a03c16f8ff3c9ffe37d1baf338f72ce
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 22:37:20 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 22:37:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624a68d5

games-fps/doom2-data-gog: New package

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-fps/doom2-data-gog/Manifest                  |  1 +
 games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild | 40 ++++++++++++++++++++++
 games-fps/doom2-data-gog/metadata.xml              | 12 +++++++
 3 files changed, 53 insertions(+)

diff --git a/games-fps/doom2-data-gog/Manifest b/games-fps/doom2-data-gog/Manifest
new file mode 100644
index 000000000000..268ae4869e6e
--- /dev/null
+++ b/games-fps/doom2-data-gog/Manifest
@@ -0,0 +1 @@
+DIST setup_doom_ii_with_master_levels_1.9_(28044).exe 21288152 BLAKE2B f09df33a5fc7c6d0037d49663de0e515f30ce97a8acc3f7feadc2744eb5d1e5541372b1e00e8e3e1c4ab2ec7fc7d275b637002a3080f8792c85ebcc05e1113bf SHA512 e28bc4a76d85de70a198905e7ce76810d163d6b84c1d51a341fa35490eaa609d29fddbca17280f434847d3fce20b698cabeb561be587b165243f1da48273b7bc

diff --git a/games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild b/games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild
new file mode 100644
index 000000000000..563e7001b568
--- /dev/null
+++ b/games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Data files for DOOM II and the Master Levels from gog.com"
+HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom"
+SRC_URI="setup_doom_ii_with_master_levels_${PV}_(28044).exe"
+LICENSE="GOG-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~m68k ~x86"
+RESTRICT="bindist fetch"
+
+BDEPEND="app-arch/innoextract"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+	einfo "Please buy and download ${SRC_URI} from:"
+	einfo "  ${HOMEPAGE}"
+	einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+	innoextract --extract --lowercase \
+		--include=/doom2/DOOM2.WAD \
+		--include=/master/wads \
+		--include=/Manual.pdf \
+		"${DISTDIR}/${A}" || die
+
+	insinto /usr/share/doom
+	doins doom2/doom2.wad
+
+	insinto /usr/share/doom/master
+	doins master/wads/*.wad
+
+	dodoc manual.pdf
+	docinto master
+	dodoc master/wads/*.txt
+}

diff --git a/games-fps/doom2-data-gog/metadata.xml b/games-fps/doom2-data-gog/metadata.xml
new file mode 100644
index 000000000000..88274e035679
--- /dev/null
+++ b/games-fps/doom2-data-gog/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>chewi@gentoo.org</email>
+		<name>James Le Cuirot</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+</pkgmetadata>