task-opendreambox-enigma2: split into .inc and .bb
[opendreambox.git] / meta-opendreambox / recipes-dreambox / tasks / task-opendreambox-enigma2.inc
1 SUMMARY = "OpenDreambox: Enigma2 Task for the OpenDreambox Distribution"
2 SECTION = "opendreambox/base"
3 LICENSE = "MIT"
4 LIC_FILES_CHKSUM = "file://${OPENDREAMBOX_BASE}/LICENSE;md5=0a5ec7423edaca24547634f416478834"
5 INC_PR = "r23"
6
7 inherit task
8
9 PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11 RDEPENDS_${PN} += " \
12   blindscan-utils \
13   enigma2 \
14   enigma2-defaultservices \
15   enigma2-meta \
16   enigma2-plugin-extensions-genuinedreambox \
17   enigma2-plugin-extensions-mediascanner \
18   ${@base_contains('DREAMBOX_FEATURES', 'ci', 'enigma2-plugin-systemplugins-commoninterfaceassignment', '', d)} \
19   enigma2-plugin-systemplugins-frontprocessorupgrade \
20   enigma2-plugin-systemplugins-hotplug \
21   enigma2-plugin-systemplugins-networksetup \
22   enigma2-plugin-systemplugins-networkwizard \
23   enigma2-plugin-systemplugins-softwaremanager \
24   ${@base_contains('DREAMBOX_FEATURES', 'fan', 'enigma2-plugin-systemplugins-tempfancontrol', '', d)} \
25   enigma2-plugin-systemplugins-videomode \
26   enigma2-plugin-systemplugins-videotune \
27   ${@base_contains('MACHINE_FEATURES', 'wifi', 'enigma2-plugin-systemplugins-wirelesslan', '', d)} \
28   enigma2-plugins-meta \
29   enigma2-skins-meta \
30   enigma2-streamproxy \
31   gst-plugin-dvbmediasink \
32   ${@base_contains('DREAMBOX_FEATURES', 'dvd', 'gst-plugins-bad-cdxaparse', '', d)} \
33   gst-plugins-bad-mpegdemux \
34   ${@base_contains('DREAMBOX_FEATURES', 'dvd', 'gst-plugins-bad-vcdsrc', '', d)} \
35   gst-plugins-base-alsa \
36   gst-plugins-base-app \
37   gst-plugins-base-audioconvert \
38   gst-plugins-base-audioresample \
39   gst-plugins-base-decodebin \
40   gst-plugins-base-decodebin2 \
41   gst-plugins-base-ogg \
42   gst-plugins-base-playbin \
43   gst-plugins-base-subparse \
44   gst-plugins-base-typefindfunctions \
45   ${@base_conditional('TARGET_FPU', 'soft', 'gst-plugins-base-ivorbisdec', 'gst-plugins-base-vorbis', d)} \
46   gst-plugins-good-apetag \
47   gst-plugins-good-audioparsers \
48   gst-plugins-good-autodetect \
49   ${@base_contains('DREAMBOX_FEATURES', 'xvid', 'gst-plugins-good-avi', '', d)} \
50   gst-plugins-good-flac \
51   gst-plugins-good-icydemux \
52   gst-plugins-good-id3demux \
53   gst-plugins-good-isomp4 \
54   gst-plugins-good-matroska \
55   gst-plugins-good-rtp \
56   gst-plugins-good-rtpmanager \
57   gst-plugins-good-rtsp \
58   gst-plugins-good-souphttpsrc \
59   gst-plugins-good-udp \
60   gst-plugins-good-wavparse \
61   ${@base_contains('DREAMBOX_FEATURES', 'dvd', 'gst-plugins-ugly-cdio', '', d)} \
62   gst-plugins-ugly-dvdsub \
63   gst-plugins-ugly-mad \
64   gst-plugins-ugly-mpegaudioparse \
65   gst-plugins-ugly-mpegstream \
66   ${@base_contains('DREAMBOX_FEATURES', 'libpassthrough', 'libpassthrough', '', d)} \
67   tuxbox-tuxtxt-32bpp \
68 "
69 RDEPENDS_${PN}_append_dm8000 = " \
70   enigma2-plugin-systemplugins-nfiflash \
71 "
72
73 RRECOMMENDS_${PN} += " \
74   aio-grab \
75   ${@base_less_or_equal('DREAMBOX_IMAGE_SIZE', 64, '', 'enigma2-hbbtv-plugin', d)} \
76   enigma2-plugin-extensions-audiosync \
77   ${@base_less_or_equal('DREAMBOX_IMAGE_SIZE', 64, '', 'enigma2-plugin-extensions-browser', d)} \
78   enigma2-plugin-extensions-cutlisteditor \
79   enigma2-plugin-extensions-graphmultiepg \
80   enigma2-plugin-extensions-mediaplayer \
81   enigma2-plugin-extensions-pictureplayer \
82   enigma2-plugin-extensions-webbouqueteditor \
83   enigma2-plugin-extensions-webinterface \
84   enigma2-plugin-systemplugins-crashlogautosubmit \
85   ${@base_less_or_equal('DREAMBOX_IMAGE_SIZE', 64, '', 'enigma2-plugin-systemplugins-minidlnasetup', d)} \
86   enigma2-plugin-systemplugins-positionersetup \
87   enigma2-plugin-systemplugins-satfinder \
88   enigma2-plugin-systemplugins-skinselector \
89   ${@base_contains('DREAMBOX_FEATURES', 'dvd', 'task-opendreambox-cdplayer', '', d)} \
90   ${@base_contains('DREAMBOX_FEATURES', 'dvd', 'enigma2-plugin-extensions-dvdburn', '', d)} \
91   ${@base_contains('DREAMBOX_FEATURES', 'dvd', 'task-opendreambox-dvdplayer', '', d)} \
92   ${@base_contains('MACHINE_FEATURES', 'modem', 'task-opendreambox-modem', '', d)} \
93   ${@base_contains('MACHINE_FEATURES', 'wifi', 'task-opendreambox-wlan', '', d)} \
94 "