add commander package, increased image size
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
2077caf06f
commit
bedcde05df
|
@ -17,3 +17,4 @@ source "$BR2_EXTERNAL_FUNKEY_PATH/package/gmenu2x/Config.in"
|
|||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/agg/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/fluidlite/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/libmikmod/Config.in"
|
||||
source "$BR2_EXTERNAL_FUNKEY_PATH/package/commander/Config.in"
|
||||
|
|
|
@ -104,7 +104,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="160M"
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE="200M"
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_DTC=y
|
||||
|
@ -117,3 +117,4 @@ BR2_PACKAGE_GMENU2X=y
|
|||
BR2_PACKAGE_AGG=y
|
||||
BR2_PACKAGE_FLUIDLITE=y
|
||||
BR2_PACKAGE_LIBMIKMOD=y
|
||||
BR2_PACKAGE_COMMANDER=y
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
config BR2_PACKAGE_COMMANDER
|
||||
bool "commander"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_SDL
|
||||
select BR2_PACKAGE_SDL_TTF
|
||||
select BR2_PACKAGE_SDL_GFX
|
||||
help
|
||||
|
||||
DinguxCommander is a file manager for RetroFW. It uses two
|
||||
vertical panels side by side, one being the source and the
|
||||
other the destination, like many 'commander-style' file
|
||||
managers such as Norton Commander or Midnight
|
||||
Commander.
|
|
@ -0,0 +1,42 @@
|
|||
#############################################################
|
||||
#
|
||||
# commander
|
||||
#
|
||||
#############################################################
|
||||
COMMANDER_VERSION = commander-FunKey-1.0.0
|
||||
COMMANDER_SITE_METHOD = git
|
||||
COMMANDER_SITE = https://github.com/FunKey-Project/commander.git
|
||||
COMMANDER_LICENSE = GPL-2.0
|
||||
|
||||
COMMANDER_DEPENDENCIES = sdl sdl_ttf sdl_gfx
|
||||
|
||||
COMMANDER_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release -DTARGET_PLATFORM="funkey-s" -DRES_DIR=""
|
||||
#COMMANDER_CONF_OPTS += -DWITH_SYSTEM_SDL_GFX=ON -DWITH_SYSTEM_SDL_TTF=ON
|
||||
|
||||
define COMMANDER_INSTALL_CMDS
|
||||
endef
|
||||
|
||||
define COMMANDER_CREATE_OPK
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games/opk
|
||||
cd $(@D); \
|
||||
$(HOST_DIR)/usr/bin/mksquashfs \
|
||||
opkg/default.funkey-s.desktop \
|
||||
opkg/readme.funkey-s.txt \
|
||||
opkg/commander.png \
|
||||
res/file-image.png \
|
||||
res/file-ipk.png \
|
||||
res/file-is-symlink.png \
|
||||
res/file-opk.png \
|
||||
res/file-text.png \
|
||||
res/folder.png res/up.png \
|
||||
res/DroidSansFallback.ttf \
|
||||
res/Fiery_Turk.ttf \
|
||||
res/FreeSans.ttf \
|
||||
$(TARGET_DIR)/usr/bin/commander \
|
||||
$(TARGET_DIR)/usr/games/opk/commander-funkey-s.opk \
|
||||
-all-root -noappend -no-exports -no-xattrs -noappend; \
|
||||
rm -rf $(TARGET_DIR)/usr/bin/commander
|
||||
endef
|
||||
COMMANDER_POST_INSTALL_TARGET_HOOKS += COMMANDER_CREATE_OPK
|
||||
|
||||
$(eval $(cmake-package))
|
|
@ -31,7 +31,7 @@ image sdcard-prod.img {
|
|||
partition-type = 0x83
|
||||
bootable = "yes"
|
||||
image = "FunKey/output/images/rootfs.ext4"
|
||||
size = 160M # This will be resized to 1G during first boot
|
||||
size = 200M # This will be resized to 1G during first boot
|
||||
}
|
||||
|
||||
# These partitions will be created during first boot
|
||||
|
|
|
@ -31,7 +31,7 @@ image sdcard.img {
|
|||
partition-type = 0x83
|
||||
bootable = "yes"
|
||||
image = "FunKey/output/images/rootfs.ext4"
|
||||
size = 160M # This will be resized to 1G during first boot
|
||||
size = 200M # This will be resized to 1G during first boot
|
||||
}
|
||||
|
||||
# These partitions will be created during first boot
|
||||
|
|
Loading…
Reference in New Issue