Merge branch 'develop' of fk:FunKey-Project/FunKey-OS into develop

This commit is contained in:
Michel-FK 2021-04-13 18:42:58 +02:00
commit 3f3a1ad794
8 changed files with 24 additions and 15 deletions

View File

@ -15,6 +15,7 @@ do_preinst()
do_postinst()
{
#################
# Resize Rootfs #
#################
@ -25,9 +26,9 @@ do_postinst()
exit 1
fi
#############
# Copy OPKs #
#############
##############################
# SHARED PARTITION PROCESSES #
##############################
notif " 3/4 COPY OPKS TO USB MOUNT^DO NOT TURN OFF THE CONSOLE"
# Mount Rootfs
@ -39,12 +40,10 @@ do_postinst()
fi
# Copy OPKs
shared_partition=/mnt/
mkdir -p "$shared_partition"
cp -r ${root_mount}/usr/local/share/OPKs/* "$shared_partition"
cp -r ${root_mount}/usr/local/share/OPKs/* /mnt
# Fix PCE opk name if necessary
mv "$shared_partition"/Emulators/pce_mednaefn_funkey-s.opk "$shared_partition"/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1
mv /mnt/Emulators/pce_mednaefn_funkey-s.opk /mnt/Emulators/pce_mednafen_funkey-s.opk 1>/dev/null 2>&1
# Unmount Rootfs
umount ${root_mount}
@ -53,6 +52,16 @@ do_postinst()
exit 1
fi
# Change FunKey config files extension from .cfg to .fkcfg
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for FOLDER in "Atari lynx" "Game Boy" "Game Boy Advance" "Game Boy Color" "Game Gear" "Neo Geo Pocket" "NES" "PCE-TurboGrafx" "PS1" "Sega Genesis" "Sega Master System" "SNES" "WonderSwan"; do
for FILE in $(ls /mnt/"${FOLDER}"/*.cfg 2>/dev/null); do
mv "$FILE" "${FILE%.cfg}.fkcfg"
done
done
IFS=$SAVEIFS
#####################
# Erase update file #
#####################

View File

@ -4,7 +4,7 @@
#
################################################################################
FCEUX_VERSION = fceux-FunKey-1.2.0
FCEUX_VERSION = 8a54185
FCEUX_SITE_METHOD = git
FCEUX_SITE = https://github.com/FunKey-Project/fceux.git
FCEUX_LICENSE = GPL-2.0

View File

@ -4,7 +4,7 @@
#
################################################################################
PCSX_REARMED_VERSION = pcsx_rearmed-FunKey-1.2.0
PCSX_REARMED_VERSION = c2f5d2a
PCSX_REARMED_SITE_METHOD = git
PCSX_REARMED_SITE = https://github.com/FunKey-Project/pcsx_rearmed.git
PCSX_REARMED_LICENSE = GPL-2.0

View File

@ -4,7 +4,7 @@
#
################################################################################
POCKETSNES_VERSION = PocketSNES-FunKey-1.2.0
POCKETSNES_VERSION = 09f5c30
POCKETSNES_SITE_METHOD = git
POCKETSNES_SITE = https://github.com/FunKey-Project/PocketSNES.git
POCKETSNES_LICENSE = GPL-2.0

View File

@ -4,7 +4,7 @@
#
################################################################################
GNUBOY_VERSION = gnuboy-FunKey-1.2.0
GNUBOY_VERSION = 1905515
GNUBOY_SITE_METHOD = git
GNUBOY_SITE = https://github.com/FunKey-Project/gnuboy.git
GNUBOY_LICENSE = GPL-2.0

View File

@ -4,7 +4,7 @@
#
################################################################################
GPSP_VERSION = gpsp-FunKey-1.2.0
GPSP_VERSION = 31f430c
GPSP_SITE_METHOD = git
GPSP_SITE = https://github.com/FunKey-Project/gpsp.git
GPSP_LICENSE = GPL-2.0

View File

@ -4,7 +4,7 @@
#
################################################################################
MEDNAFEN_VERSION = mednafen-git-FunKey-1.2.0
MEDNAFEN_VERSION = 498e85b
MEDNAFEN_SITE_METHOD = git
MEDNAFEN_SITE = https://github.com/FunKey-Project/mednafen-git.git
MEDNAFEN_LICENSE = GPL-2.0+

View File

@ -4,9 +4,9 @@
#
################################################################################
PICODRIVE_VERSION = picodrive-FunKey-1.2.1
PICODRIVE_VERSION = 5a161d92
PICODRIVE_SITE_METHOD = git
PICODRIVE_SITE = https://github.com/FunKey-Project/picodrive.git
PICODRIVE_SITE = https://github.com/FunKey-Project/picodrive-irixxxx.git
PICODRIVE_LICENSE = MAME
PICODRIVE_LICENSE_FILES = COPYING