public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/kings-bounty-the-legend-demo/
@ 2024-03-25 16:13 Julien Roy
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-03-25 16:13 UTC (permalink / raw
  To: gentoo-commits

commit:     ac114ffa3028a6d64188eda0a965a0834d9f5887
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Mon Mar 25 14:51:33 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Mar 25 14:51:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac114ffa

games-rpg/kings-bounty-the-legend-demo: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 games-rpg/kings-bounty-the-legend-demo/Manifest    |  1 +
 .../kings-bounty-the-legend-demo-1.ebuild          | 66 ++++++++++++++++++++++
 .../kings-bounty-the-legend-demo/metadata.xml      |  8 +++
 3 files changed, 75 insertions(+)

diff --git a/games-rpg/kings-bounty-the-legend-demo/Manifest b/games-rpg/kings-bounty-the-legend-demo/Manifest
new file mode 100644
index 0000000000..74fd343c1c
--- /dev/null
+++ b/games-rpg/kings-bounty-the-legend-demo/Manifest
@@ -0,0 +1 @@
+DIST kings-bounty-the-legend-demo.tar.xz 725866420 BLAKE2B 574ece862678e5a998a307fef2ade9a2a733ab922f8b81c3927c9d6879437341c49c5342563070e17d1368282623b7efe76677ea5f51c77a11c8300bfd2a9c9f SHA512 38d7f03f3e6f8c2b7567659259ca8a6e9e02e151d18d4e3e93aff68e8e0c2c4aeaaa742632f09f56501c5f60e7ae0cdb371c65558872bf3f37b3fca947c7d7f2

diff --git a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
new file mode 100644
index 0000000000..3170a42e7c
--- /dev/null
+++ b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="With battles like in Heroes of Might and Magic (HoMM)"
+HOMEPAGE="https://en.wikipedia.org/wiki/King%27s_Bounty:_The_Legend"
+
+SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz"
+
+KEYWORDS="~amd64"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+RESTRICT="strip"
+
+RDEPEND="
+	virtual/wine
+	app-emulation/dxvk
+"
+
+QA_PREBUILT="*"
+
+src_install() {
+
+	mkdir -p "$ED$/opt"
+
+	mkdir "$ED/opt" || die
+	mkdir -p "$ED/usr/bin/" || die
+	cp -r "$PN" "$ED/opt/$PN" || die
+
+	echo "wine /opt/$PN/kb.exe" > "$ED/usr/bin/$PN"
+	fperms +x "/usr/bin/$PN"
+	# I tried this but on run error: "Problems during decoding OGG files" -
+	# because I need to run from the directory of the game,
+	# but cd does not works with exec
+	# make_wrapper "$PN" "$conty wine /opt/$PN/man2.exe /d /opt/$PN"
+
+}
+
+pkg_postinst() {
+	einfo "DXVK increase FPS, so try setup_dxvk.sh install --symlink"
+	einfo "Downloaded from https://www.moddb.com/games/kings-bounty-the-legend/downloads/king-s-bounty-the-legend-updated-demo, installed, archived"
+	einfo ""
+	einfo "More about the game:"
+	einfo "https://www.wikidata.org/wiki/Q2442910"
+	einfo "https://www.twitch.tv/directory/category/kings-bounty-the-legend/videos/all"
+	einfo "https://www.metacritic.com/game/kings-bounty-the-legend"
+	einfo "http://www.lki.ru/games.php?Game=KB2_battlelord"
+	einfo "https://www.pcgamingwiki.com/wiki/King's_Bounty:_The_Legend"
+	einfo "https://www.mobygames.com/game/34196/kings-bounty-the-legend"
+	einfo "https://howlongtobeat.com/game/5020"
+	einfo "https://www.igdb.com/games/king-s-bounty-the-legend"
+	einfo "https://kingsbounty.fandom.com/ru/wiki/King's_Bounty:_Легенда_о_Рыцаре"
+	einfo "https://appdb.winehq.org/appview.php?iAppId=7301"
+	einfo "https://lutris.net/games/kings-bounty-the-legend"
+	einfo ""
+	einfo "Buy the full game at https://www.gog.com/en/game/kings_bounty_the_legend"
+	einfo "https://store.steampowered.com/app/25900/Kings_Bounty_The_Legend"
+	einfo "https://www.greenmangaming.com/games/kings-bounty-the-legend"
+	einfo "https://store.epicgames.com/en-US/p/kings-bounty-the-legend-b69320"
+	einfo "https://www.humblebundle.com/store/kings-bounty-the-legend"
+	einfo ""
+	einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
+}

diff --git a/games-rpg/kings-bounty-the-legend-demo/metadata.xml b/games-rpg/kings-bounty-the-legend-demo/metadata.xml
new file mode 100644
index 0000000000..812e586b96
--- /dev/null
+++ b/games-rpg/kings-bounty-the-legend-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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/kings-bounty-the-legend-demo/
@ 2024-03-25 16:13 Julien Roy
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-03-25 16:13 UTC (permalink / raw
  To: gentoo-commits

commit:     43cf5f22df9be8f94786a7305b83c24f9a76ab3b
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Mon Mar 25 15:01:24 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Mar 25 15:01:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=43cf5f22

games-rpg/kings-bounty-the-legend-demo: manual link creation -> make_wrapper

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 .../kings-bounty-the-legend-demo-1.ebuild                        | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
index 3170a42e7c..5293c64734 100644
--- a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
+++ b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit wrapper
+
 DESCRIPTION="With battles like in Heroes of Might and Magic (HoMM)"
 HOMEPAGE="https://en.wikipedia.org/wiki/King%27s_Bounty:_The_Legend"
 
@@ -30,12 +32,7 @@ src_install() {
 	mkdir -p "$ED/usr/bin/" || die
 	cp -r "$PN" "$ED/opt/$PN" || die
 
-	echo "wine /opt/$PN/kb.exe" > "$ED/usr/bin/$PN"
-	fperms +x "/usr/bin/$PN"
-	# I tried this but on run error: "Problems during decoding OGG files" -
-	# because I need to run from the directory of the game,
-	# but cd does not works with exec
-	# make_wrapper "$PN" "$conty wine /opt/$PN/man2.exe /d /opt/$PN"
+	make_wrapper "$PN" "wine /opt/$PN/kb.exe"
 
 }
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: games-rpg/kings-bounty-the-legend-demo/
  2024-04-17 15:08 [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
@ 2024-04-17 15:11 ` Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2024-04-17 15:11 UTC (permalink / raw
  To: gentoo-commits

commit:     30a30dbb7f87036e3ca3c86753c18644cf5348fc
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 15:03:27 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 15:03:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30a30dbb

games-rpg/kings-bounty-the-legend-demo: treeclean

Not appropriate package for guru, should be in another overlay. Read
bug for more info.

Bug: https://bugs.gentoo.org/927922
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-rpg/kings-bounty-the-legend-demo/Manifest    |  1 -
 .../kings-bounty-the-legend-demo-1.ebuild          | 63 ----------------------
 .../kings-bounty-the-legend-demo/metadata.xml      |  8 ---
 3 files changed, 72 deletions(-)

diff --git a/games-rpg/kings-bounty-the-legend-demo/Manifest b/games-rpg/kings-bounty-the-legend-demo/Manifest
deleted file mode 100644
index 74fd343c1c..0000000000
--- a/games-rpg/kings-bounty-the-legend-demo/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kings-bounty-the-legend-demo.tar.xz 725866420 BLAKE2B 574ece862678e5a998a307fef2ade9a2a733ab922f8b81c3927c9d6879437341c49c5342563070e17d1368282623b7efe76677ea5f51c77a11c8300bfd2a9c9f SHA512 38d7f03f3e6f8c2b7567659259ca8a6e9e02e151d18d4e3e93aff68e8e0c2c4aeaaa742632f09f56501c5f60e7ae0cdb371c65558872bf3f37b3fca947c7d7f2

diff --git a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild b/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
deleted file mode 100644
index 5293c64734..0000000000
--- a/games-rpg/kings-bounty-the-legend-demo/kings-bounty-the-legend-demo-1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2024 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit wrapper
-
-DESCRIPTION="With battles like in Heroes of Might and Magic (HoMM)"
-HOMEPAGE="https://en.wikipedia.org/wiki/King%27s_Bounty:_The_Legend"
-
-SRC_URI="https://archive.org/download/$PN.tar.xz/$PN.tar.xz"
-
-KEYWORDS="~amd64"
-S="${WORKDIR}"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-RESTRICT="strip"
-
-RDEPEND="
-	virtual/wine
-	app-emulation/dxvk
-"
-
-QA_PREBUILT="*"
-
-src_install() {
-
-	mkdir -p "$ED$/opt"
-
-	mkdir "$ED/opt" || die
-	mkdir -p "$ED/usr/bin/" || die
-	cp -r "$PN" "$ED/opt/$PN" || die
-
-	make_wrapper "$PN" "wine /opt/$PN/kb.exe"
-
-}
-
-pkg_postinst() {
-	einfo "DXVK increase FPS, so try setup_dxvk.sh install --symlink"
-	einfo "Downloaded from https://www.moddb.com/games/kings-bounty-the-legend/downloads/king-s-bounty-the-legend-updated-demo, installed, archived"
-	einfo ""
-	einfo "More about the game:"
-	einfo "https://www.wikidata.org/wiki/Q2442910"
-	einfo "https://www.twitch.tv/directory/category/kings-bounty-the-legend/videos/all"
-	einfo "https://www.metacritic.com/game/kings-bounty-the-legend"
-	einfo "http://www.lki.ru/games.php?Game=KB2_battlelord"
-	einfo "https://www.pcgamingwiki.com/wiki/King's_Bounty:_The_Legend"
-	einfo "https://www.mobygames.com/game/34196/kings-bounty-the-legend"
-	einfo "https://howlongtobeat.com/game/5020"
-	einfo "https://www.igdb.com/games/king-s-bounty-the-legend"
-	einfo "https://kingsbounty.fandom.com/ru/wiki/King's_Bounty:_Легенда_о_Рыцаре"
-	einfo "https://appdb.winehq.org/appview.php?iAppId=7301"
-	einfo "https://lutris.net/games/kings-bounty-the-legend"
-	einfo ""
-	einfo "Buy the full game at https://www.gog.com/en/game/kings_bounty_the_legend"
-	einfo "https://store.steampowered.com/app/25900/Kings_Bounty_The_Legend"
-	einfo "https://www.greenmangaming.com/games/kings-bounty-the-legend"
-	einfo "https://store.epicgames.com/en-US/p/kings-bounty-the-legend-b69320"
-	einfo "https://www.humblebundle.com/store/kings-bounty-the-legend"
-	einfo ""
-	einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
-}

diff --git a/games-rpg/kings-bounty-the-legend-demo/metadata.xml b/games-rpg/kings-bounty-the-legend-demo/metadata.xml
deleted file mode 100644
index 812e586b96..0000000000
--- a/games-rpg/kings-bounty-the-legend-demo/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-17 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-25 16:13 [gentoo-commits] repo/proj/guru:master commit in: games-rpg/kings-bounty-the-legend-demo/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
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
2024-03-25 16:13 Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox