media-tv/kodi: add kernel config checks #544020
authorhal <laservader@gmx.net>
Tue, 25 Aug 2015 16:44:12 +0000 (12:44 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 25 Aug 2015 16:45:07 +0000 (12:45 -0400)
media-tv/kodi/kodi-9999.ebuild

index 097cfe9b5c6f7b763975ecfaf5345ce45edcb4d5..ae8f8bfb619fcd5b18aba49b03091959e0a86e43 100644 (file)
@@ -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
 }