Added reboot/shutdown OPKs for GMenu2X

Added Clock app as a package and updated the OPK icon
Updated README for Libretro cores and set default folder for the OPK
This commit is contained in:
DrUm78 2023-06-13 18:43:01 +02:00
parent 40a44ede79
commit 1630024bb3
10 changed files with 51 additions and 1 deletions

View File

@ -19,3 +19,4 @@ source "$BR2_EXTERNAL_FUNKEY_PATH/package/libmikmod/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/commander/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/bibi/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/picoarch/Config.in"
source "$BR2_EXTERNAL_FUNKEY_PATH/package/clock/Config.in"

View File

@ -1 +1 @@
This is the folder where you can put all your roms and games for Libretro if you use RetroFE frontend (for GMenu2X users, you can put them wherever you want)
This is the folder where you can put all your cores (.so files) for Libretro if you use RetroFE frontend (for GMenu2X users, you can put them wherever you want)

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_CLOCK
bool "clock"
default y
select BR2_PACKAGE_SDL
help
This is a simple app that sets the clock.
https://github.com/gameblabla/clock_sdl_app

View File

@ -0,0 +1,33 @@
################################################################################
#
# clock sdl app
#
################################################################################
CLOCK_VERSION = v1.0-funkey-s
CLOCK_SITE_METHOD = git
CLOCK_SITE = https://github.com/DrUm78/clock_sdl_app.git
CLOCK_LICENSE = GPL-2.1+
CLOCK_LICENSE_FILES = LICENSE
CLOCK_DEPENDENCIES = sdl
define CLOCK_BUILD_CMDS
(cd $(@D); \
sed -i -e 's|/opt/FunKey-sdk/usr/bin/arm-funkey-linux-musleabihf-gcc|../../host/usr/bin/arm-linux-gcc|g' Makefile.funkey; \
make -f Makefile.funkey \
)
endef
define CLOCK_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/bin
$(INSTALL) -m 0755 $(@D)/clock $(TARGET_DIR)/usr/bin/
endef
define CLOCK_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/local/share/OPKs/Settings
$(HOST_DIR)/usr/bin/mksquashfs $(CLOCK_PKGDIR)/opk $(TARGET_DIR)/usr/local/share/OPKs/Settings/clock_funkey-s.opk -all-root -noappend -no-exports -no-xattrs
endef
CLOCK_POST_INSTALL_TARGET_HOOKS += CLOCK_CREATE_OPK
$(eval $(generic-package))

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Clock
Comment=Set time and date
Exec=/usr/bin/clock
Icon=clock
Categories=settings

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

View File

@ -4,4 +4,5 @@ Comment=SDL Libretro frontend
Exec=/usr/games/picoarch %f
Icon=picoarch
Categories=games
SelectorDir=/mnt/Libretro/cores
SelectorFilter=so