mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 18:32:45 +01:00
create opk during build
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -71,4 +71,10 @@ define POCKETSNES_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/psnes $(TARGET_DIR)/usr/games/psnes
|
||||
endef
|
||||
|
||||
define POCKETSNES_CREATE_OPK
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(POCKETSNES_PKGDIR)/opk/snes $(TARGET_DIR)/usr/games/opk/snes.opk -all-root -noappend -no-exports -no-xattrs
|
||||
endef
|
||||
POCKETSNES_POST_INSTALL_TARGET_HOOKS += POCKETSNES_CREATE_OPK
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
12
FunKey/package/PocketSNES/opk/snes/snes.funkey-s.desktop
Normal file
12
FunKey/package/PocketSNES/opk/snes/snes.funkey-s.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=SNES
|
||||
Comment=SNES Emulator
|
||||
Icon=snes
|
||||
Exec=/usr/games/launchers/snes_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/SNES
|
||||
SelectorFilter=sfc,SFC,smc,SMC
|
||||
BIN
FunKey/package/PocketSNES/opk/snes/snes.png
Normal file
BIN
FunKey/package/PocketSNES/opk/snes/snes.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user