mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 10:22:46 +01:00
create opk during build
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -65,5 +65,10 @@ define FCEUX_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/fceux/fceux $(TARGET_DIR)/usr/games/fceux
|
||||
endef
|
||||
|
||||
define FCEUX_CREATE_OPK
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(FCEUX_PKGDIR)/opk/nes $(TARGET_DIR)/usr/games/opk/nes.opk -all-root -noappend -no-exports -no-xattrs
|
||||
endef
|
||||
FCEUX_POST_INSTALL_TARGET_HOOKS += FCEUX_CREATE_OPK
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
12
FunKey/package/FCEUX/opk/nes/nes.funkey-s.desktop
Normal file
12
FunKey/package/FCEUX/opk/nes/nes.funkey-s.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=NES
|
||||
Comment=FC/NES Emulator
|
||||
Icon=nes
|
||||
Exec=/usr/games/launchers/nes_launch.sh %f
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/NES
|
||||
SelectorFilter=nes,NES
|
||||
BIN
FunKey/package/FCEUX/opk/nes/nes.png
Normal file
BIN
FunKey/package/FCEUX/opk/nes/nes.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 363 B |
Reference in New Issue
Block a user