create opk during build

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-12-11 23:37:33 +01:00
parent 342457cf01
commit 4cdd246fac
48 changed files with 194 additions and 91 deletions

View File

@@ -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))

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB