From ebdf4c2950f6b8eb2c1e4601d44acf5764878db9 Mon Sep 17 00:00:00 2001 From: hal Date: Tue, 25 Aug 2015 12:44:12 -0400 Subject: [PATCH] media-tv/kodi: add kernel config checks #544020 --- media-tv/kodi/kodi-9999.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 097cfe9b5c6f..ae8f8bfb619f 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -9,7 +9,7 @@ EAPI="5" PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE="sqlite" -inherit eutils python-single-r1 multiprocessing autotools +inherit eutils linux-info python-single-r1 multiprocessing autotools CODENAME="Helix" case ${PV} in @@ -134,7 +134,14 @@ DEPEND="${COMMON_DEPEND} # generated addons package. #488118 [[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre" +CONFIG_CHECK="~IP_MULTICAST" +ERROR_IP_MULTICAST=" +In some cases Kodi needs to access multicast addresses. +Please consider enabling IP_MULTICAST under Networking options. +" + pkg_setup() { + check_extra_config python-single-r1_pkg_setup } -- 2.26.2