package/kodi: bump version to 16.0-Jarvis
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 20 Feb 2016 22:09:11 +0000 (23:09 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Feb 2016 22:44:22 +0000 (23:44 +0100)
Add two new hard dependencies:

- libdcadec
https://github.com/xbmc/xbmc/commit/0997117a659a09e7b1c5bcb110f3526ea16698be

- libcrossguid
https://github.com/xbmc/xbmc/commit/6f8171f53992fc2eaabf71f6fa47ebed1da0d43d

Kodi moved to C++11 so we need gcc >= 4.7:
https://github.com/xbmc/xbmc/pull/6412

wavpack support was removed in favour of ffmpeg:
https://github.com/xbmc/xbmc/commit/7916902c9e6f7a523265594f3ad7f921f93f1cd4

Enabled giflib support by default.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/kodi/0004-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch
package/kodi/Config.in
package/kodi/kodi.hash
package/kodi/kodi.mk

index 179cf4732c883c5facf46a5ae7c014966f7e4426..07719679dbaf0936a80cd1bcaad61698be5d3623 100644 (file)
@@ -145,6 +145,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2016.05"
 
+config BR2_PACKAGE_KODI_WAVPACK
+       bool "wavpack"
+       select BR2_LEGACY
+       help
+         wavpack support was removed in favour of ffmpeg:
+         https://github.com/xbmc/xbmc/commit/7916902c9e6f7a523265594f3ad7f921f93f1cd4
+
 config BR2_PACKAGE_KODI_RSXS
        bool "rsxs support in Kodi was moved to an addon"
        select BR2_LEGACY
index 641525cafc26e5d2f442b74a0eeeb22bb2f39ccb..2678a7839e0bbd196bdb8b3a8b89b09971a48ba0 100644 (file)
@@ -17,14 +17,17 @@ diff --git a/project/cmake/kodi-config.cmake.in b/project/cmake/kodi-config.cmak
 index 76626ec..ffb8e1d 100644
 --- a/project/cmake/kodi-config.cmake.in
 +++ b/project/cmake/kodi-config.cmake.in
-@@ -4,12 +4,12 @@ SET(APP_NAME_UC @APP_NAME_UC@)
- SET(APP_VERSION_MAJOR @APP_VERSION_MAJOR@)
- SET(APP_VERSION_MINOR @APP_VERSION_MINOR@)
- SET(@APP_NAME_UC@_PREFIX @APP_PREFIX@)
--SET(@APP_NAME_UC@_INCLUDE_DIR @APP_INCLUDE_DIR@)
--SET(@APP_NAME_UC@_LIB_DIR @APP_LIB_DIR@)
-+SET(@APP_NAME_UC@_INCLUDE_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_INCLUDE_DIR@)
-+SET(@APP_NAME_UC@_LIB_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_LIB_DIR@)
+@@ -7,15 +7,15 @@
+   SET(@APP_NAME_UC@_PREFIX @APP_PREFIX@)
+ ENDIF()
+ IF(NOT @APP_NAME_UC@_INCLUDE_DIR)
+-  SET(@APP_NAME_UC@_INCLUDE_DIR @APP_INCLUDE_DIR@)
++  SET(@APP_NAME_UC@_INCLUDE_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_INCLUDE_DIR@)
+ ENDIF()
+ IF(NOT @APP_NAME_UC@_LIB_DIR)
+-  SET(@APP_NAME_UC@_LIB_DIR @APP_LIB_DIR@)
++  SET(@APP_NAME_UC@_LIB_DIR ${CMAKE_FIND_ROOT_PATH}/@APP_LIB_DIR@)
+ ENDIF()
  IF(NOT WIN32)
    SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} @CXX11_SWITCH@")
  ENDIF()
@@ -32,7 +35,7 @@ index 76626ec..ffb8e1d 100644
 +LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_FIND_ROOT_PATH}/@APP_LIB_DIR@)
  ADD_DEFINITIONS(@ARCH_DEFINES@ -DBUILD_KODI_ADDON)
  
- include(addon-helpers)
+ if(NOT CORE_SYSTEM_NAME)
 -- 
 2.5.0
 
index af5e40b3f10ecb48e298108088bc38eccbb3b7a3..09bd0cd4adaf334530eab89385ed455602550ec3 100644 (file)
@@ -2,10 +2,11 @@ config BR2_PACKAGE_KODI_ARCH_SUPPORTS
        bool
        default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) && BR2_PACKAGE_BOOST_ARCH_SUPPORTS
 
-comment "kodi needs a toolchain w/ C++, threads, wchar, dynamic library"
+comment "kodi needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 4.7"
        depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
-               || !BR2_USE_WCHAR || BR2_STATIC_LIBS
+               || !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+               || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
        depends on BR2_USE_MMU
 
 config BR2_PACKAGE_KODI_EGL_GLES
@@ -42,11 +43,14 @@ menuconfig BR2_PACKAGE_KODI
        select BR2_PACKAGE_FFMPEG_SWSCALE
        select BR2_PACKAGE_FONTCONFIG
        select BR2_PACKAGE_FREETYPE
+       select BR2_PACKAGE_GIFLIB
        select BR2_PACKAGE_JASPER
        select BR2_PACKAGE_JPEG
        select BR2_PACKAGE_LIBASS
        select BR2_PACKAGE_LIBCDIO
+       select BR2_PACKAGE_LIBCROSSGUID
        select BR2_PACKAGE_LIBCURL
+       select BR2_PACKAGE_LIBDCADEC
        select BR2_PACKAGE_LIBFRIBIDI
        select BR2_PACKAGE_LIBGLEW if BR2_PACKAGE_KODI_GL
        select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_KODI_GL
@@ -86,6 +90,7 @@ menuconfig BR2_PACKAGE_KODI
        select BR2_PACKAGE_ZLIB
        select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC # runtime UTF conversion support
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_PACKAGE_KODI_EGL_GLES || BR2_PACKAGE_KODI_GL
        depends on BR2_USE_MMU # python
@@ -138,15 +143,13 @@ config BR2_PACKAGE_KODI_LIBCEC
        bool "hdmi cec"
        depends on !BR2_STATIC_LIBS # libcec
        depends on BR2_PACKAGE_HAS_UDEV
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # libcec
        select BR2_PACKAGE_LIBCEC
        help
          Enable CEC (Consumer Electronics Control) support.
          Select this if you want Kodi to support HDMI CEC.
 
 comment "hdmi cec support needs udev /dev management and a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS || !BR2_PACKAGE_HAS_UDEV || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+       depends on BR2_STATIC_LIBS || !BR2_PACKAGE_HAS_UDEV
 
 config BR2_PACKAGE_KODI_LIRC
        bool "lirc"
@@ -230,13 +233,6 @@ config BR2_PACKAGE_KODI_LIBVA
 comment "libva support needs a toolchain w/ dynamic library"
        depends on BR2_STATIC_LIBS
 
-config BR2_PACKAGE_KODI_WAVPACK
-       bool "wavpack"
-       select BR2_PACKAGE_WAVPACK
-       help
-         Enable WAV input support.
-         Select this if you want to play back WV files.
-
 config BR2_PACKAGE_KODI_OPTICALDRIVE
        bool
 
index 14af9afd16cbbdb9ae6ab4a555aff493507296c0..229446b1ad896336b824be9247f8fbd8bd12f6b3 100644 (file)
@@ -1,2 +1,2 @@
 # Locally computed
-sha256 dd8aeb942e6de5d1488e243e1346cff3f6597e21b5131a3ba72ff5cc82037110        kodi-15.2-Isengard.tar.gz
+sha256 0421ea1337cdee674f8a36d995f54152b5ddc4100e53410b3aeeb3b3f7d53946        kodi-16.0-Jarvis.tar.gz
index ef3f1741c14f3f77b6f5c3e4ee8bf8c18c5973a2..94a8cd8a62125a368aa1aacd2291087cef3d0ba2 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-KODI_VERSION = 15.2-Isengard
+KODI_VERSION = 16.0-Jarvis
 KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION))
 KODI_LICENSE = GPLv2
 KODI_LICENSE_FILES = LICENSE.GPL
@@ -12,8 +12,8 @@ KODI_LICENSE_FILES = LICENSE.GPL
 KODI_INSTALL_STAGING = YES
 KODI_DEPENDENCIES = host-gawk host-gettext host-gperf host-zip host-giflib \
        host-libjpeg host-lzo host-nasm host-libpng host-swig
-KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper jpeg \
-       libass libcdio libcurl libfribidi libgcrypt libmpeg2 \
+KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype giflib jasper jpeg \
+       libass libcdio libcrossguid libcurl libdcadec libfribidi libgcrypt libmpeg2 \
        libogg libplist libpng libsamplerate libsquish libvorbis libxml2 \
        libxslt lzo ncurses openssl pcre python readline sqlite taglib tiff \
        tinyxml yajl zlib
@@ -30,12 +30,9 @@ KODI_CONF_ENV = \
 
 KODI_CONF_OPTS +=  \
        --with-ffmpeg=shared \
-       --disable-goom \
        --disable-joystick \
        --disable-openmax \
-       --disable-projectm \
        --disable-pulse \
-       --disable-rsxs \
        --disable-vdpau \
        --disable-vtbdecoder \
        --enable-optimizations
@@ -178,10 +175,6 @@ else
 KODI_CONF_OPTS += --disable-lirc
 endif
 
-ifeq ($(BR2_PACKAGE_KODI_WAVPACK),y)
-KODI_DEPENDENCIES += wavpack
-endif
-
 ifeq ($(BR2_PACKAGE_KODI_LIBTHEORA),y)
 KODI_DEPENDENCIES += libtheora
 endif