enigma2-hbbtv-plugin: add checksums for cortexa15hf-neon-vfpv4
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2-common.inc
1 SUMMARY = "Framebuffer-based digital media application"
2 LICENSE = "Proprietary"
3
4 SYSTEMD_SERVICE_${PN} = "enigma2.service"
5
6 inherit systemd
7
8 # Qt won't start without this fonts directory.
9 do_install_append() {
10     install -d ${D}${libdir}/fonts
11 }
12
13 PACKAGES += "${PN}-meta"
14
15 RDEPENDS_${PN} += " \
16         cdfs \
17         e2fsprogs-e2fsck \
18         e2fsprogs-mke2fs \
19         enigma2-autofs \
20         hdparm \
21         libpagecache \
22         python-codecs \
23         python-core \
24         python-crypt \
25         python-ctypes \
26         python-fcntl \
27         python-lang \
28         python-monotonic \
29         python-netaddr \
30         python-netclient \
31         python-netserver \
32         python-pickle \
33         python-re \
34         python-shell \
35         python-twisted-core \
36         python-twisted-web \
37         python-xml \
38         python-zopeinterface \
39         sdparm \
40         util-linux-blkid \
41         util-linux-sfdisk \
42 "
43 RDEPENDS_${PN}_append_libc-glibc = " \
44         glibc-gconv-iso8859-15 \
45 "
46
47 FILES_${PN} += "${datadir}/fonts ${datadir}/keymaps ${libdir}/fonts ${libdir}/libopen.so"
48 FILES_${PN}-dev = "${includedir} ${libdir}/*.la ${libdir}/pkgconfig"
49 FILES_${PN}-meta = "${datadir}/meta"
50
51 require enigma2-core-plugins.inc
52
53 # Override systemd_postinst from systemd.bbclass to replace 'restart' with 'start'.
54 systemd_postinst() {
55 OPTS=""
56 if [ -n "$D" ]; then
57     OPTS="--root=$D"
58 fi
59 if type systemctl >/dev/null 2>/dev/null; then
60     systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
61     if [ -z "$D" -a "${SYSTEMD_AUTO_ENABLE}" = "enable" ]; then
62         systemctl start ${SYSTEMD_SERVICE}
63     fi
64 fi
65 }