# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" inherit eutils git-r3 cmake-utils EGIT_REPO_URI="git://github.com/xbmc/xbmc.git" DESCRIPTION="Kodi is a free and open source media-player and entertainment hub" HOMEPAGE="http://kodi.tv/ http://kodi.wiki/" LICENSE="GPL-2" SLOT="0" IUSE="" IUSE+=" cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 cpu_flags_x86_avx" COMMON_DEPEND=" app-arch/bzip2 app-arch/unzip app-arch/zip app-i18n/enca dev-libs/boost dev-libs/expat dev-libs/fribidi dev-libs/libcdio[-minimal] dev-libs/libpcre[cxx] dev-libs/libxml2 dev-libs/libxslt >=dev-libs/lzo-2.04 dev-libs/tinyxml[stl] dev-libs/yajl dev-libs/libfmt dev-python/simplejson media-fonts/corefonts media-fonts/roboto media-libs/flac media-libs/fontconfig media-libs/freetype media-libs/jasper media-libs/jbigkit >=media-libs/libass-0.9.7 media-libs/libmad media-libs/libmodplug media-libs/libmpeg2 media-libs/libogg media-libs/libpng media-libs/libsamplerate >=media-libs/taglib-1.8 media-libs/libvorbis media-libs/tiff media-sound/wavpack >=media-video/ffmpeg-2.6:=[encode] net-misc/curl dev-libs/rapidjson sys-libs/zlib virtual/jpeg " RDEPEND="${COMMON_DEPEND} !media-tv/xbmc " DEPEND="${COMMON_DEPEND} virtual/jre dev-libs/libcrossguid media-libs/dcadec app-arch/xz-utils dev-lang/swig dev-util/gperf dev-util/cmake " pkg_setup() { python-single-r1_pkg_setup } src_unpack() { git-r3_src_unpack } src_prepare() { epatch_user #293109 } src_configure() { local mycmakeargs=( DWERROR=OFF DBUILD_TESTING=false ) cmake-utils_src_configure } src_compile() { cmake-utils_src_compile } src_install() { cmake-utils_src_install }