From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-strategy/warhammer4000-dawn-of-war-demo/
Date: Thu, 28 Mar 2024 03:43:27 +0000 (UTC) [thread overview]
Message-ID: <1711585337.f54492fad55cae43ac8a9b835d957909e8758359.lanodan@gentoo> (raw)
commit: f54492fad55cae43ac8a9b835d957909e8758359
Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Mar 28 00:22:17 2024 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Mar 28 00:22:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f54492fa
games-strategy/warhammer4000-dawn-of-war-demo: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>
.../warhammer4000-dawn-of-war-demo/Manifest | 1 +
.../warhammer4000-dawn-of-war-demo/metadata.xml | 8 ++++
.../warhammer4000-dawn-of-war-demo-1.ebuild | 45 ++++++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/games-strategy/warhammer4000-dawn-of-war-demo/Manifest b/games-strategy/warhammer4000-dawn-of-war-demo/Manifest
new file mode 100644
index 0000000000..8e8390dd3d
--- /dev/null
+++ b/games-strategy/warhammer4000-dawn-of-war-demo/Manifest
@@ -0,0 +1 @@
+DIST warhammer4000-dawn-of-war-demo.tar.xz 304260244 BLAKE2B 3cc765ef30f70478f51eabbaf30edad19eeca9d57f68e0ae8f47f3dd524f78fa8c65cd93a2b98b0b3b00673d936e71ae0d73ba99979a0db0c230bc69ad3e11fd SHA512 275e1e86164ef3fb189042dc7a7bd7ffb53bcde29d6ca706cc8be37229977a19328872d7e5c286daa39d6bca646eecd756b0d2a2cc3958531459c562540bd69e
diff --git a/games-strategy/warhammer4000-dawn-of-war-demo/metadata.xml b/games-strategy/warhammer4000-dawn-of-war-demo/metadata.xml
new file mode 100644
index 0000000000..812e586b96
--- /dev/null
+++ b/games-strategy/warhammer4000-dawn-of-war-demo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Vitaly Zdanevich</name>
+ <email>zdanevich.vitaly@ya.ru</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-strategy/warhammer4000-dawn-of-war-demo/warhammer4000-dawn-of-war-demo-1.ebuild b/games-strategy/warhammer4000-dawn-of-war-demo/warhammer4000-dawn-of-war-demo-1.ebuild
new file mode 100644
index 0000000000..22f5fcec6d
--- /dev/null
+++ b/games-strategy/warhammer4000-dawn-of-war-demo/warhammer4000-dawn-of-war-demo-1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="RTS with high rating from 2004, like WarCraft III or Armies of Exigo"
+HOMEPAGE="https://en.wikipedia.org/wiki/Warhammer_40%2C000%3A_Dawn_of_War"
+
+SRC_URI="https://archive.org/download/$PN.tar/$PN.tar.xz"
+
+KEYWORDS="~amd64"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+RESTRICT="strip"
+
+RDEPEND="
+ ~games-emulation/conty-1.25.2:0
+"
+# TODO add USE flag to be able to choolse local wine or wine-proton, against 1.4 GB dependency?
+
+QA_PREBUILT="*"
+
+src_install() {
+
+ mkdir -p "$ED$/opt" || die
+
+ mkdir "$ED/opt" || die
+ mkdir -p "$ED/usr/bin/" || die
+ cp -r "$PN" "$ED/opt/$PN" || die
+
+ conty='conty-1.25.2'
+
+ echo "cd /opt/$PN; $conty wine $PN; cd -" > "$ED/usr/bin/$PN" || die
+ fperms +x "/usr/bin/$PN"
+
+}
+
+pkg_postinst() {
+ einfo "More about the game:"
+ einfo "https://store.steampowered.com/app/4570/Warhammer_40000_Dawn_of_War__Game_of_the_Year_Edition/"
+ einfo "https://www.wikidata.org/wiki/Q1061708"
+ einfo "https://www.pcgamingwiki.com/wiki/Warhammer_40%2C000%3A_Dawn_of_War"
+}
next reply other threads:[~2024-03-28 3:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 3:43 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-28 21:49 [gentoo-commits] repo/proj/guru:master commit in: games-strategy/warhammer4000-dawn-of-war-demo/ Julien Roy
2024-04-17 15:08 [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2024-04-17 15:11 ` [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1711585337.f54492fad55cae43ac8a9b835d957909e8758359.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox