enigma2: create upgrade path from old network and upnp plugins
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2-core-plugins.inc
1 SUMMARY_enigma2-plugin-extensions-browser = "Browse the web"
2 SUMMARY_enigma2-plugin-extensions-cutlisteditor = "Cut movies"
3 SUMMARY_enigma2-plugin-extensions-graphmultiepg = "Graphical program guide"
4 SUMMARY_engima2-plugin-extensions-hbbtv = "HbbTV functionality for your Dreambox (beta)"
5 SUMMARY_enigma2-plugin-extensions-modem = "Connect to the internet by modem"
6 SUMMARY_enigma2-plugin-extensions-pictureplayer = "Show photos"
7 SUMMARY_enigma2-plugin-systemplugins-cleanupwizard = "Detect low flash memory"
8 SUMMARY_enigma2-plugin-systemplugins-crashlogautosubmit = "Send crash logs to Dream Multimedia"
9 SUMMARY_enigma2-plugin-systemplugins-positionersetup = "Install a motorized dish"
10 SUMMARY_enigma2-plugin-systemplugins-satelliteequipmentcontrol = "Fine-tune DiSEqC settings"
11 SUMMARY_enigma2-plugin-systemplugins-satfinder = "Find satellites"
12 SUMMARY_enigma2-plugin-systemplugins-skinselector = "Select installed skins"
13 SUMMARY_enigma2-plugin-systemplugins-upnp = "UPnP tools based on python-coherence"
14 SUMMARY_enigma2-plugin-systemplugins-videomode = "Select custom video modes"
15
16 PACKAGES =+ " \
17     enigma2-plugin-extensions-browser \
18     enigma2-plugin-extensions-cutlisteditor \
19     enigma2-plugin-extensions-dvdburn \
20     enigma2-plugin-extensions-dvdplayer \
21     enigma2-plugin-extensions-hbbtv \
22     enigma2-plugin-extensions-modem \
23     enigma2-plugin-systemplugins-commoninterfaceassignment \
24     enigma2-plugin-systemplugins-crashlogautosubmit \
25     enigma2-plugin-systemplugins-hotplug \
26     enigma2-plugin-systemplugins-networkmanager \
27     enigma2-plugin-systemplugins-softwaremanager \
28     enigma2-plugin-systemplugins-upnp \
29 "
30
31 QT_BASE_NAME ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'qt4', 'qt4-embedded', d)}"
32 QT_IMAGEFORMATS ?= "${QT_BASE_NAME}-plugin-imageformat-gif \
33                     ${QT_BASE_NAME}-plugin-imageformat-ico \
34                     ${QT_BASE_NAME}-plugin-imageformat-jpeg \
35                     ${QT_BASE_NAME}-plugin-imageformat-svg \
36                     ${QT_BASE_NAME}-plugin-imageformat-tiff"
37
38 RDEPENDS_enigma2-plugin-extensions-browser = " \
39         ca-certificates \
40         python-email \
41         python-sqlite3 \
42         python-xml \
43         ubuntu-font-family \
44         ${QT_IMAGEFORMATS} \
45 "
46 RDEPENDS_enigma2-plugin-extensions-cutlisteditor = " \
47         aio-grab \
48 "
49 RDEPENDS_enigma2-plugin-extensions-dvdburn = " \
50         bdremux \
51         cdrkit \
52         dvdauthor \
53         dvd+rw-tools \
54         mjpegtools \
55         python-xml \
56         python-imaging \
57         ${@base_conditional('OPENDREAMBOX_GST_VERSION', '0.10', 'gst-plugins-bad-mpegtsmux', 'gstreamer1.0-plugins-bad-mpegtsmux', d)} \
58         ${@base_conditional('OPENDREAMBOX_GST_VERSION', '0.10', 'gst-plugins-bad-videoparsersbad', 'gstreamer1.0-plugins-bad-videoparsersbad', d)} \
59 "
60 RDEPENDS_enigma2-plugin-extensions-dvdplayer = " \
61         packagegroup-opendreambox-dvdplayer \
62 "
63 RDEPENDS_enigma2-plugin-extensions-hbbtv = " \
64         enigma2-plugin-extensions-browser \
65         enigma2-hbbtv-plugin\
66 "
67 RDEPENDS_enigma2-plugin-systemplugins-commoninterfaceassignment = " \
68         python-xml \
69 "
70 RDEPENDS_enigma2-plugin-systemplugins-crashlogautosubmit = " \
71         python-compression \
72         python-email \
73         python-mime \
74         python-twisted-mail \
75         python-twisted-names \
76 "
77 RDEPENDS_enigma2-plugin-systemplugins-hotplug = " \
78         python-fcntl \
79         python-threading \
80 "
81 RDEPENDS_enigma2-plugin-extensions-modem = " \
82         dreambox-modem-ppp-scripts \
83         ppp \
84 "
85 RRECOMMENDS_enigma2-plugin-extensions-modem = " \
86         kernel-module-ppp-async \
87         kernel-module-ppp-deflate \
88         kernel-module-ppp-generic \
89 "
90 RDEPENDS_enigma2-plugin-systemplugins-networkmanager = " \
91         packagegroup-net-connman \
92 "
93 RPROVIDES_enigma2-plugin-systemplugins-networkmanager = " \
94         enigma2-plugin-systemplugins-networksetup \
95         enigma2-plugin-systemplugins-networkwizard \
96         enigma2-plugin-systemplugins-wirelesslan \
97 "
98 RCONFLICTS_enigma2-plugin-systemplugins-networkmanager = " \
99         enigma2-plugin-systemplugins-networksetup \
100         enigma2-plugin-systemplugins-networkwizard \
101         enigma2-plugin-systemplugins-wirelesslan \
102 "
103 RREPLACES_enigma2-plugin-systemplugins-networkmanager = " \
104         enigma2-plugin-systemplugins-networksetup \
105         enigma2-plugin-systemplugins-networkwizard \
106         enigma2-plugin-systemplugins-wirelesslan \
107 "
108 RDEPENDS_enigma2-plugin-systemplugins-softwaremanager = " \
109         python-twisted-web \
110 "
111 RDEPENDS_enigma2-plugin-systemplugins-upnp = " \
112         python-coherence \
113 "
114 RPROVIDES_enigma2-plugin-systemplugins-upnp = " \
115         enigma2-plugin-systemplugins-minidlnasetup \
116 "
117 RCONFLICTS_enigma2-plugin-systemplugins-upnp = " \
118         enigma2-plugin-systemplugins-minidlnasetup \
119 "
120 RREPLACES_enigma2-plugin-systemplugins-upnp = " \
121         enigma2-plugin-systemplugins-minidlnasetup \
122 "
123
124 python populate_packages_prepend() {
125     enigma2_plugindir = bb.data.expand('${libdir}/enigma2/python/Plugins', d)
126     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/[a-zA-Z0-9_]+.*$', 'enigma2-plugin-%s', '%s', recursive=True, match_path=True, prepend=True)
127     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.la$', 'enigma2-plugin-%s-dev', '%s (development)', recursive=True, match_path=True, prepend=True)
128     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.a$', 'enigma2-plugin-%s-staticdev', '%s (static development)', recursive=True, match_path=True, prepend=True)
129     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/(.*/)?\.debug/.*$', 'enigma2-plugin-%s-dbg', '%s (debug)', recursive=True, match_path=True, prepend=True)
130 }