1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 22:32:37 +01:00

Compare commits

...

6 Commits

5 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
AUX SpaceCadetPinball.png 22250 BLAKE2B a765e5fceaf4917435ec4843cb485b50ec66cd95d4502129b926e21ad6a7ec03c5e7ecc4b2c77584f0f9595602c24f563b66b62ed0014f1111d67f176c4360d8 SHA512 6059fb806fe2f35a38b0e517e003844d5ee116928b7d3585022ea022c72d6fec309ec6ea1e0757a1de749c086a71c783bb902548058f1c6b23931f79f58eb479
AUX spacecadetpinball-basepath.patch 625 BLAKE2B 5b5fdf9fe5319bfebd6dc12586935894dce12e14b4411240d59c9e21bcd7580b2de2f5db857c6a61a3cdf2aad40acc5ecfbcfa6f086528c0c7324e53ee94df84 SHA512 033ff00ccdd634251f6b5c4d32e44316b9145669e3d1f2e4222e47d486d6270f68f884625346a02cce38e4e0884b44b2a95b8d562e2a3469915dc0cc41724911
DIST Full-Tilt-Pinball_Win_EN.zip 9552541 BLAKE2B 8236d0534032f3202c7b91207ae1e71d53f2a2edb899803ad50a9dae8fb00040c903b24131adc6fd129402ff594c035fef53e09228eace38918a1b25d06580fb SHA512 428acef149f0671c794840ee9e05381e31f54a59a4d9c3a0b3abdfb0fec26909a3f3cffd17f4679043e98f9a50d026d1094d8d8b4204a37fa0f927e8c8e3b805
DIST spacecadetpinball-1.1.2_p20211710.tar.gz 933145 BLAKE2B ffd0eb8be357438f6ba1da6e6739a3cd0409e7e7c87b5fe95351f6ad61eb7754423f75147ee44b50276f9d0b8abd22cb179b58dba5588e08d3c49f091261c72d SHA512 ab3297e9d23ffe1b0215909859ccc57c5345f189e67e69e082d440da1dc04180ab617416c90fd6c19beff99c6f8e999e601eb614bb69026e5c8dcedbee485742
EBUILD spacecadetpinball-1.1.2_p20211710.ebuild 1125 BLAKE2B 5886e4f51d3138c866fd10f181965195ca318243c3fd960036730721494b23a99e63008ffb73d1ed61c2cf942ab8930e101e613f20d95c7e1695d7457091d2dd SHA512 d32ed227d405abd72a3380de173a459c0dfbcc6c0f0e23ae4ed038ccc5bc54acee488d590648593eed9d3d1fbc1ca625ae92c5ad5888de6da2d89e7593332c9f

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -0,0 +1,13 @@
diff -dNur a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp
--- a/SpaceCadetPinball/winmain.cpp 2021-10-17 17:18:29.000000000 +0200
+++ b/SpaceCadetPinball/winmain.cpp 2021-10-17 21:11:46.800147799 +0200
@@ -56,7 +56,8 @@
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Could not initialize SDL2", SDL_GetError(), nullptr);
return 1;
}
- BasePath = SDL_GetBasePath();
+ /* BasePath = SDL_GetBasePath(); */
+ BasePath = "/usr/share/spacecadetpinball/";
pinball::quickFlag = strstr(lpCmdLine, "-quick") != nullptr;
DatFileName = options::get_string("Pinball Data", pinball::get_rc_string(168, 0));

View File

@@ -0,0 +1,43 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop
MY_PN="SpaceCadetPinball"
EGIT_COMMIT="06b760e8dd1b8ace5ef7c427c047ca9e911f93b3"
DESCRIPTION="Reverse engineering of 3D Pinball Space Cadet"
HOMEPAGE="https://github.com/k4zmu2a/SpaceCadetPinball"
SRC_URI="https://github.com/k4zmu2a/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
https://davipinheiro.com/wp-content/uploads/2021/02/Full-Tilt-Pinball_Win_EN.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="media-libs/libsdl2[haptic]
media-libs/sdl2-mixer[wav,midi,timidity]"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
PATCHES="${FILESDIR}/${PN}-basepath.patch"
src_install() {
dobin ${S}/bin/${MY_PN} || die
doicon ${FILESDIR}/${MY_PN}.png
make_desktop_entry ${MY_PN} '3D Pinball Space Cadet' ${MY_PN} "Game;ArcadeGame"
insopts -m 0644
insinto /usr/share/spacecadetpinball
doins ${WORKDIR}/FULLTILT/CADET/CADET.DAT
insinto /usr/share/spacecadetpinball/SOUND
for snd in ${WORKDIR}/FULLTILT/CADET/SOUND/*
do
doins "${snd}"
done
}

View File

@@ -0,0 +1,13 @@
BDEPEND=dev-util/ninja >=dev-util/cmake-3.20.5
DEFINED_PHASES=compile configure install prepare test
DEPEND=media-libs/libsdl2[haptic] media-libs/sdl2-mixer[wav,midi,timidity]
DESCRIPTION=Reverse engineering of 3D Pinball Space Cadet
EAPI=8
HOMEPAGE=https://github.com/k4zmu2a/SpaceCadetPinball
KEYWORDS=~amd64 ~x86
LICENSE=MIT
RDEPEND=media-libs/libsdl2[haptic] media-libs/sdl2-mixer[wav,midi,timidity]
SLOT=0
SRC_URI=https://github.com/k4zmu2a/SpaceCadetPinball/archive/06b760e8dd1b8ace5ef7c427c047ca9e911f93b3.tar.gz -> spacecadetpinball-1.1.2_p20211710.tar.gz https://davipinheiro.com/wp-content/uploads/2021/02/Full-Tilt-Pinball_Win_EN.zip
_eclasses_=cmake 11fee991ab428a3370e5c20fa8231fb6 desktop c0d27bf73aa08ca05b663dbd31fbef28 flag-o-matic 4134b5c0fb719b9161d10bdaba9e09e5 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b ninja-utils a4dab848a4490e8e48cf0baab3e61bc2 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa xdg-utils 27f9a2f19502b925ac117bd657aa2979
_md5_=39968c702ac614497bda28697739e44e