.retrofe folder in /mnt/FunKey to store new themes (in layouts folder), increased image size by 20M, bibi

This commit is contained in:
Vincent-FK 2021-06-18 00:26:39 +02:00
parent 7dae96d0bf
commit b56b9009f9
7 changed files with 60 additions and 4 deletions

View File

@ -55,6 +55,9 @@ mkdir -p "${MEDNAFEN_HOME}"
cp "/usr/games/lynxboot.img" "/usr/games/mednafen-09x.cfg" "${MEDNAFEN_HOME}/"
export GMENU2X_HOME="$HOME/.gmenu2x"
mkdir -p "${GMENU2X_HOME}"
export RETROFE_HOME="$HOME/.retrofe"
mkdir -p "${RETROFE_HOME}"
mkdir -p "${RETROFE_HOME}/layouts"
# Resize the console to the terminal dimensions
resize() {

View File

@ -105,7 +105,7 @@ BR2_PACKAGE_UTIL_LINUX_BINARIES=y
BR2_PACKAGE_NANO=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
BR2_TARGET_ROOTFS_EXT2_SIZE="220M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_DTC=y

View File

@ -0,0 +1,5 @@
config BR2_PACKAGE_BIBI
bool "FunKey S - bibi"
default y
help
Bomberman game in c with SDL, readapted for the FunKey S.

View File

@ -0,0 +1,48 @@
################################################################################
#
# bibi
#
################################################################################
BIBI_VERSION = 36a2f57
BIBI_SITE_METHOD = git
BIBI_SITE = https://github.com/FunKey-Project/Bibi.git
BIBI_SITE_LICENSE = GPL-2.1+
BIBI_SITE_LICENSE_FILES = COPYING
BIBI_DEPENDENCIES = sdl sdl_image sdl_ttf
BIBI_CFLAGS = $(TARGET_CFLAGS)
BIBI_SDL_CFLAGS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --cflags)
BIBI_SDL_LIBS += $(shell $(STAGING_DIR)/usr/bin/sdl-config --libs)
BIBI_SDL_CFLAGS += $(shell $(STAGING_DIR)/usr/bin/libmikmod-config --cflags)
BIBI_SDL_LIBS += $(shell $(STAGING_DIR)/usr/bin/libmikmod-config --libs)
BIBI_CFLAGS += -ggdb -O3
BIBI_CFLAGS += $(BIBI_SDL_CFLAGS)
BIBI_CFLAGS += -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED -DBYPASS_MENU -DFUNKEY_MENU
BIBI_LIBS += $(BIBI_SDL_LIBS)
BIBI_LIBS += -lSDL -lSDL_ttf -lSDL_image -lSDL_mixer
define BIBI_BUILD_CMDS
(cd $(@D); \
make \
CROSS_COMPILE=$(TARGET_CROSS) \
CFLAGS='$(BIBI_CFLAGS)' \
LDFLAGS='$(BIBI_LIBS)' \
SDL_INCLUDES='$(BIBI_SDL_CFLAGS)' \
SDL_LIBS='$(BIBI_SDL_LIBS)' \
)
endef
define BIBI_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/bibi
$(INSTALL) -m 0755 $(@D)/bibi $(TARGET_DIR)/usr/games/bibi/bibi
$(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/games/bibi/sprite $(@D)/sprite/*
$(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/games/bibi/data $(@D)/data/*
$(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/games/bibi/audio $(@D)/audio/*
endef
$(eval $(generic-package))

View File

@ -4,7 +4,7 @@
#
################################################################################
RETROFE_VERSION = f162704
RETROFE_VERSION = 0fcc268
RETROFE_SITE_METHOD = git
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib

View File

@ -31,7 +31,7 @@ image sdcard-prod.img {
partition-type = 0x83
bootable = "yes"
image = "FunKey/output/images/rootfs.ext4"
size = 200M # This will be resized to 1G during first boot
size = 220M # This will be resized to 1G during first boot
}
# These partitions will be created during first boot

View File

@ -31,7 +31,7 @@ image sdcard.img {
partition-type = 0x83
bootable = "yes"
image = "FunKey/output/images/rootfs.ext4"
size = 200M # This will be resized to 1G during first boot
size = 220M # This will be resized to 1G during first boot
}
# These partitions will be created during first boot