File tree Expand file tree Collapse file tree 6 files changed +60
-3
lines changed
Expand file tree Collapse file tree 6 files changed +60
-3
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ source "$BR2_EXTERNAL_FUNKEY_PATH/package/gmenu2x/Config.in"
1717source "$BR2_EXTERNAL_FUNKEY_PATH/package/agg/Config.in"
1818source "$BR2_EXTERNAL_FUNKEY_PATH/package/fluidlite/Config.in"
1919source "$BR2_EXTERNAL_FUNKEY_PATH/package/libmikmod/Config.in"
20+ source "$BR2_EXTERNAL_FUNKEY_PATH/package/commander/Config.in"
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ BR2_PACKAGE_UTIL_LINUX_BINARIES=y
104104BR2_PACKAGE_NANO=y
105105BR2_TARGET_ROOTFS_EXT2=y
106106BR2_TARGET_ROOTFS_EXT2_4=y
107- BR2_TARGET_ROOTFS_EXT2_SIZE="160M "
107+ BR2_TARGET_ROOTFS_EXT2_SIZE="200M "
108108# BR2_TARGET_ROOTFS_TAR is not set
109109BR2_PACKAGE_HOST_DOSFSTOOLS=y
110110BR2_PACKAGE_HOST_DTC=y
@@ -117,3 +117,4 @@ BR2_PACKAGE_GMENU2X=y
117117BR2_PACKAGE_AGG=y
118118BR2_PACKAGE_FLUIDLITE=y
119119BR2_PACKAGE_LIBMIKMOD=y
120+ BR2_PACKAGE_COMMANDER=y
Original file line number Diff line number Diff line change 1+ config BR2_PACKAGE_COMMANDER
2+ bool "commander"
3+ select BR2_PACKAGE_LIBPNG
4+ select BR2_PACKAGE_SDL
5+ select BR2_PACKAGE_SDL_TTF
6+ select BR2_PACKAGE_SDL_GFX
7+ help
8+
9+ DinguxCommander is a file manager for RetroFW. It uses two
10+ vertical panels side by side, one being the source and the
11+ other the destination, like many 'commander-style' file
12+ managers such as Norton Commander or Midnight
13+ Commander.
Original file line number Diff line number Diff line change 1+ # ############################################################
2+ #
3+ # commander
4+ #
5+ # ############################################################
6+ COMMANDER_VERSION = commander-FunKey-1.0.0
7+ COMMANDER_SITE_METHOD = git
8+ COMMANDER_SITE = https://github.com/FunKey-Project/commander.git
9+ COMMANDER_LICENSE = GPL-2.0
10+
11+ COMMANDER_DEPENDENCIES = sdl sdl_ttf sdl_gfx
12+
13+ COMMANDER_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release -DTARGET_PLATFORM="funkey-s" -DRES_DIR=""
14+ # COMMANDER_CONF_OPTS += -DWITH_SYSTEM_SDL_GFX=ON -DWITH_SYSTEM_SDL_TTF=ON
15+
16+ define COMMANDER_INSTALL_CMDS
17+ endef
18+
19+ define COMMANDER_CREATE_OPK
20+ $(INSTALL ) -d -m 0755 $(TARGET_DIR ) /usr/games/opk
21+ cd $(@D ) ; \
22+ $(HOST_DIR ) /usr/bin/mksquashfs \
23+ opkg/default.funkey-s.desktop \
24+ opkg/readme.funkey-s.txt \
25+ opkg/commander.png \
26+ res/file-image.png \
27+ res/file-ipk.png \
28+ res/file-is-symlink.png \
29+ res/file-opk.png \
30+ res/file-text.png \
31+ res/folder.png res/up.png \
32+ res/DroidSansFallback.ttf \
33+ res/Fiery_Turk.ttf \
34+ res/FreeSans.ttf \
35+ $(TARGET_DIR ) /usr/bin/commander \
36+ $(TARGET_DIR ) /usr/games/opk/commander-funkey-s.opk \
37+ -all-root -noappend -no-exports -no-xattrs -noappend; \
38+ rm -rf $(TARGET_DIR ) /usr/bin/commander
39+ endef
40+ COMMANDER_POST_INSTALL_TARGET_HOOKS += COMMANDER_CREATE_OPK
41+
42+ $(eval $(cmake-package))
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ image sdcard-prod.img {
3131 partition-type = 0x83
3232 bootable = " yes"
3333 image = " FunKey/output/images/rootfs.ext4"
34- size = 160M # This will be resized to 1G during first boot
34+ size = 200M # This will be resized to 1G during first boot
3535 }
3636
3737# These partitions will be created during first boot
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ image sdcard.img {
3131 partition-type = 0x83
3232 bootable = " yes"
3333 image = " FunKey/output/images/rootfs.ext4"
34- size = 160M # This will be resized to 1G during first boot
34+ size = 200M # This will be resized to 1G during first boot
3535 }
3636
3737# These partitions will be created during first boot
You can’t perform that action at this time.
0 commit comments