mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 15:48:51 +01:00
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:
parent
40a44ede79
commit
1630024bb3
@ -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/commander/Config.in"
|
||||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/bibi/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/picoarch/Config.in"
|
||||||
|
source "$BR2_EXTERNAL_FUNKEY_PATH/package/clock/Config.in"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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)
|
||||||
|
|||||||
9
FunKey/package/clock/Config.in
Normal file
9
FunKey/package/clock/Config.in
Normal 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
|
||||||
33
FunKey/package/clock/clock.mk
Normal file
33
FunKey/package/clock/clock.mk
Normal 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))
|
||||||
6
FunKey/package/clock/opk/clock.funkey-s.desktop
Normal file
6
FunKey/package/clock/opk/clock.funkey-s.desktop
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Clock
|
||||||
|
Comment=Set time and date
|
||||||
|
Exec=/usr/bin/clock
|
||||||
|
Icon=clock
|
||||||
|
Categories=settings
|
||||||
BIN
FunKey/package/clock/opk/clock.png
Normal file
BIN
FunKey/package/clock/opk/clock.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 905 B |
@ -4,4 +4,5 @@ Comment=SDL Libretro frontend
|
|||||||
Exec=/usr/games/picoarch %f
|
Exec=/usr/games/picoarch %f
|
||||||
Icon=picoarch
|
Icon=picoarch
|
||||||
Categories=games
|
Categories=games
|
||||||
|
SelectorDir=/mnt/Libretro/cores
|
||||||
SelectorFilter=so
|
SelectorFilter=so
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user