Support gles animation.
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / images / vuplus-image.inc
1 SUMMARY = "A Vuplus firmware image"
2
3 # packages to build for the feed
4 DEPENDS = " \
5         gdb \
6         lsof \
7         ltrace \
8         strace \
9 "
10
11 # build e2openplugins
12 DEPENDS += " \
13         enigma2-plugin-extensions-openwebif \
14         enigma2-plugin-extensions-remotestreamconvert \
15         enigma2-plugin-extensions-addstreamurl \
16         enigma2-plugin-systemplugins-autoshutdown \
17 "
18 DEPENDS += " \
19         ${@base_contains("VUPLUS_FEATURES", "webmanual", "vuplus-manual", "", d)} \
20 "
21 DEPENDS += " \
22         ${@base_contains("VUPLUS_FEATURES", "xbmc", "enigma2-plugin-extensions-xbmc", "", d)} \
23 "
24
25 #BAD_RECOMMENDATIONS += "libnss-mdns wpa-supplicant-passphrase"
26 BAD_RECOMMENDATIONS += "libnss-mdns"
27
28 TASK_CORE_BOOT ?= "task-core-boot"
29 TASK_VUPLUS_BASE ?= "task-vuplus-base"
30 TASK_VUPLUS_ENIGMA ?= "task-vuplus-enigma2"
31 TASK_ESSENCIAL ?= "task-vuplus-essential"
32 TASK_VUPLUS_DVBAPI ?= "task-vuplus-dvbapi"
33
34 IMAGE_INSTALL = " \
35         ${TASK_CORE_BOOT} ${ROOTFS_PKGMANAGE} \
36         ${TASK_VUPLUS_BASE} \
37         ${TASK_VUPLUS_DVBAPI} \
38         ${TASK_VUPLUS_ENIGMA} \
39         ${TASK_ESSENCIAL} \
40 "
41
42 # enable online package management
43 IMAGE_FEATURES += "package-management"
44
45 # we don't want any locales, at least not in the common way.
46 IMAGE_LINGUAS = ""
47
48 inherit image
49
50 vuplus_rootfs_postprocess() {
51     # generate /etc/image-version
52     IMAGE_DATE=`date +%Y%m%d%H%M`
53     # 0: Release, 1: Experimental
54     IMAGE_TYPE="1"
55     # e.g. 400 for release 4.0.0, if IMAGE_TYPE=0
56     IMAGE_VERSION="000"
57     echo "version=${IMAGE_TYPE}${IMAGE_VERSION}${IMAGE_DATE}" > ${IMAGE_ROOTFS}/etc/image-version
58 }
59
60 ROOTFS_POSTPROCESS_COMMAND += "vuplus_rootfs_postprocess; "