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 8e15b18a5c
commit bb0f2b4302
48 changed files with 194 additions and 91 deletions

View File

@@ -43,4 +43,11 @@ GNUBOY_CONF_OPTS += --without-fb \
GNUBOY_CONF_ENV += SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config"
define GNUBOY_CREATE_OPK
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
$(HOST_DIR)/usr/bin/mksquashfs $(GNUBOY_PKGDIR)/opk/gb $(TARGET_DIR)/usr/games/opk/gb.opk -all-root -noappend -no-exports -no-xattrs
$(HOST_DIR)/usr/bin/mksquashfs $(GNUBOY_PKGDIR)/opk/gbc $(TARGET_DIR)/usr/games/opk/gbc.opk -all-root -noappend -no-exports -no-xattrs
endef
GNUBOY_POST_INSTALL_TARGET_HOOKS += GNUBOY_CREATE_OPK
$(eval $(autotools-package))

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Name=GameBoy
Comment=Game Boy Emulator
Icon=gb
Exec=/usr/games/launchers/gb_launch.sh
Terminal=false
X-OD-NeedsDownscaling=true
Categories=emulators;
selectorbrowser=true
SelectorDir=/mnt/Game Boy
SelectorFilter=gb,GB

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Type=Application
Name=GameBoy Col
Comment=Game Boy Color Emulator
Icon=gbc
Exec=/usr/games/launchers/gb_launch.sh
Terminal=false
X-Od-NeedsDownscaling=true
Categories=emulators;
selectorbrowser=true
SelectorDir=/mnt/Game Boy Color
SelectorFilter=gbc,GBC

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB