mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-puzzle/baba-is-you: add 481d
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST baba-is-you-478f.tar.gz 93358289 BLAKE2B 7aab81a4c703fe1d39345b388e366f68ec2578c273d184912ac5956102a284758c8ff06ad1c4fcc11d7de16a046163addbe6b3a89ebc8cbe1776791290917ba5 SHA512 6de35d6c7e0ffc0034c1a86b4d100f5abdde9d1bfddec3f437e528cd3dc1964d13a3ba670eb432f1e2aba4bad016c1d0bf161a03ebe7cadfbb45cdf60f321853
|
||||
DIST baba-is-you-481d.tar.gz 91111698 BLAKE2B 66b379021798805857f501e3c016afed51fc823f39d1ff70699034ef4acfefe8d59c55af9b3dbdd85ddb8679ef6cecdfa52d0fc6ba02d6c6749896479f54cad0 SHA512 051517e47686228f32ec9eeb4636ad715799cb4ac934c72c0347cb780c21cbe760f78857b5aeceb7c09676b7e242ba923253fa82bb4b0398f008e2d12a10223a
|
||||
|
||||
54
games-puzzle/baba-is-you/baba-is-you-481d.ebuild
Normal file
54
games-puzzle/baba-is-you/baba-is-you-481d.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2023-2026 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="${P}.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[X]
|
||||
sys-apps/util-linux
|
||||
"
|
||||
|
||||
QA_PREBUILT="opt/*"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please buy and download the game from:"
|
||||
einfo " https://hempuli.itch.io/baba"
|
||||
einfo "and move it to your distfiles directory with the filename '${SRC_URI}'."
|
||||
}
|
||||
|
||||
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}
|
||||
}
|
||||
Reference in New Issue
Block a user