Add minivmac standalone. (no integration)
This commit is contained in:
parent
fc3c530fd8
commit
cb528202b8
3 changed files with 39 additions and 1 deletions
28
packages/games/emulators/minivmacsa/package.mk
Normal file
28
packages/games/emulators/minivmacsa/package.mk
Normal file
|
@ -0,0 +1,28 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="minivmacsa"
|
||||
PKG_VERSION="37.03"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://www.gryphel.com/c/minivmac/"
|
||||
PKG_URL="https://www.gryphel.com/d/minivmac/${PKG_NAME}-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.src.tgz"
|
||||
PKG_DEPENDS_TARGET="toolchain libX11"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="emulators"
|
||||
PKG_SHORTDESC="Virtual Macintosh Plus"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
make_target() {
|
||||
cd ${PKG_BUILD}
|
||||
gcc setup/tool.c -o setup_t
|
||||
./setup_t -t lx64 -emm 0 -fullscreen 1 > setup.sh
|
||||
. setup.sh
|
||||
make
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp ${PKG_BUILD}/minivmac ${INSTALL}/usr/bin
|
||||
chmod 0755 ${INSTALL}/usr/bin/*
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# Copyright (C) 2021-present - Fewtarius
|
||||
|
||||
. /etc/profile
|
||||
|
||||
ARG=${1//[\\]/}
|
||||
export SDL_AUDIODRIVER=alsa
|
||||
echo "[${ARG}]"
|
||||
${FAST_CORES} minivmac
|
|
@ -44,6 +44,6 @@ case "${DEVICE}" in
|
|||
PKG_DEPENDS_TARGET+=" duckstationsa common-shaders glsl-shaders"
|
||||
;;
|
||||
handheld)
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2sa pcsx2 desmume bsnes citra slang-shaders"
|
||||
PKG_DEPENDS_TARGET+=" duckstationsa dolphinsa dolphin pcsx2sa pcsx2 desmume bsnes citra slang-shaders minivmac minivmacsa"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue