Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 545002 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-tv/kodi/kodi-14.1.ebuild (-4 / +66 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2015 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-tv/kodi/kodi-14.1.ebuild,v 1.5 2015/03/26 21:58:27 tupone Exp $
3
# $Header: $
4
4
5
EAPI="5"
5
EAPI="5"
6
6
Lines 9-15 Link Here
9
PYTHON_COMPAT=( python{2_6,2_7} )
9
PYTHON_COMPAT=( python{2_6,2_7} )
10
PYTHON_REQ_USE="sqlite"
10
PYTHON_REQ_USE="sqlite"
11
11
12
inherit eutils python-single-r1 multiprocessing autotools
12
inherit eutils flag-o-matic python-single-r1 multiprocessing autotools
13
13
14
CODENAME="Helix"
14
CODENAME="Helix"
15
case ${PV} in
15
case ${PV} in
Lines 33-39 Link Here
33
33
34
LICENSE="GPL-2"
34
LICENSE="GPL-2"
35
SLOT="0"
35
SLOT="0"
36
IUSE="airplay avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba sdl sftp test udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
36
IUSE="airplay avahi bluetooth bluray caps cec css debug +fishbmc gles goom hdhomerun java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba sdl sftp test udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
37
REQUIRED_USE="
37
REQUIRED_USE="
38
	pvr? ( mysql )
38
	pvr? ( mysql )
39
	rsxs? ( X )
39
	rsxs? ( X )
Lines 71-76 Link Here
71
	>=media-libs/libass-0.9.7
71
	>=media-libs/libass-0.9.7
72
	bluray? ( media-libs/libbluray )
72
	bluray? ( media-libs/libbluray )
73
	css? ( media-libs/libdvdcss )
73
	css? ( media-libs/libdvdcss )
74
	media-libs/libdvdread[css?]
75
	hdhomerun? ( >=media-libs/libhdhomerun-20140121 )
74
	media-libs/libmad
76
	media-libs/libmad
75
	media-libs/libmodplug
77
	media-libs/libmodplug
76
	media-libs/libmpeg2
78
	media-libs/libmpeg2
Lines 86-91 Link Here
86
	media-libs/libvorbis
88
	media-libs/libvorbis
87
	media-libs/tiff
89
	media-libs/tiff
88
	pulseaudio? ( media-sound/pulseaudio )
90
	pulseaudio? ( media-sound/pulseaudio )
91
	media-sound/sidplay
89
	media-sound/wavpack
92
	media-sound/wavpack
90
	>=media-video/ffmpeg-2.4:=[encode]
93
	>=media-video/ffmpeg-2.4:=[encode]
91
	rtmp? ( media-video/rtmpdump )
94
	rtmp? ( media-video/rtmpdump )
Lines 97-102 Link Here
97
	samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
100
	samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
98
	bluetooth? ( net-wireless/bluez )
101
	bluetooth? ( net-wireless/bluez )
99
	sys-apps/dbus
102
	sys-apps/dbus
103
	sys-apps/lsb-release
100
	caps? ( sys-libs/libcap )
104
	caps? ( sys-libs/libcap )
101
	sys-libs/zlib
105
	sys-libs/zlib
102
	virtual/jpeg
106
	virtual/jpeg
Lines 151-159 Link Here
151
	epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
155
	epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
152
	epatch "${FILESDIR}"/${P}-no-arm-flags.patch #400617
156
	epatch "${FILESDIR}"/${P}-no-arm-flags.patch #400617
153
	epatch "${FILESDIR}"/${PN}-14.0-dvddemux-ffmpeg.patch #526992#36
157
	epatch "${FILESDIR}"/${PN}-14.0-dvddemux-ffmpeg.patch #526992#36
158
159
	# Patches snatched from Debian and Fedora
160
	epatch "${FILESDIR}"/${P}-privacy.patch
161
	epatch "${FILESDIR}"/${P}-use-external-libsidplay.patch
162
	epatch "${FILESDIR}"/${P}-use-external-libhdhomerun.patch
163
	epatch "${FILESDIR}"/${P}-disable-gtest.patch
164
	epatch "${FILESDIR}"/${P}-use-external-dvdread.patch
165
	epatch "${FILESDIR}"/${P}-use-external-jbig.patch
166
154
	# The mythtv patch touches configure.ac, so force a regen
167
	# The mythtv patch touches configure.ac, so force a regen
155
	rm -f configure
168
	rm -f configure
156
169
170
	# Snatched from Fedora
171
	if ! use hdhomerun; then
172
		sed -i configure.in -e '/hdhomerun/d'
173
		cd xbmc/filesystem
174
		rm HDHomeRunFile.cpp HDHomeRunFile.h
175
		rm HDHomeRunDirectory.cpp HDHomeRunDirectory.h
176
		sed -i Makefile.in -e '/HDHomeRunFile\.cpp/d'
177
		sed -i Makefile.in -e '/HDHomeRunDirectory\.cpp/d'
178
		sed -i DirectoryFactory.cpp -e '/HomeRun/d'
179
		sed -i FileFactory.cpp -e '/HomeRun/d'
180
		cd "${S}"
181
	fi
182
183
	# Snatched from Debian & Fedora - remove bundled libraries, forces
184
	# build system to use external versions
185
	rm -r lib/afpfs-ng \
186
		lib/cximage-6.0/jasper \
187
		lib/cximage-6.0/jbig \
188
		lib/cximage-6.0/jpeg \
189
		lib/cximage-6.0/mng \
190
		lib/cximage-6.0/png \
191
		lib/cximage-6.0/tiff \
192
		lib/cximage-6.0/zlib \
193
		lib/enca \
194
		lib/gtest \
195
		lib/libUPnP/Neptune/ThirdParty/zlib-* \
196
		lib/libbluray \
197
		lib/libcec \
198
		lib/libhdhomerun \
199
		lib/libmicrohttpd \
200
		lib/libmodplug \
201
		lib/libmpeg2 \
202
		lib/librtmp \
203
		lib/libsidplay2 \
204
		lib/taglib \
205
		lib/win32 \
206
		project/Win32BuildSetup \
207
		xbmc/cores/dvdplayer/DVDCodecs/Video/libmpeg2
208
209
	for i in libdvdcss libdvdread includes
210
	do
211
		rm -r lib/libdvd/$i
212
	done
213
157
	# some dirs ship generated autotools, some dont
214
	# some dirs ship generated autotools, some dont
158
	multijob_init
215
	multijob_init
159
	local d
216
	local d
Lines 198-214 Link Here
198
	# Requiring java is asine #434662
255
	# Requiring java is asine #434662
199
	[[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
256
	[[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
200
257
258
	# Snatched from Fedora
259
	if use hdhomerun; then
260
		append-libs -lhdhomerun
261
	fi
262
201
	econf \
263
	econf \
202
		--docdir=/usr/share/doc/${PF} \
264
		--docdir=/usr/share/doc/${PF} \
203
		--disable-ccache \
265
		--disable-ccache \
204
		--disable-optimizations \
266
		--disable-optimizations \
205
		--with-ffmpeg=shared \
267
		--with-ffmpeg=shared \
268
		--disable-dvdcss \
206
		$(use_enable airplay) \
269
		$(use_enable airplay) \
207
		$(use_enable avahi) \
270
		$(use_enable avahi) \
208
		$(use_enable bluray libbluray) \
271
		$(use_enable bluray libbluray) \
209
		$(use_enable caps libcap) \
272
		$(use_enable caps libcap) \
210
		$(use_enable cec libcec) \
273
		$(use_enable cec libcec) \
211
		$(use_enable css dvdcss) \
212
		$(use_enable debug) \
274
		$(use_enable debug) \
213
		$(use_enable fishbmc) \
275
		$(use_enable fishbmc) \
214
		$(use_enable gles) \
276
		$(use_enable gles) \

Return to bug 545002