[webkit-hbbtv] update hbbtv.
[vuplus_openvuplus_3.0] / meta-bsp / recipes-graphics / directfb / directfb-armv7ahf-vfp-neon_1.7.7.inc
1 require directfb-${MACHINE}.inc
2
3 GFX_FILE = "directfb_1.7-7_gfxdriver_${MACHINE}_${GFXPR}.tar.gz"
4
5 PR .= "-vuplus1_${GFXPR}"
6
7 SRC_URI += " \
8         file://vuplus-conf.patch \
9         file://vuplus-prevent-VT.patch \
10         file://disable_linux_input_patch.diff \
11         http://archive.vuplus.com/download/build_support/vuplus/${GFX_FILE};name=gfxdriver \
12 "
13
14 EXTRA_OECONF += "\
15         --with-inputdrivers=linuxinput \
16         --disable-devmem \
17         --disable-video4linux \
18         --without-tools \
19 "
20
21 PRIVATE_LIBS_${PN} = "\
22         ${@base_contains("VUPLUS_FEATURES", "dvbproxy", "libinit.so", "", d)} \
23 "
24
25 do_install_append() {
26         install -d ${D}/etc
27         install -d ${D}/usr/lib/directfb-${RV}/systems
28         install -d ${D}/usr/lib/directfb-${RV}/gfxdrivers
29
30         install -m 0644 ${WORKDIR}/directfb-vuplus/etc/directfbrc ${D}/etc/directfbrc
31         cp -avr ${WORKDIR}/directfb-vuplus/usr/lib/directfb-${RV}/systems/* ${D}/usr/lib/directfb-${RV}/systems/
32         rm -f ${D}/usr/lib/directfb-${RV}/systems/libdirectfb_dummy.so
33         rm -f ${D}/usr/lib/directfb-${RV}/systems/libdirectfb_fbdev.so
34         install -m 0755 ${WORKDIR}/directfb-vuplus/usr/lib/directfb-${RV}/gfxdrivers/* ${D}/usr/lib/directfb-${RV}/gfxdrivers/
35
36         cp -avr ${WORKDIR}/directfb-vuplus/usr/lib/libinit* ${D}/usr/lib/
37 }
38
39 do_package_qa() {
40 }
41
42 FILES_${PN} += "\
43         /etc/directfbrc \
44         /usr/lib/libinit* \
45         /usr/lib/directfb-${RV}/systems/libdirectfb_dvb_proxy_sys* \
46         /usr/lib/directfb-${RV}/gfxdrivers/* \
47 "
48
49 FILES_${PN}-dbg += "\
50         /usr/lib/.debug/libinit* \
51         /usr/lib/directfb-${RV}/systems/.debug/* \
52         /usr/lib/directfb-${RV}/gfxdrivers/.debug/* \
53 "
54
55 BBCLASSEXTEND = "native"
56 PACKAGE_ARCH := "${MACHINE_ARCH}"
57