blob: 73b8874b7752b85c425155788aff2252e1d12e2a (
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
|
# 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
}
|