1 DESCRIPTION = "SHR Lite Image Feed"
8 def get_rdepends(bb, d):
9 enabled = bb.data.getVar("ENABLE_BINARY_LOCALE_GENERATION", d, 1)
11 # If locale is disabled, bail out
15 locales = bb.data.getVar("GLIBC_GENERATE_LOCALES", d, 1)
16 if not locales or locales == "all":
17 locales = bb.data.getVar("IMAGE_LINGUAS", d, 1);
19 libc = bb.data.getVar('LIBC', d, 1)
23 if not locales or locales == "all":
24 # if locales aren't specified, or user has written "all"
26 ipkdir = bb.data.getVar('DEPLOY_DIR_IPK', d, 1)
28 regexp1 = re.compile(libc+"-binary-localedata-.*") # search pattern
29 regexp2 = re.compile("_.*") # we want to remove all version info and file extension
31 for root, subFolders, files in os.walk(ipkdir):
33 if regexp1.search(file):
34 file = regexp2.sub("", file)
35 rdepends = "%s %s" % (rdepends, file)
38 # if locales are specified
39 regexp1 = re.compile("\\..*") # We want to turn en_US.UTF-8 into en_US
40 regexp2 = re.compile("_") # We want to turn en_US into en-US
43 for locale in locales.split(" "):
44 locale = regexp1.sub("", locale)
45 locale = regexp2.sub("-", locale)
46 locale = str.lower(locale)
47 rdepends = "%s %s-binary-localedata-%s" % (rdepends, libc, locale)
65 RDEPENDS_${PN}-base = "\
68 modutils-initscripts \
69 module-init-tools-depmod \
81 RDEPENDS_${PN}-cli = "\
91 RDEPENDS_${PN}-fso = "\
99 #FIXME: libcanberra-alsa should be pulled in by fsodeviced but isn't
100 RDEPENDS_${PN}-audio = "\
106 RDEPENDS_${PN}-audio_append_om-gta01 = "\
110 RDEPENDS_${PN}-audio_append_om-gta02 = "\
114 RDEPENDS_${PN}-x = "\
116 glibc-charmap-utf-8 \
121 ${@get_rdepends(bb, d)} \
124 xcursor-transparent-theme \
128 RDEPENDS_${PN}-apps = "\
130 phoneui-apps-messages \
131 phoneui-apps-contacts \
132 phoneui-apps-dialer \
144 RDEPENDS_${PN}-gtk = "\
145 openmoko-icon-theme-standard2 \
146 shr-theme-gtk-e17lookalike \
150 matchbox-keyboard-im \