dont generate streamserver package on dreamboxes without encoder
[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-remotecontrolselection = "Select the type of remote you're using"
11 SUMMARY_enigma2-plugin-systemplugins-satelliteequipmentcontrol = "Fine-tune DiSEqC settings"
12 SUMMARY_enigma2-plugin-systemplugins-satfinder = "Find satellites"
13 SUMMARY_enigma2-plugin-systemplugins-skinselector = "Select installed skins"
14 SUMMARY_enigma2-plugin-systemplugins-upnp = "UPnP tools based on python-coherence"
15 SUMMARY_enigma2-plugin-systemplugins-videomode = "Select custom video modes"
16 SUMMARY_enigma2-plugin-systemplugins-hdmicec = "HDMI CEC support"
17
18 PACKAGES =+ " \
19     enigma2-plugin-extensions-browser \
20     enigma2-plugin-extensions-cutlisteditor \
21     enigma2-plugin-extensions-dvdburn \
22     enigma2-plugin-extensions-dvdplayer \
23     enigma2-plugin-extensions-hbbtv \
24     enigma2-plugin-extensions-modem \
25     enigma2-plugin-systemplugins-commoninterfaceassignment \
26     enigma2-plugin-systemplugins-crashlogautosubmit \
27     enigma2-plugin-systemplugins-hotplug \
28     enigma2-plugin-systemplugins-networkmanager \
29     enigma2-plugin-systemplugins-softwaremanager \
30     ${@base_contains('DREAMBOX_FEATURES', 'encoder', 'enigma2-plugin-systemplugins-streamserver', '', d)} \
31     enigma2-plugin-systemplugins-upnp \
32     enigma2-plugin-systemplugins-hdmicec \
33 "
34
35 QT_BASE_NAME ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'qt4', 'qt4-embedded', d)}"
36 QT_IMAGEFORMATS ?= "${QT_BASE_NAME}-plugin-imageformat-gif \
37                     ${QT_BASE_NAME}-plugin-imageformat-ico \
38                     ${QT_BASE_NAME}-plugin-imageformat-jpeg \
39                     ${QT_BASE_NAME}-plugin-imageformat-svg \
40                     ${QT_BASE_NAME}-plugin-imageformat-tiff"
41
42 RDEPENDS_enigma2-plugin-extensions-browser = " \
43         ca-certificates \
44         python-email \
45         python-sqlite3 \
46         python-xml \
47         ubuntu-font-family \
48         ${QT_IMAGEFORMATS} \
49 "
50 RDEPENDS_enigma2-plugin-extensions-cutlisteditor = " \
51         aio-grab \
52 "
53 RDEPENDS_enigma2-plugin-extensions-dvdburn = " \
54         bdremux \
55         cdrkit \
56         dvdauthor \
57         dvd+rw-tools \
58         mjpegtools \
59         python-xml \
60         python-imaging \
61         ${@base_conditional('OPENDREAMBOX_GST_VERSION', '0.10', 'gst-plugins-bad-mpegtsmux', 'gstreamer1.0-plugins-bad-mpegtsmux', d)} \
62         ${@base_conditional('OPENDREAMBOX_GST_VERSION', '0.10', 'gst-plugins-bad-videoparsersbad', 'gstreamer1.0-plugins-bad-videoparsersbad', d)} \
63 "
64 RDEPENDS_enigma2-plugin-extensions-dvdplayer = " \
65         packagegroup-opendreambox-dvdplayer \
66 "
67 RDEPENDS_enigma2-plugin-extensions-hbbtv = " \
68         enigma2-plugin-extensions-browser \
69         enigma2-hbbtv-plugin\
70 "
71 RDEPENDS_enigma2-plugin-systemplugins-commoninterfaceassignment = " \
72         python-xml \
73 "
74 RDEPENDS_enigma2-plugin-systemplugins-crashlogautosubmit = " \
75         python-compression \
76         python-email \
77         python-mime \
78         python-twisted-mail \
79         python-twisted-names \
80 "
81 RDEPENDS_enigma2-plugin-systemplugins-hotplug = " \
82         python-fcntl \
83         python-threading \
84 "
85 RDEPENDS_enigma2-plugin-extensions-modem = " \
86         dreambox-modem-ppp-scripts \
87         ppp \
88 "
89 RRECOMMENDS_enigma2-plugin-extensions-modem = " \
90         kernel-module-ppp-async \
91         kernel-module-ppp-deflate \
92         kernel-module-ppp-generic \
93 "
94 RDEPENDS_enigma2-plugin-systemplugins-networkmanager = " \
95         packagegroup-net-connman \
96 "
97 RPROVIDES_enigma2-plugin-systemplugins-networkmanager = " \
98         enigma2-plugin-systemplugins-networksetup \
99         enigma2-plugin-systemplugins-networkwizard \
100         enigma2-plugin-systemplugins-wirelesslan \
101 "
102 RCONFLICTS_enigma2-plugin-systemplugins-networkmanager = " \
103         enigma2-plugin-systemplugins-networksetup \
104         enigma2-plugin-systemplugins-networkwizard \
105         enigma2-plugin-systemplugins-wirelesslan \
106 "
107 RREPLACES_enigma2-plugin-systemplugins-networkmanager = " \
108         enigma2-plugin-systemplugins-networksetup \
109         enigma2-plugin-systemplugins-networkwizard \
110         enigma2-plugin-systemplugins-wirelesslan \
111 "
112 RDEPENDS_enigma2-plugin-systemplugins-softwaremanager = " \
113         python-twisted-web \
114 "
115 RDEPENDS_enigma2-plugin-systemplugins-streamserver = " \
116         dreamrtspserver \
117 "
118 RDEPENDS_enigma2-plugin-systemplugins-upnp = " \
119         python-coherence \
120 "
121 RPROVIDES_enigma2-plugin-systemplugins-upnp = " \
122         enigma2-plugin-systemplugins-minidlnasetup \
123 "
124 RCONFLICTS_enigma2-plugin-systemplugins-upnp = " \
125         enigma2-plugin-systemplugins-minidlnasetup \
126 "
127 RREPLACES_enigma2-plugin-systemplugins-upnp = " \
128         enigma2-plugin-systemplugins-minidlnasetup \
129 "
130
131 RCONFLICTS_enigma2-plugin-systemplugins-hdmicec = " \
132         enigma2-plugin-systemplugins-advhdmi \
133 "
134 RREPLACES_enigma2-plugin-systemplugins-hdmicec = " \
135         enigma2-plugin-systemplugins-advhdmi \
136 "
137
138 python populate_packages_prepend() {
139     enigma2_plugindir = bb.data.expand('${libdir}/enigma2/python/Plugins', d)
140     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/[a-zA-Z0-9_]+.*$', 'enigma2-plugin-%s', '%s', recursive=True, match_path=True, prepend=True)
141     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.la$', 'enigma2-plugin-%s-dev', '%s (development)', recursive=True, match_path=True, prepend=True)
142     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/.*\.a$', 'enigma2-plugin-%s-staticdev', '%s (static development)', recursive=True, match_path=True, prepend=True)
143     do_split_packages(d, enigma2_plugindir, '^(\w+/\w+)/(.*/)?\.debug/.*$', 'enigma2-plugin-%s-dbg', '%s (debug)', recursive=True, match_path=True, prepend=True)
144 }