hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
MINIGUI_SITE = $(TOPDIR)/../external/minigui
MINIGUI_VERSION = master
MINIGUI_SITE_METHOD = local
MINIGUI_INSTALL_STAGING = YES
 
MINIGUI_LICENSE_FILES = COPYING
MINIGUI_LICENSE = GPLv3
MINIGUI_AUTORECONF = YES
MINIGUI_DEPENDENCIES = jpeg
 
ifeq ($(BR2_PACKAGE_MINIGUI_ENABLE_RGA),y)
MINIGUI_DEPENDENCIES += rockchip-rga
MINIGUI_CONF_ENV = CFLAGS+=" -DENABLE_RGA=1"
endif
 
##    --host=arm-linux
##    --target=arm-linux
MINIGUI_CONF_OPTS = \
    --build=i386-linux \
    --with-osname=linux \
    --disable-videopcxvfb \
    --with-ttfsupport=none \
    --disable-autoial \
    --disable-vbfsupport \
    --disable-textmode \
    --enable-vbfsupport \
    --disable-pcxvfb \
    --disable-dlcustomial \
    --disable-dummyial \
    --disable-jpgsupport \
    --disable-fontcourier \
    --disable-screensaver \
    --enable-RKKeyboard_ial \
    --enable-jpgsupport \
    --disable-fontsserif \
    --disable-fontsystem \
    --disable-flatlf \
    --disable-skinlfi \
    --disable-dblclk \
    --disable-consoleps2 \
    --disable-consolems \
    --disable-consolems3 \
    --disable-rbfterminal \
    --disable-rbffixedsys \
    --disable-vbfsupport \
    --disable-splash \
    --enable-videoshadow \
    --disable-static \
    --enable-shared \
    --disable-procs \
    --with-runmode=ths \
    --disable-incoreres \
    --disable-cursor \
    --enable-mousecalibrate \
    --with-pic
 
ifeq ($(BR2_PACKAGE_MINIGUI_SOFTWARE_SCALE),y)
MINIGUI_CONF_ENV += CFLAGS+=" -DDRM_VOP_SCALE=0"
MINIGUI_CONF_OPTS += --enable-pixman
MINIGUI_DEPENDENCIES += pixman
else
MINIGUI_CONF_ENV += CFLAGS+=" -DDRM_VOP_SCALE=1"
endif
 
ifeq ($(BR2_PACKAGE_LIBDRM),y)
MINIGUI_TARGET=drmcon
MINIGUI_CONF_OPTS += \
    --enable-videodrmcon \
    --disable-videofbcon
 
else
MINIGUI_TARGET=fbcon
MINIGUI_CONF_OPTS += \
    --enable-videofbcon
endif
 
MINIGUI_CONF_OPTS += \
    --with-targetname=$(MINIGUI_TARGET)
 
ifeq ($(BR2_PACKAGE_MINIGUI_ENABLE_FREETYPE),y)
MINIGUI_DEPENDENCIES += freetype
MINIGUI_CONF_OPTS += \
    --enable-ttfsupport \
    --with-ttfsupport=ft2 \
    --with-ft2-includes=$(STAGING_DIR)/usr/include/freetype2
endif
 
ifeq ($(BR2_PACKAGE_MINIGUI_ENABLE_PNG),y)
MINIGUI_DEPENDENCIES += libpng
MINIGUI_CONF_OPTS += \
    --enable-pngsupport
endif
 
ifeq ($(BR2_PACKAGE_TSLIB),y)
MINIGUI_DEPENDENCIES += tslib
MINIGUI_CONF_OPTS += \
    --enable-tslibial
endif
 
 
$(eval $(autotools-package))