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:
@@ -44,4 +44,14 @@ MEDNAFEN_CONF_OPTS += --prefix=/usr/local --bindir=/usr/games --without-libsndfi
|
||||
|
||||
MEDNAFEN_CONF_ENV += SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
|
||||
|
||||
define MEDNAFEN_CREATE_OPK
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/gamegear $(TARGET_DIR)/usr/games/opk/gamegear.opk -all-root -noappend -no-exports -no-xattrs
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/lynx $(TARGET_DIR)/usr/games/opk/lynx.opk -all-root -noappend -no-exports -no-xattrs
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/ngp $(TARGET_DIR)/usr/games/opk/ngp.opk -all-root -noappend -no-exports -no-xattrs
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/pce $(TARGET_DIR)/usr/games/opk/pce.opk -all-root -noappend -no-exports -no-xattrs
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(MEDNAFEN_PKGDIR)/opk/wonderswan $(TARGET_DIR)/usr/games/opk/wonderswan.opk -all-root -noappend -no-exports -no-xattrs
|
||||
endef
|
||||
MEDNAFEN_POST_INSTALL_TARGET_HOOKS += MEDNAFEN_CREATE_OPK
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Game Gear
|
||||
Comment=Game Gear Emulator
|
||||
Icon=gamegear
|
||||
Exec=/usr/games/launchers/gamegear_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/Game Gear
|
||||
SelectorFilter=zip,ZIP,gg,GG
|
||||
BIN
FunKey/package/mednafen/opk/gamegear/gamegear.png
Normal file
BIN
FunKey/package/mednafen/opk/gamegear/gamegear.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
12
FunKey/package/mednafen/opk/lynx/lynx.funkey-s.desktop
Normal file
12
FunKey/package/mednafen/opk/lynx/lynx.funkey-s.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Lynx
|
||||
Comment=Atari Lynx Emulator
|
||||
Icon=lynx
|
||||
Exec=/usr/games/launchers/lynx_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/Atari lynx
|
||||
SelectorFilter=zip,ZIP,lnx,LNX
|
||||
BIN
FunKey/package/mednafen/opk/lynx/lynx.png
Normal file
BIN
FunKey/package/mednafen/opk/lynx/lynx.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 460 B |
12
FunKey/package/mednafen/opk/ngp/ngp.funkey-s.desktop
Normal file
12
FunKey/package/mednafen/opk/ngp/ngp.funkey-s.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Neo Geo
|
||||
Comment=Neo Geo Pocket Emulator
|
||||
Icon=ngp
|
||||
Exec=/usr/games/launchers/ngp_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/Neo Geo Pocket
|
||||
SelectorFilter=zip,ZIP,ngp,NGP
|
||||
BIN
FunKey/package/mednafen/opk/ngp/ngp.png
Normal file
BIN
FunKey/package/mednafen/opk/ngp/ngp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
12
FunKey/package/mednafen/opk/pce/pce.funkey-s.desktop
Normal file
12
FunKey/package/mednafen/opk/pce/pce.funkey-s.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=PC Engine
|
||||
Comment=PCE-TurboGrafx Emulator
|
||||
Icon=pce
|
||||
Exec=/usr/games/launchers/pce_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/PCE-TurboGrafx
|
||||
SelectorFilter=zip,ZIP,pce,PCE,sgx,SGX
|
||||
BIN
FunKey/package/mednafen/opk/pce/pce.png
Normal file
BIN
FunKey/package/mednafen/opk/pce/pce.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 491 B |
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=WonderSwan
|
||||
Comment=WonderSwan/WonderSwan Color Emulator
|
||||
Icon=wonderswan
|
||||
Exec=/usr/games/launchers/wonderswan_launch.sh
|
||||
Terminal=false
|
||||
X-OD-NeedsDownscaling=true
|
||||
Categories=emulators;
|
||||
selectorbrowser=true
|
||||
SelectorDir=/mnt/WonderSwan
|
||||
SelectorFilter=zip,ZIP,wsc,WSC
|
||||
BIN
FunKey/package/mednafen/opk/wonderswan/wonderswan.png
Normal file
BIN
FunKey/package/mednafen/opk/wonderswan/wonderswan.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Reference in New Issue
Block a user