1 |
vapier 13/05/23 21:23:51 |
2 |
|
3 |
Modified: xbmc-9999.ebuild ChangeLog |
4 |
Added: xbmc-12.2.ebuild |
5 |
Log: |
6 |
Version bump #468518 by Anthony Ryan. |
7 |
|
8 |
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
9 |
|
10 |
Revision Changes Path |
11 |
1.144 media-tv/xbmc/xbmc-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild?rev=1.144&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild?rev=1.144&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild?r1=1.143&r2=1.144 |
16 |
|
17 |
Index: xbmc-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v |
20 |
retrieving revision 1.143 |
21 |
retrieving revision 1.144 |
22 |
diff -u -r1.143 -r1.144 |
23 |
--- xbmc-9999.ebuild 23 Apr 2013 01:33:23 -0000 1.143 |
24 |
+++ xbmc-9999.ebuild 23 May 2013 21:23:51 -0000 1.144 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.143 2013/04/23 01:33:23 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.144 2013/05/23 21:23:51 vapier Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -50,7 +50,6 @@ |
34 |
app-arch/zip |
35 |
app-i18n/enca |
36 |
airplay? ( app-pda/libplist ) |
37 |
- >=dev-lang/python-2.4 |
38 |
dev-libs/boost |
39 |
dev-libs/fribidi |
40 |
dev-libs/libcdio[-minimal] |
41 |
|
42 |
|
43 |
|
44 |
1.183 media-tv/xbmc/ChangeLog |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/ChangeLog?rev=1.183&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/ChangeLog?rev=1.183&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/ChangeLog?r1=1.182&r2=1.183 |
49 |
|
50 |
Index: ChangeLog |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v |
53 |
retrieving revision 1.182 |
54 |
retrieving revision 1.183 |
55 |
diff -u -r1.182 -r1.183 |
56 |
--- ChangeLog 24 Apr 2013 16:18:37 -0000 1.182 |
57 |
+++ ChangeLog 23 May 2013 21:23:51 -0000 1.183 |
58 |
@@ -1,6 +1,12 @@ |
59 |
# ChangeLog for media-tv/xbmc |
60 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.182 2013/04/24 16:18:37 vapier Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/ChangeLog,v 1.183 2013/05/23 21:23:51 vapier Exp $ |
63 |
+ |
64 |
+*xbmc-12.2 (23 May 2013) |
65 |
+ |
66 |
+ 23 May 2013; Mike Frysinger <vapier@g.o> +xbmc-12.2.ebuild, |
67 |
+ xbmc-9999.ebuild: |
68 |
+ Version bump #468518 by Anthony Ryan. |
69 |
|
70 |
24 Apr 2013; Mike Frysinger <vapier@g.o> |
71 |
files/xbmc-13.0-system-projectm.patch: |
72 |
|
73 |
|
74 |
|
75 |
1.1 media-tv/xbmc/xbmc-12.2.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/xbmc-12.2.ebuild?rev=1.1&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/xbmc-12.2.ebuild?rev=1.1&content-type=text/plain |
79 |
|
80 |
Index: xbmc-12.2.ebuild |
81 |
=================================================================== |
82 |
# Copyright 1999-2013 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-12.2.ebuild,v 1.1 2013/05/23 21:23:51 vapier Exp $ |
85 |
|
86 |
EAPI=5 |
87 |
|
88 |
# Does not work with py3 here |
89 |
# It might work with py:2.5 but I didn't test that |
90 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
91 |
PYTHON_REQ_USE="sqlite" |
92 |
|
93 |
inherit eutils python-single-r1 multiprocessing autotools |
94 |
|
95 |
case ${PV} in |
96 |
9999) |
97 |
EGIT_REPO_URI="git://github.com/xbmc/xbmc.git" |
98 |
inherit git-2 |
99 |
SRC_URI="!java? ( mirror://gentoo/${P}-20121224-generated-addons.tar.xz )" |
100 |
;; |
101 |
*_alpha*|*_beta*|*_rc*) |
102 |
MY_PV="Frodo_${PV#*_}" |
103 |
MY_P="${PN}-${MY_PV}" |
104 |
SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz |
105 |
!java? ( mirror://gentoo/${P}-generated-addons.tar.xz )" |
106 |
KEYWORDS="~amd64 ~x86" |
107 |
;; |
108 |
*) |
109 |
MY_P=${P/_/-*_} |
110 |
SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz" |
111 |
KEYWORDS="~amd64 ~x86" |
112 |
;; |
113 |
esac |
114 |
|
115 |
DESCRIPTION="XBMC is a free and open source media-player and entertainment hub" |
116 |
HOMEPAGE="http://xbmc.org/" |
117 |
|
118 |
LICENSE="GPL-2" |
119 |
SLOT="0" |
120 |
IUSE="airplay alsa altivec avahi bluetooth bluray caps cec css debug gles goom java joystick midi mysql neon nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba +sdl sse sse2 sftp udev upnp +usb vaapi vdpau webserver +X +xrandr" |
121 |
REQUIRED_USE=" |
122 |
pvr? ( mysql ) |
123 |
rsxs? ( X ) |
124 |
X? ( sdl ) |
125 |
xrandr? ( X ) |
126 |
" |
127 |
|
128 |
COMMON_DEPEND="${PYTHON_DEPS} |
129 |
app-arch/bzip2 |
130 |
app-arch/unzip |
131 |
app-arch/zip |
132 |
app-i18n/enca |
133 |
airplay? ( app-pda/libplist ) |
134 |
dev-libs/boost |
135 |
dev-libs/fribidi |
136 |
dev-libs/libcdio[-minimal] |
137 |
cec? ( >=dev-libs/libcec-2.1 ) |
138 |
dev-libs/libpcre[cxx] |
139 |
>=dev-libs/lzo-2.04 |
140 |
dev-libs/tinyxml[stl] |
141 |
dev-libs/yajl |
142 |
dev-python/simplejson[${PYTHON_USEDEP}] |
143 |
media-libs/alsa-lib |
144 |
media-libs/flac |
145 |
media-libs/fontconfig |
146 |
media-libs/freetype |
147 |
>=media-libs/glew-1.5.6 |
148 |
media-libs/jasper |
149 |
media-libs/jbigkit |
150 |
>=media-libs/libass-0.9.7 |
151 |
bluray? ( media-libs/libbluray ) |
152 |
css? ( media-libs/libdvdcss ) |
153 |
media-libs/libmad |
154 |
media-libs/libmodplug |
155 |
media-libs/libmpeg2 |
156 |
media-libs/libogg |
157 |
media-libs/libpng |
158 |
projectm? ( media-libs/libprojectm ) |
159 |
media-libs/libsamplerate |
160 |
sdl? ( media-libs/libsdl[audio,opengl,video,X] ) |
161 |
alsa? ( media-libs/libsdl[alsa] ) |
162 |
>=media-libs/taglib-1.8 |
163 |
media-libs/libvorbis |
164 |
sdl? ( |
165 |
media-libs/sdl-gfx |
166 |
>=media-libs/sdl-image-1.2.10[gif,jpeg,png] |
167 |
media-libs/sdl-mixer |
168 |
media-libs/sdl-sound |
169 |
) |
170 |
media-libs/tiff |
171 |
pulseaudio? ( media-sound/pulseaudio ) |
172 |
media-sound/wavpack |
173 |
|| ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg ) |
174 |
>=virtual/ffmpeg-0.6[encode] |
175 |
rtmp? ( media-video/rtmpdump ) |
176 |
avahi? ( net-dns/avahi ) |
177 |
nfs? ( net-fs/libnfs ) |
178 |
webserver? ( net-libs/libmicrohttpd[messages] ) |
179 |
sftp? ( net-libs/libssh ) |
180 |
net-misc/curl |
181 |
samba? ( >=net-fs/samba-3.4.6[smbclient] ) |
182 |
bluetooth? ( net-wireless/bluez ) |
183 |
sys-apps/dbus |
184 |
caps? ( sys-libs/libcap ) |
185 |
sys-libs/zlib |
186 |
virtual/jpeg |
187 |
usb? ( virtual/libusb ) |
188 |
mysql? ( virtual/mysql ) |
189 |
opengl? ( |
190 |
virtual/glu |
191 |
virtual/opengl |
192 |
) |
193 |
gles? ( virtual/opengl ) |
194 |
vaapi? ( x11-libs/libva[opengl] ) |
195 |
vdpau? ( |
196 |
|| ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 ) |
197 |
virtual/ffmpeg[vdpau] |
198 |
) |
199 |
X? ( |
200 |
x11-apps/xdpyinfo |
201 |
x11-apps/mesa-progs |
202 |
x11-libs/libXinerama |
203 |
xrandr? ( x11-libs/libXrandr ) |
204 |
x11-libs/libXrender |
205 |
)" |
206 |
RDEPEND="${COMMON_DEPEND} |
207 |
udev? ( sys-fs/udisks:0 sys-power/upower )" |
208 |
DEPEND="${COMMON_DEPEND} |
209 |
app-arch/xz-utils |
210 |
dev-lang/swig |
211 |
dev-util/gperf |
212 |
X? ( x11-proto/xineramaproto ) |
213 |
dev-util/cmake |
214 |
x86? ( dev-lang/nasm ) |
215 |
java? ( virtual/jre )" |
216 |
|
217 |
S=${WORKDIR}/${MY_P} |
218 |
|
219 |
pkg_setup() { |
220 |
python-single-r1_pkg_setup |
221 |
} |
222 |
|
223 |
src_unpack() { |
224 |
[[ ${PV} == "9999" ]] && git-2_src_unpack || default |
225 |
} |
226 |
|
227 |
src_prepare() { |
228 |
epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch |
229 |
epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617 |
230 |
epatch "${FILESDIR}"/${PN}-12.0-system-projectm.patch |
231 |
# The mythtv patch touches configure.ac, so force a regen |
232 |
rm -f configure |
233 |
|
234 |
# some dirs ship generated autotools, some dont |
235 |
multijob_init |
236 |
local d |
237 |
for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do |
238 |
[[ -e ${d} ]] && continue |
239 |
pushd ${d/%configure/.} >/dev/null || die |
240 |
AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \ |
241 |
multijob_child_init eautoreconf |
242 |
popd >/dev/null |
243 |
done |
244 |
multijob_finish |
245 |
elibtoolize |
246 |
|
247 |
# Disable internal func checks as our USE/DEPEND |
248 |
# stuff handles this just fine already #408395 |
249 |
export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes |
250 |
|
251 |
local squish #290564 |
252 |
use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec" |
253 |
use sse && squish="-DSQUISH_USE_SSE=1 -msse" |
254 |
use sse2 && squish="-DSQUISH_USE_SSE=2 -msse2" |
255 |
sed -i \ |
256 |
-e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \ |
257 |
-e "1iCXXFLAGS += ${squish}" \ |
258 |
lib/libsquish/Makefile.in || die |
259 |
|
260 |
# Fix XBMC's final version string showing as "exported" |
261 |
# instead of the SVN revision number. |
262 |
export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported} |
263 |
|
264 |
# avoid long delays when powerkit isn't running #348580 |
265 |
sed -i \ |
266 |
-e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \ |
267 |
xbmc/linux/*.cpp || die |
268 |
|
269 |
epatch_user #293109 |
270 |
|
271 |
# Tweak autotool timestamps to avoid regeneration |
272 |
find . -type f -print0 | xargs -0 touch -r configure |
273 |
} |
274 |
|
275 |
src_configure() { |
276 |
# Disable documentation generation |
277 |
export ac_cv_path_LATEX=no |
278 |
# Avoid help2man |
279 |
export HELP2MAN=$(type -P help2man || echo true) |
280 |
# No configure flage for this #403561 |
281 |
export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth) |
282 |
# Requiring java is asine #434662 |
283 |
export ac_cv_path_JAVA_EXE=$(which $(usex java java true)) |
284 |
|
285 |
econf \ |
286 |
--docdir=/usr/share/doc/${PF} \ |
287 |
--disable-ccache \ |
288 |
--disable-optimizations \ |
289 |
--enable-external-libraries \ |
290 |
--enable-gl \ |
291 |
$(use_enable airplay) \ |
292 |
$(use_enable avahi) \ |
293 |
$(use_enable bluray libbluray) \ |
294 |
$(use_enable caps libcap) \ |
295 |
$(use_enable cec libcec) \ |
296 |
$(use_enable css dvdcss) \ |
297 |
$(use_enable debug) \ |
298 |
$(use_enable gles) \ |
299 |
$(use_enable goom) \ |
300 |
--disable-hal \ |
301 |
$(use_enable joystick) \ |
302 |
$(use_enable midi mid) \ |
303 |
$(use_enable mysql) \ |
304 |
$(use_enable neon) \ |
305 |
$(use_enable nfs) \ |
306 |
$(use_enable opengl gl) \ |
307 |
$(use_enable profile profiling) \ |
308 |
$(use_enable projectm) \ |
309 |
$(use_enable pulseaudio pulse) \ |
310 |
$(use_enable pvr mythtv) \ |
311 |
$(use_enable rsxs) \ |
312 |
$(use_enable rtmp) \ |
313 |
$(use_enable samba) \ |
314 |
$(use_enable sdl) \ |
315 |
$(use_enable sftp ssh) \ |
316 |
$(use_enable usb libusb) \ |
317 |
$(use_enable upnp) \ |
318 |
$(use_enable vaapi) \ |
319 |
$(use_enable vdpau) \ |
320 |
$(use_enable webserver) \ |
321 |
$(use_enable X x11) \ |
322 |
$(use_enable xrandr) |
323 |
} |
324 |
|
325 |
src_install() { |
326 |
default |
327 |
rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}* |
328 |
|
329 |
domenu tools/Linux/xbmc.desktop |
330 |
newicon tools/Linux/xbmc-48x48.png xbmc.png |
331 |
|
332 |
python_domodule tools/EventClients/lib/python/xbmcclient.py |
333 |
python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send |
334 |
} |
335 |
|
336 |
pkg_postinst() { |
337 |
elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual" |
338 |
} |