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