Skip to content

Commit

Permalink
games-misc/smw: new package, add 0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Udvare <audvare@gmail.com>
  • Loading branch information
Tatsh committed Nov 18, 2023
1 parent 6530cc7 commit d245905
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions games-misc/smw/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DIST smw-0.1.tar.gz 888552 BLAKE2B 141d43e750eb4ae18415144987db53eb4d042e8512c187fee1e3a7ebbb9ce39b877890c39ee7591151bcee712225c9b72f975e97425ad5382ff083a15010563e SHA512 f3b3fce47763d51a8103af7251eec4abd1370ab30ed90dbe825646aa8afb08cf9a900547707df84a272d91f8d96edbfad7b35157c96b75013af5fd22a080be77
DIST smw.sfc 524288 BLAKE2B 82decc4a26ccaec92dbbc146a048740c506c1c728334c48ac5224f68a40e34968fc994f5743c72dec0d4db0c5bb2d9d91060cebb911f6f2fcf228dc2f43cf240 SHA512 c9207d07474c3ee3ef6b0882fd1200f670642cc2bc4c3563a74c714c4d124412eda86155f6a87c973304f87580d66ed8b666826be5d6349177efd1cbee790db4
EBUILD smw-0.1.ebuild 739 BLAKE2B da6acfcc22d11385a8f45ad4d967db6bbe94e19605fe1ff634394c2a06b9458feae54790863c7c0c061bab0e7acaf0700262cd352d9a12983cfb640bf661cb0c SHA512 5f0b0591edfb83eb15fedc138b497533f28a7d6193e0be4dd6a1dbf416e0505edd71e6544d97a088838290dff7d6b0196d5d3f3646146be4e8c86cadb11efbbb
32 changes: 32 additions & 0 deletions games-misc/smw/smw-0.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop wrapper

DESCRIPTION="Reimplementation of Super Mario World."
HOMEPAGE="https://github.com/snesrev/smw"
SRC_URI="https://github.com/snesrev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
smw.sfc"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="media-libs/libsdl2[joystick,opengl,sound,video]"
RDEPEND="${DEPEND}"

src_prepare() {
cp "${DISTDIR}/smw.sfc" . || die
default
}

src_install() {
exeinto "/usr/share/${PN}"
doexe "${PN}"
insinto "/usr/share/${PN}"
doins "${PN}_assets.dat" "${PN}.ini"
make_wrapper "${PN}" "/usr/share/${PN}/${PN}" "/usr/share/${PN}"
make_desktop_entry "${PN}" "${PN}"
}

0 comments on commit d245905

Please sign in to comment.