public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-puzzle/baba-is-you/
Date: Sun, 28 Apr 2024 21:05:30 +0000 (UTC)	[thread overview]
Message-ID: <1714253374.16556bc26a4730c99873f6a1e3591b04ca223889.davidroman@gentoo> (raw)

commit:     16556bc26a4730c99873f6a1e3591b04ca223889
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Apr 27 21:23:49 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Apr 27 21:29:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16556bc2

games-puzzle/baba-is-you: fix .desktop file's Categories entry

Closes: https://bugs.gentoo.org/896328
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 games-puzzle/baba-is-you/baba-is-you-474-r2.ebuild | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/games-puzzle/baba-is-you/baba-is-you-474-r2.ebuild b/games-puzzle/baba-is-you/baba-is-you-474-r2.ebuild
new file mode 100644
index 0000000000..e84d731735
--- /dev/null
+++ b/games-puzzle/baba-is-you/baba-is-you-474-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="Baba Is You"
+
+inherit desktop
+
+DESCRIPTION="Puzzle game where you can change the rules by which you play"
+HOMEPAGE="https://www.hempuli.com/baba/"
+SRC_URI="BIY_linux.tar.gz"
+
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RESTRICT="bindist fetch"
+
+# Has bundled media-video/libsdl2 with at least
+# [alsa,joystick,pulseaudio,sound]
+# Needs alsa-lib to launch with dummy audio even if system has no audio
+RDEPEND="
+	media-libs/alsa-lib
+	media-libs/libglvnd
+	virtual/opengl
+"
+
+QA_PREBUILT="opt/*"
+
+pkg_nofetch() {
+	einfo "Please buy and download ${SRC_URI} from:"
+	einfo " https://hempuli.itch.io/baba"
+	einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+	local arch=$(usex amd64 64 32)
+	insinto /opt/${PN}
+	doins -r Assets.dat gamecontrollerdb.txt Data/
+
+	exeinto /opt/${PN}/bin${arch}
+	doexe bin${arch}/Chowdren
+
+	exeinto /opt/${PN}
+	doexe run.sh
+
+	newicon icon.bmp ${PN}.bmp
+	dosym -r /usr/share/pixmaps/${PN}.bmp /opt/${PN}/icon.bmp
+	make_desktop_entry /usr/bin/${PN} "${MY_PN}" ${PN}.bmp 'Game;LogicGame;'
+	dosym -r /opt/${PN}/run.sh /usr/bin/${PN}
+}


             reply	other threads:[~2024-04-28 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-28 21:05 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-28 21:05 [gentoo-commits] repo/proj/guru:master commit in: games-puzzle/baba-is-you/ David Roman
2024-02-20 18:23 Julien Roy
2023-01-31 11:00 Florian Schmaus
2023-01-10  8:37 Haelwenn Monnier

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=1714253374.16556bc26a4730c99873f6a1e3591b04ca223889.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --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