public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-rpg/kings-bounty-the-legend-demo/
Date: Mon, 25 Mar 2024 16:13:12 +0000 (UTC)	[thread overview]
Message-ID: <1711378884.43cf5f22df9be8f94786a7305b83c24f9a76ab3b.julien@gentoo> (raw)

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"
 
 }
 


             reply	other threads:[~2024-03-25 16:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-25 16:13 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-25 16:13 [gentoo-commits] repo/proj/guru:master commit in: games-rpg/kings-bounty-the-legend-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=1711378884.43cf5f22df9be8f94786a7305b83c24f9a76ab3b.julien@gentoo \
    --to=julien@jroy.ca \
    --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