[enigma2-plugin-extensions-openwebif] use fixed SRCREV.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-vuplus / opera-hbbtv / opera-hbbtv_0.2.bb
1 DESCRIPTION = "opera-hbbtv"
2 PRIORITY = "required"
3 LICENSE = "CLOSED"
4
5 DEPENDS = "mpfr gmp"
6 RDEPENDS = "sysfsutils vuplus-dvb-modules"
7
8 SRC_DATE = "20150106_0"
9
10 PR = "r1_${SRC_DATE}"
11 SRC_URI = ""
12
13 INHIBIT_PACKAGE_STRIP = "1"
14 PRIVATE_LIBS_${PN} = "libopera_hbbtv.so \
15 libdsmcc.so \
16 libdirect-1.4.so.6 \
17 libdirectfb-1.4.so.6 \
18 libfusion-1.4.so.6 \
19 libdirectfbwm_default.so \
20 libdirectfb_linux_input.so \
21 libdirectfb_devmem.so \
22 libdirectfb_dummy.so \
23 libdirectfb_fbdev.so \
24 libidirectfbfont_dgiff.so \
25 libidirectfbvideoprovider_v4l.so \
26 libidirectfbvideoprovider_gif.so \
27 libidirectfbimageprovider_dfiff.so \
28 libidirectfbimageprovider_gif.so \
29 libidirectfbimageprovider_jpeg.so \
30 libicoreresourcemanager_test.so \
31 libdirectfb_vuplus.so"
32
33 S = "${WORKDIR}/opera-hbbtv"
34
35 SRC_FILE = "opera-hbbtv_${SRC_DATE}.tar.gz"
36 do_fetch() {
37         if [ ! -e ${DL_DIR}/${SRC_FILE} -a -e /etc/vuplus_browser.pwd ]; then
38 sshpass -f /etc/vuplus_browser.pwd sftp -o StrictHostKeyChecking=no guestuser@code.vuplus.com << +
39 get ${SRC_FILE}
40 bye
41 +
42         fi
43         cp -av ${DL_DIR}/${SRC_FILE} ${WORKDIR}/
44 }
45
46 do_unpack() {
47         tar xvfz ${SRC_FILE}
48 }
49
50 do_compile() {
51 }
52
53 do_install() {
54         install -d ${D}/usr/local/hbb-browser
55         mv ${S}/opera/* ${D}/usr/local/hbb-browser/
56         install -d ${D}/usr/lib
57         mv ${S}/dfb/usr/lib/* ${D}/usr/lib/
58 }
59
60 package_do_shlibs_append() {
61         deps = "${PKGDEST}/${PN}.shlibdeps"
62         tmp = "/tmp/.${PN}.shlibdeps"
63         os.system("sed -e '/vbrowser/d' %s > %s" % (deps, tmp))
64         os.system("cp %s %s" % (tmp, deps))
65 }
66
67 do_package_qa() {
68 }
69
70 sysroot_stage_all() {
71 }
72
73 PACKAGES = "${PN}"
74
75 FILES_${PN} = "/"
76
77 SRC_URI[md5sum] = "531bb6c69f682b04b563a17160773014"
78 SRC_URI[sha256sum] = "3f8f885b3679db592acd09120dc8f29911bf34ac811df41e6abb87440e394b94"
79