blob: 6cfec7ed7230c29c1cf364128e5c472cd15e473a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
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 +internal-ffmpeg"
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-3:=[encode] >=media-video/libav-12:=[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_use_enable internal-ffmpeg INTERNAL_FFMPEG)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
}
|