Lines 8-14
EAPI="5"
Link Here
|
8 |
PYTHON_COMPAT=( python2_7 ) |
8 |
PYTHON_COMPAT=( python2_7 ) |
9 |
PYTHON_REQ_USE="sqlite" |
9 |
PYTHON_REQ_USE="sqlite" |
10 |
|
10 |
|
11 |
inherit eutils linux-info python-single-r1 multiprocessing autotools toolchain-funcs |
11 |
inherit eutils linux-info python-single-r1 multiprocessing autotools toolchain-funcs flag-o-matic |
12 |
|
12 |
|
13 |
CODENAME="Jarvis" |
13 |
CODENAME="Jarvis" |
14 |
case ${PV} in |
14 |
case ${PV} in |
Lines 22-28
case ${PV} in
Link Here
|
22 |
SRC_URI="http://mirrors.kodi.tv/releases/source/${MY_PV}-${CODENAME}.tar.gz -> ${P}.tar.gz |
22 |
SRC_URI="http://mirrors.kodi.tv/releases/source/${MY_PV}-${CODENAME}.tar.gz -> ${P}.tar.gz |
23 |
https://github.com/xbmc/xbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz |
23 |
https://github.com/xbmc/xbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz |
24 |
!java? ( http://mirrors.kodi.tv/releases/source/${MY_P}-generated-addons.tar.xz )" |
24 |
!java? ( http://mirrors.kodi.tv/releases/source/${MY_P}-generated-addons.tar.xz )" |
25 |
KEYWORDS="~amd64 ~x86" |
25 |
KEYWORDS="~amd64 ~arm ~x86" |
26 |
|
26 |
|
27 |
S=${WORKDIR}/xbmc-${PV}-${CODENAME} |
27 |
S=${WORKDIR}/xbmc-${PV}-${CODENAME} |
28 |
;; |
28 |
;; |
Lines 33-39
HOMEPAGE="https://kodi.tv/ http://kodi.wiki/"
Link Here
|
33 |
|
33 |
|
34 |
LICENSE="GPL-2" |
34 |
LICENSE="GPL-2" |
35 |
SLOT="0" |
35 |
SLOT="0" |
36 |
IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug gles java joystick midi mysql nfs +opengl profile pulseaudio rtmp +samba sftp test +texturepacker udisks upnp upower +usb vaapi vdpau webserver +X" |
36 |
IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug gles java joystick midi mysql nfs omxplayer +opengl profile pulseaudio raspberry-pi rtmp +samba sftp test +texturepacker udisks upnp upower +usb vaapi vdpau webserver +X" |
37 |
# gles/vaapi: http://trac.kodi.tv/ticket/10552 #464306 |
37 |
# gles/vaapi: http://trac.kodi.tv/ticket/10552 #464306 |
38 |
REQUIRED_USE=" |
38 |
REQUIRED_USE=" |
39 |
|| ( gles opengl ) |
39 |
|| ( gles opengl ) |
Lines 106-112
COMMON_DEPEND="${PYTHON_DEPS}
Link Here
|
106 |
>=media-libs/glew-1.5.6 |
106 |
>=media-libs/glew-1.5.6 |
107 |
) |
107 |
) |
108 |
gles? ( |
108 |
gles? ( |
109 |
media-libs/mesa[gles2] |
109 |
raspberry-pi? ( |
|
|
110 |
media-libs/raspberrypi-userland |
111 |
) |
112 |
!raspberry-pi? ( |
113 |
media-libs/mesa[gles2] |
114 |
) |
110 |
) |
115 |
) |
111 |
vaapi? ( x11-libs/libva[opengl] ) |
116 |
vaapi? ( x11-libs/libva[opengl] ) |
112 |
vdpau? ( |
117 |
vdpau? ( |
Lines 119-124
COMMON_DEPEND="${PYTHON_DEPS}
Link Here
|
119 |
x11-libs/libXinerama |
124 |
x11-libs/libXinerama |
120 |
x11-libs/libXrandr |
125 |
x11-libs/libXrandr |
121 |
x11-libs/libXrender |
126 |
x11-libs/libXrender |
|
|
127 |
) |
128 |
raspberry-pi? ( |
129 |
media-libs/raspberrypi-userland |
130 |
sys-apps/lsb-release |
131 |
) |
132 |
omxplayer? ( |
133 |
media-video/raspberrypi-omxplayer |
122 |
)" |
134 |
)" |
123 |
RDEPEND="${COMMON_DEPEND} |
135 |
RDEPEND="${COMMON_DEPEND} |
124 |
!media-tv/xbmc |
136 |
!media-tv/xbmc |
Lines 208-218
src_configure() {
Link Here
|
208 |
# Requiring java is asine #434662 |
220 |
# Requiring java is asine #434662 |
209 |
[[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true)) |
221 |
[[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true)) |
210 |
|
222 |
|
|
|
223 |
if use raspberry-pi ; then |
224 |
append-ldflags -L/opt/vc/lib |
225 |
append-cppflags -I/opt/vc/include |
226 |
fi |
227 |
|
211 |
econf \ |
228 |
econf \ |
212 |
--docdir=/usr/share/doc/${PF} \ |
229 |
--docdir=/usr/share/doc/${PF} \ |
213 |
--disable-ccache \ |
230 |
--disable-ccache \ |
214 |
--disable-optimizations \ |
231 |
--disable-optimizations \ |
215 |
--with-ffmpeg=shared \ |
232 |
--with-ffmpeg=shared \ |
|
|
233 |
$(use_with raspberry-pi platform raspberry-pi) \ |
216 |
$(use_enable alsa) \ |
234 |
$(use_enable alsa) \ |
217 |
$(use_enable airplay) \ |
235 |
$(use_enable airplay) \ |
218 |
$(use_enable avahi) \ |
236 |
$(use_enable avahi) \ |
Lines 227-232
src_configure() {
Link Here
|
227 |
$(use_enable midi mid) \ |
245 |
$(use_enable midi mid) \ |
228 |
$(use_enable mysql) \ |
246 |
$(use_enable mysql) \ |
229 |
$(use_enable nfs) \ |
247 |
$(use_enable nfs) \ |
|
|
248 |
$(use_enable omxplayer player omxplayer) \ |
230 |
$(use_enable opengl gl) \ |
249 |
$(use_enable opengl gl) \ |
231 |
$(use_enable profile profiling) \ |
250 |
$(use_enable profile profiling) \ |
232 |
$(use_enable pulseaudio pulse) \ |
251 |
$(use_enable pulseaudio pulse) \ |