1 config BR2_PACKAGE_KODI_ARCH_SUPPORTS
3 default y if (BR2_arm || BR2_i386 || BR2_x86_64) && BR2_PACKAGE_BOOST_ARCH_SUPPORTS
6 comment "kodi needs a toolchain w/ C++, threads, wchar"
7 depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS
8 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
11 config BR2_PACKAGE_KODI_EGL_GLES
14 depends on BR2_PACKAGE_HAS_LIBEGL
15 depends on BR2_PACKAGE_HAS_LIBGLES
16 depends on !BR2_PACKAGE_KODI_GL # prefer GL if available
18 config BR2_PACKAGE_KODI_GL
21 depends on BR2_PACKAGE_HAS_LIBGL
22 depends on !BR2_arm # kodi needs egl/gles on arm
24 comment "kodi needs an OpenGL or an openGL ES and EGL backend"
25 depends on BR2_i386 || BR2_x86_64
26 depends on !BR2_PACKAGE_KODI_GL && !BR2_PACKAGE_KODI_EGL_GLES
28 comment "kodi requires an OpenGL ES and EGL backend"
30 depends on !BR2_PACKAGE_KODI_EGL_GLES
32 menuconfig BR2_PACKAGE_KODI
34 select BR2_NEEDS_HOST_JAVA
35 select BR2_PACKAGE_BOOST
36 select BR2_PACKAGE_BOOST_THREAD
37 select BR2_PACKAGE_BZIP2
38 select BR2_PACKAGE_EXPAT
39 select BR2_PACKAGE_FFMPEG
40 select BR2_PACKAGE_FFMPEG_GPL
41 select BR2_PACKAGE_FFMPEG_POSTPROC # postproc depends on GPL
42 select BR2_PACKAGE_FFMPEG_SWSCALE
43 select BR2_PACKAGE_FONTCONFIG
44 select BR2_PACKAGE_FREETYPE
45 select BR2_PACKAGE_JASPER
46 select BR2_PACKAGE_JPEG
47 select BR2_PACKAGE_LIBASS
48 select BR2_PACKAGE_LIBCDIO
49 select BR2_PACKAGE_LIBCURL
50 select BR2_PACKAGE_LIBFRIBIDI
51 select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_KODI_GL
52 select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_KODI_GL
53 select BR2_PACKAGE_LIBGCRYPT
54 select BR2_PACKAGE_LIBID3TAG
55 select BR2_PACKAGE_LIBMAD
56 select BR2_PACKAGE_LIBMODPLUG
57 select BR2_PACKAGE_LIBMPEG2
58 select BR2_PACKAGE_LIBOGG
59 select BR2_PACKAGE_LIBPLIST
60 select BR2_PACKAGE_LIBPNG
61 select BR2_PACKAGE_LIBSAMPLERATE
62 select BR2_PACKAGE_LIBVORBIS
63 select BR2_PACKAGE_LIBXML2
64 select BR2_PACKAGE_LIBXSLT
65 select BR2_PACKAGE_LZO
66 select BR2_PACKAGE_NCURSES
67 select BR2_PACKAGE_OPENSSL
68 select BR2_PACKAGE_PCRE
69 select BR2_PACKAGE_PCRE_UCP
70 select BR2_PACKAGE_PYTHON
71 select BR2_PACKAGE_PYTHON_BSDDB
72 select BR2_PACKAGE_PYTHON_BZIP2
73 select BR2_PACKAGE_PYTHON_CURSES
74 select BR2_PACKAGE_PYTHON_PYEXPAT
75 select BR2_PACKAGE_PYTHON_READLINE
76 select BR2_PACKAGE_PYTHON_SQLITE
77 select BR2_PACKAGE_PYTHON_SSL
78 select BR2_PACKAGE_PYTHON_UNICODEDATA
79 select BR2_PACKAGE_PYTHON_ZLIB
80 select BR2_PACKAGE_READLINE
81 select BR2_PACKAGE_SDL if BR2_PACKAGE_KODI_GL
82 select BR2_PACKAGE_SDL_X11 if BR2_PACKAGE_KODI_GL
83 select BR2_PACKAGE_SDL_IMAGE if BR2_PACKAGE_KODI_GL
84 select BR2_PACKAGE_SQLITE
85 select BR2_PACKAGE_TAGLIB
86 select BR2_PACKAGE_TIFF
87 select BR2_PACKAGE_TINYXML
88 select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_KODI_GL
89 select BR2_PACKAGE_XLIB_XMU if BR2_PACKAGE_KODI_GL # needed by rsxs screensaver
90 select BR2_PACKAGE_XLIB_XRANDR if BR2_PACKAGE_KODI_GL
91 select BR2_PACKAGE_XLIB_XT if BR2_PACKAGE_KODI_GL # needed by rsxs screensaver
92 select BR2_PACKAGE_YAJL
93 select BR2_PACKAGE_ZLIB
94 select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC # runtime UTF conversion support
95 depends on BR2_INSTALL_LIBSTDCPP
96 depends on BR2_TOOLCHAIN_HAS_THREADS
97 depends on BR2_PACKAGE_KODI_EGL_GLES || BR2_PACKAGE_KODI_GL
98 depends on BR2_USE_MMU # python
99 depends on BR2_USE_WCHAR
100 depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS
102 Kodi is an award-winning free and open source (GPL) software
103 media player and entertainment hub for digital media.
109 config BR2_PACKAGE_KODI_ALSA_LIB
111 select BR2_PACKAGE_ALSA_LIB
115 config BR2_PACKAGE_KODI_AVAHI
117 depends on !BR2_STATIC_LIBS # avahi
118 select BR2_PACKAGE_AVAHI
119 select BR2_PACKAGE_AVAHI_DAEMON
121 Enable Avahi support.
122 Select this if you want Kodi to support Bonjour protocol.
124 config BR2_PACKAGE_KODI_DBUS
126 select BR2_PACKAGE_DBUS
130 config BR2_PACKAGE_KODI_LIBBLURAY
132 select BR2_PACKAGE_LIBBLURAY
133 depends on !BR2_STATIC_LIBS
135 Enable Blu-ray input support.
136 Select this if you want to play back Blu-ray content.
138 comment "libbluray support needs a toolchain w/ dynamic library"
139 depends on BR2_STATIC_LIBS
141 config BR2_PACKAGE_KODI_GOOM
142 bool "goom screensaver"
143 depends on BR2_PACKAGE_KODI_GL
145 Enable goom screensaver
147 comment "goom needs an OpenGL backend"
148 depends on !BR2_PACKAGE_KODI_GL
150 config BR2_PACKAGE_KODI_RSXS
151 bool "rsxs screensaver"
152 depends on BR2_PACKAGE_KODI_GL
154 Enable goom screensaver
156 comment "rsxs needs an OpenGL backend"
157 depends on !BR2_PACKAGE_KODI_GL
159 config BR2_PACKAGE_KODI_LIBCEC
161 depends on !BR2_STATIC_LIBS # libcec
162 depends on BR2_PACKAGE_HAS_UDEV
163 select BR2_PACKAGE_LIBCEC
165 Enable CEC (Consumer Electronics Control) support.
166 Select this if you want Kodi to support HDMI CEC.
168 comment "hdmi cec support needs udev /dev management and a toolchain w/ dynamic library"
169 depends on BR2_STATIC_LIBS || !BR2_PACKAGE_HAS_UDEV
171 config BR2_PACKAGE_KODI_LIBMICROHTTPD
173 select BR2_PACKAGE_LIBMICROHTTPD
175 Enable webserver feature
177 config BR2_PACKAGE_KODI_LIBNFS
179 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
180 select BR2_PACKAGE_LIBNFS
182 Enable NFS server support.
184 comment "nfs support needs a toolchain w/ RPC support"
185 depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
187 config BR2_PACKAGE_KODI_RTMPDUMP
189 select BR2_PACKAGE_RTMPDUMP
191 Enable RTMP input support.
192 Select this if you want to play back rtmp stream.
194 config BR2_PACKAGE_KODI_LIBSHAIRPLAY
196 depends on !BR2_STATIC_LIBS # libshairplay -> avahi
197 select BR2_PACKAGE_LIBSHAIRPLAY
199 Enable Shairport support.
200 Select this if you want to stream content from an Apple device.
202 comment "shairport support needs a toolchain w/ dynamic library"
203 depends on BR2_STATIC_LIBS
205 comment "samba support needs an (e)glibc toolchain"
206 depends on !BR2_TOOLCHAIN_USES_GLIBC
208 config BR2_PACKAGE_KODI_LIBSMBCLIENT
210 depends on BR2_TOOLCHAIN_USES_GLIBC
211 select BR2_PACKAGE_SAMBA4
215 config BR2_PACKAGE_KODI_LIBTHEORA
217 select BR2_PACKAGE_LIBTHEORA
219 Enable Theora input support.
220 Select this if you want to play back OGG/OGV files (Video).
222 config BR2_PACKAGE_KODI_LIBUSB
224 select BR2_PACKAGE_LIBUSB
225 select BR2_PACKAGE_LIBUSB_COMPAT
227 Enable libusb support.
229 config BR2_PACKAGE_KODI_LIBVA
231 select BR2_PACKAGE_LIBVA
232 depends on !BR2_STATIC_LIBS
234 Enable libva support.
236 comment "libva support needs toolchain w/ dynamic library"
237 depends on BR2_STATIC_LIBS
239 config BR2_PACKAGE_KODI_WAVPACK
241 select BR2_PACKAGE_WAVPACK
243 Enable WAV input support.
244 Select this if you want to play back WV files.
246 config BR2_PACKAGE_KODI_OPTICALDRIVE
249 Enable support for optical drives
251 if BR2_PACKAGE_KODI_OPTICALDRIVE
253 comment "Kodi audioencoder addons"
255 source "package/kodi-audioencoder-flac/Config.in"
256 source "package/kodi-audioencoder-lame/Config.in"
257 source "package/kodi-audioencoder-vorbis/Config.in"
258 source "package/kodi-audioencoder-wav/Config.in"
260 endif # BR2_PACKAGE_KODI_OPTICALDRIVE
262 comment "Kodi PVR addons"
264 source "package/kodi-addon-xvdr/Config.in"
265 source "package/kodi-pvr-addons/Config.in"
267 endif # BR2_PACKAGE_KODI