summaryrefslogtreecommitdiff
path: root/packages/meta/opie-collections.inc
blob: 60cc77356a57ca832d761f11636a6ebc1ab5aee4 (plain)
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
102
#
# A collection of dependencies for images including Opie or parts of it.
#

#
# Dependencies to get the launcher up and running
#

OPIE_LIBS_DEPENDS  = "qte libopie2 opie-ttf-support ttf-dejavu"
OPIE_LIBS_RDEPENDS = "opie-ttf-support ttf-dejavu-sans ttf-dejavu-sans-mono"
OPIE_BASE = "opie-qcop opie-qss opie-quicklauncher opie-taskbar opie-pics opie-sounds"

#
# Things for reasonable bootstrap image
#

OPIE_BASE_APPLETS = "opie-aboutapplet opie-clockapplet      opie-suspendapplet	\
                     opie-homeapplet  opie-multikeyapplet   opie-rotateapplet 	\
                     opie-irdaapplet  opie-brightnessapplet opie-batteryapplet  \
                     opie-pcmciaapplet "

OPIE_BASE_INPUTMETHODS = "opie-multikey opie-handwriting opie-pickboard"

OPIE_BASE_APPS = "opie-packagemanager opie-keytabs opie-console opie-clock \
                  opie-citytime opie-backup"

OPIE_BASE_SETTINGS = "opie-light-and-power opie-appearance opie-systemtime \
                      opie-sysinfo opie-networksettings opie-button-settings \
                      opie-icon-reload"

OPIE_BASE_DECOS = "opie-deco-flat opie-deco-liquid opie-deco-polished"

OPIE_BASE_STYLES = "opie-style-flat opie-style-liquid opie-style-fresh \
                    opie-style-metal opie-style-web opie-style-phase"

OPIE_BASE_DEPENDS = "ipkg timezones ntp bluez-utils-nodbus irda-utils \
                     openobex-apps libopieobex0 wireless-tools usbutils"
OPIE_BASE_RDEPENDS = "timezones ntpdate opie-handwriting-classicset \
                      bluez-utils-nodbus openobex-apps libopieobex0 wireless-tools "

#
# Clamshell models can benefit from the autorotate applet
#
OPIE_BASE_DEPENDS_append_c7x0 = " opie-autorotateapplet"
OPIE_BASE_DEPENDS_append_spitz = " opie-autorotateapplet"
OPIE_BASE_DEPENDS_append_akita = " opie-autorotateapplet"

# Keyboard models can benefit from the VT and logout applets
OPIE_BASE_APPLETS_append_openzaurus = " opie-vtapplet opie-logoutapplet"
OPIE_BASE_APPLETS_append_mnci       = " opie-vtapplet opie-logoutapplet"

#
# Additional things for a standard 16MB distribution
#

OPIE_PIM_BASE = "opie-alarm opie-drawpad opie-textedit"

OPIE_PIM_MAIL = "opie-mail"

OPIE_PIM = "${OPIE_PIM_BASE} opie-addressbook opie-datebook opie-todo opie-today \
            opie-today-addressbookplugin opie-today-datebookplugin opie-today-todolistplugin \
            opie-datebook-nationalholidayplugin opie-datebook-birthdayplugin "

KDE_PIM_DEPENDS = "${OPIE_PIM_BASE} kdepimpi"
KDE_PIM_RDEPENDS = "kopi kapi kopi-applet"

OPIE_EXTRA_APPLETS = "opie-clipboardapplet opie-volumeapplet opie-screenshotapplet"

OPIE_EXTRA_APPS = "opie-advancedfm"

OPIE_EXTRA_SETTINGS = "opie-language opie-launcher-settings opie-doctab opie-security \
            opie-mediummount opie-networksettings-wlanplugin opie-networksettings-pppplugin"

#
# Additional things for a >= 24MB distribution
#

OPIE_DEPENDS_24  = "konqueror-embedded opie-calculator opie-checkbook opie-mail opie-eye opie-rdesktop \
                    qpdf2 opie-wellenreiter opie-parashoot opie-mindbreaker opie-fifteen opie-tictac opie-tetrix   \
                    opie-irc "
OPIE_RDEPENDS_24 = "konqueror-embedded opie-calculator opie-checkbook opie-mail opie-eye opie-rdesktop \
                    qpdf2 opie-wellenreiter opie-parashoot opie-mindbreaker opie-fifteen opie-tictac opie-tetrix   \
                    opie-irc "

#
#
#

def opie_more_depends(d):
	import bb
	root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" )
	if root_flash_size >= 24: return bb.data.getVar( "OPIE_DEPENDS_24", d, True )
	else: return " "

def opie_more_rdepends(d):  
	import bb
	root_flash_size = int( bb.data.getVar( "ROOT_FLASH_SIZE", d, True ) or "16" )
	if root_flash_size >= 24: return bb.data.getVar( "OPIE_RDEPENDS_24", d, True )
	else: return " "

OPIE_MORE_DEPENDS := "${@opie_more_depends(d)}"
OPIE_MORE_RDEPENDS := "${@opie_more_rdepends(d)}"