2 DESCRIPTION = "Control your receiver with a browser"
4 LIC_FILES_CHKSUM = "file://README;firstline=10;lastline=12;md5=9c14f792d0aeb54e15490a28c89087f7"
6 DEPENDS = "python-cheetah-native"
7 RDEPENDS_${PN} = "python-cheetah python-json python-unixadmin python-misc python-pyopenssl \
8 python-shell aio-grab python-compression python-numbers python-zopeinterface \
11 SRCREV_pn-${PN}="d84307958746e6a597b43defe5bd1cb78fd745c8"
14 PKGV = "1+git${GITPKGV}"
17 require openplugins-distutils.inc
19 SRC_URI += " file://openwebif_solo4k.patch;striplevel=1 "
21 # Just a quick hack to "compile" it
23 cheetah-compile -R --nobackup ${S}/plugin
24 python -O -m compileall ${S}
27 PLUGINPATH = "/usr/lib/enigma2/python/Plugins/Extensions/${MODULE}"
29 install -d ${D}${PLUGINPATH}
30 cp -rp ${S}/plugin/* ${D}${PLUGINPATH}
33 python do_package_prepend () {
35 ('bm750', 'duo.jpg', 'vu_normal.png'),
36 ('vuduo2', 'duo2.jpg', 'vu_duo2.png'),
37 ('vusolo', 'solo.jpg', 'vu_normal.png'),
38 ('vusolo2', 'solo2.jpg', 'vu_normal.png'),
39 ('vusolose', 'solose.jpg', 'vu_normal.png'),
40 ('vuzero', 'zero.jpg', 'vu_normal.png'),
41 ('vuultimo', 'ultimo.jpg', 'vu_ultimo.png'),
42 ('vuuno', 'uno.jpg', 'vu_normal.png'),
45 top = '${D}${PLUGINPATH}/public/images/'
46 target_box = 'unknown.jpg'
47 target_remote = 'ow_remote.png'
49 if x[0] == '${MACHINE}':
53 for root, dirs, files in os.walk(top + 'boxes', topdown=False):
55 if target_box != name and name != 'unknown.jpg':
56 os.remove(os.path.join(root, name))
57 for root, dirs, files in os.walk(top + 'remotes', topdown=False):
59 if target_remote != name and name != 'ow_remote.png':
60 os.remove(os.path.join(root, name))
63 FILES_${PN} = "${PLUGINPATH}"