Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/xbmc/files/, media-tv/xbmc/
Date: Tue, 23 Feb 2016 19:33:07
Message-Id: 1456255867.e95014ef92bd528d93048a7a5b5c9cbf50eaefbb.vapier@gentoo
1 commit: e95014ef92bd528d93048a7a5b5c9cbf50eaefbb
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 23 17:47:27 2016 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 23 19:31:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95014ef
7
8 media-tv/xbmc: punt now that kodi exists
9
10 media-tv/xbmc/Manifest | 13 -
11 media-tv/xbmc/files/generate.sh | 28 --
12 media-tv/xbmc/files/xbmc-11.0-ffmpeg-0.10.2.patch | 41 ---
13 media-tv/xbmc/files/xbmc-11.0-ffmpeg.patch | 46 ----
14 media-tv/xbmc/files/xbmc-11.0-libav.patch | 72 -----
15 media-tv/xbmc/files/xbmc-11.0-nfs-limits.patch | 28 --
16 media-tv/xbmc/files/xbmc-11.0-no-arm-flags.patch | 16 --
17 media-tv/xbmc/files/xbmc-11.0-no-exec-stack.patch | 30 ---
18 media-tv/xbmc/files/xbmc-11.0-nomythtv.patch | 206 ---------------
19 media-tv/xbmc/files/xbmc-12.1-nomythtv.patch | 68 -----
20 media-tv/xbmc/files/xbmc-12.3-no-sse2.patch | 185 -------------
21 media-tv/xbmc/files/xbmc-9999-no-arm-flags.patch | 16 --
22 media-tv/xbmc/files/xbmc-9999-nomythtv.patch | 67 -----
23 media-tv/xbmc/metadata.xml | 32 ---
24 media-tv/xbmc/xbmc-11.0.ebuild | 238 -----------------
25 media-tv/xbmc/xbmc-12.1-r1.ebuild | 267 -------------------
26 media-tv/xbmc/xbmc-12.2-r1.ebuild | 264 ------------------
27 media-tv/xbmc/xbmc-12.3.ebuild | 269 -------------------
28 media-tv/xbmc/xbmc-13.0_p2.ebuild | 309 ----------------------
29 media-tv/xbmc/xbmc-13.1.ebuild | 306 ---------------------
30 media-tv/xbmc/xbmc-13.2-r1.ebuild | 309 ----------------------
31 media-tv/xbmc/xbmc-13.2.ebuild | 306 ---------------------
32 media-tv/xbmc/xbmc-9999.ebuild | 13 -
33 23 files changed, 3129 deletions(-)
34
35 diff --git a/media-tv/xbmc/Manifest b/media-tv/xbmc/Manifest
36 deleted file mode 100644
37 index 21fe5e7..0000000
38 --- a/media-tv/xbmc/Manifest
39 +++ /dev/null
40 @@ -1,13 +0,0 @@
41 -DIST xbmc-11.0.tar.gz 63012044 SHA256 1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19 SHA512 ba738129f70dd171b3fae385ab44317f62c9041a116bfe809d6d07c99ea69c663ad5d598552a17be0b942251ce12a68f34d0be21b303b256055849a6dde90043 WHIRLPOOL 4dd068749c86542e39b8fc42b45bbb56e885813b17876d3583cb4d91c902ff075e1f16f1c19720e3430dc149c40e52e7d1ab3323f666263fb353a59e2ef94a8e
42 -DIST xbmc-12-libav.tar.xz 6080 SHA256 84ba05dc66a476d2cb940c10355a22a04c5ef3b4fd6bd96a87a1fb2ffa7ccc0c SHA512 cde76dd435fb449ec843aaaa41a46f0fb4efeeb753669f9e4d052c06f00fe512be9fe994d5dd56794f47ce2f49146a2782f2da72dd78a1f66e5f54ca15723f13 WHIRLPOOL 07ba9e3fb3a4ba6d2c52055bcbe52009a87363bc8e0b21ebc90965bd3562196eee728103028fe8baaad250def5c6f76616a19731f825955648df9ff01c905e6b
43 -DIST xbmc-12.1.tar.gz 67430677 SHA256 29e3f36e1884913088f786179a4c925f52e46e9ba7bf8f24e35e934177c01ec3 SHA512 a8b5194766e32e09fa65c0e3656ff180c15761ce2348dc8a1fff0c65247b47e644db4fc91a829e73907b6a52c8e1bdebf624640b9dd06cea2c46bda1d2b3b4a5 WHIRLPOOL 13dbaf040faaaef1b04da892949e9684d7a958cec286b3a5f8cb449ec0fea6b5f96c2a473ece840b86103eb03dd1f39dd66411e5b0526785256d2cc92e1e95e8
44 -DIST xbmc-12.2.tar.gz 67663000 SHA256 b2330634fc513d27a44b131bbbe4ca6b61d60a1fe6c7ca27a7dc749df0bcea1c SHA512 d6812886b4d1a5c28c8150b164d714f8855ccb1ac4e74811c9eb03d09e12a6f05bedd3c034132ae79e0bff66efd54ced9c2c1140da6b4ad7b82dbb90fa3d1c39 WHIRLPOOL c3fc97e5f45a38a259bca06af0b171630ac16832034410e45174d900358b1d16b72940b29475dcad72a2198d8722859a229152379ab7784a7d61f961eb261ddb
45 -DIST xbmc-12.3-generated-addons.tar.xz 52228 SHA256 477f789dea36969149fe118ecac1c4f3d8c3414772cc6c569be4aefb7e3f221e SHA512 2107271445c0cdcc14b348d011e12ffaaee75bbec506496798f64218256ab9e86cc0ada5edc1e70e509ac1ab366695fae4c15e90bd47fa57ccfe723d7e406b85 WHIRLPOOL 3963577539dee04f33dc4b988944f906688d77864d5e6a6b403e4578c9a91f2b77c256e6b4ed234a9722524c1c3acc626a28ff44c6376c09d93f24008abf54cd
46 -DIST xbmc-12.3.tar.gz 64615159 SHA256 3e15c960d034efdea5f92a7b74716cb48094842d077b076025fd8640754ede73 SHA512 abe5333f940460a2d40b04a4821f932b44c7605e0d4954e48781317aa25ee04e102b051165842094c5804024c637ca30506773dc3319aba7ab6dbfbe1973ccaa WHIRLPOOL 035cf5792c3c9785eb0a5227406c66298591bafc1251889d4e4a2742ffd715c374c0b6e092f5705db181412de9cae6d1eb3e9c370f3390858b4651f4c135fda1
47 -DIST xbmc-13.0_r2-generated-addons.tar.xz 312524 SHA256 82e2c219a09a758c5cc7a29c4e719c48255523ee79e2ac9fe72d39b45730e32e SHA512 1399b922711424844756d4f56696ea4be34b3ffbeedfc23bb832cb8e0ee9d6831f1c31ebc41d49f20c262f0cbb52601786e33550d5aca5de4de520fcee0f53ec WHIRLPOOL 67f184b241e90c369cee7ceaf3f714c002093a5b4e82614cd1413af35e7c3aef1adb2460d9286c54a40e5a74de37864eff86d5631e0a0ea33a69e3b29082e477
48 -DIST xbmc-13.0_r2.tar.gz 65616107 SHA256 663b99f3e196ead51d90f06ccfa864b4e5ade385dfc5972acb0f854d525f2903 SHA512 c56d11959797f4c6c3b1831afeab03332913fe6cc00f2542c45af725fe932ba3b997c2af997a602665734a6bcc061c40b8e876144894fdeab91b56df98958433 WHIRLPOOL 394b76c9d20dd90a0d04306d301d4bb656fe99afab6e7392d6274bd3eb8c9a3083bfe192f3850f6ea7123ed537baa64f658a48b14eee68b8226b4e620a76d199
49 -DIST xbmc-13.1-generated-addons.tar.xz 54968 SHA256 fb0c265640e8d468ed094d83be5089274b7effc1ad1946c42ce21d831442d00e SHA512 7081e25621141eaf76d552fe648fcf9ff4697fc76991b2081806ae829af6094012194cfab93b0c836242197ded00ff88458b89ed6008532b38552d3114d2a776 WHIRLPOOL d83a4290af3e9a2a88dccf074d73692e34a9877d2ff7ff6a946a601b0c8e9d01105eb04bf1d28f62bf648d7221df787b42e52b416f2e924bfa5208342b3ef51a
50 -DIST xbmc-13.1.tar.gz 65758346 SHA256 344b604eae2ddb47c032dd7964d01f27e6fcd7a8873c84c0841d5da75961a678 SHA512 918126a85a8194dd49d5c82a5a56d2006b811ff5fca535e95bcc5ef4ab135c5907d01595c2ceb4accdc69aef5afc621adae249a1fef85425945560a646e970b0 WHIRLPOOL d429dd9a03974aedd5cd256f0cf1409dcf7434ec1bafeaa0fcdaaa0d8bb08442183143d514d33b1de4934a5e800b03a8f64df5abdd7203d8a0557638e124b53a
51 -DIST xbmc-13.2-generated-addons.tar.xz 55008 SHA256 26d72e282f0458acb48b283edc27f7b71fc3f285344b8d4df6835a2520ae5650 SHA512 7b77bc22e0c665b74d90276cfa8b827222b22930f4d3bf335191dd5a8123f8bd74367de123199e124b02c7075aa81536058ace38926f4c03d0449ea55fd83254 WHIRLPOOL 449fe73e5ca7f5d973fb1d49e4e84f47955bced804bfea93a5bda67481af096dfa10581435fd84a26d59cb30f4b0eedd7096c905d5b1749286f85b042f90b626
52 -DIST xbmc-13.2.tar.gz 65900491 SHA256 acbf5dffa3034a3406240ee3cf81e721386cd383d23d056ddde1f769e050e585 SHA512 83a514410748b05da4c626caff34fec7b6b26a8bdea9f158e1c75721d3a47d36eb1f97ed4c162f6c2472a97f658e3b5285c1e0b144bfb4f654932586eee4d1c8 WHIRLPOOL 54e8551fa8393b9fd1076572e87b4d5a7e1b52acaa0443d14cfc8ed08e69a2efb86e3bb2cbe97d8894989ad7f892f512649165089e3d1035307f8cc820772e6f
53 -DIST xbmc_backports-12-1.tar.bz2 5010 SHA256 a222c32f5a4a0a8690b1544674cfbfeddf81943e85b6ea716768b83c9eba5fa8 SHA512 19b29808f7a3a7b0642f8463bdd229041588d2f42952fe55a17ab69b5b259cde249eb763598893463218d0ab6c747bf3c81e045bdbf5655f9f5f2d2067cb35d2 WHIRLPOOL cc6870dabca8b53a1a6055a4218a8f9bbb2c031ab3b928040325fb121ea75ae6db431542660d28c3bc6900a904e2c0949d69651b2f63faffe8bc7f670d519f06
54
55 diff --git a/media-tv/xbmc/files/generate.sh b/media-tv/xbmc/files/generate.sh
56 deleted file mode 100755
57 index 68d1082..0000000
58 --- a/media-tv/xbmc/files/generate.sh
59 +++ /dev/null
60 @@ -1,28 +0,0 @@
61 -#!/bin/bash
62 -
63 -set -eux
64 -
65 -PV=$1
66 -PN=xbmc
67 -P="${PN}-${PV}"
68 -DISTDIR="/usr/portage/distfiles"
69 -GITDIR="/usr/local/src/xbmc/git"
70 -
71 -if [[ ${PV} != "9999" ]] ; then
72 - rm -rf ${PN}-*/
73 - tar xf ${DISTDIR}/${P}.tar.gz
74 - d=$(echo ${PN}-*/)
75 -else
76 - stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d)
77 - P+="-${stamp}"
78 - cd ${GITDIR}
79 - d=.
80 -fi
81 -make -C ${d} -j -f codegenerator.mk
82 -tar="${DISTDIR}/${P}-generated-addons.tar.xz"
83 -tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > "${tar}"
84 -if [[ ${PV} != "9999" ]] ; then
85 - rm -rf ${PN}-*/
86 -fi
87 -
88 -du -b "${tar}"
89
90 diff --git a/media-tv/xbmc/files/xbmc-11.0-ffmpeg-0.10.2.patch b/media-tv/xbmc/files/xbmc-11.0-ffmpeg-0.10.2.patch
91 deleted file mode 100644
92 index b6a2d73..0000000
93 --- a/media-tv/xbmc/files/xbmc-11.0-ffmpeg-0.10.2.patch
94 +++ /dev/null
95 @@ -1,41 +0,0 @@
96 -From 4d74bd14c0fa158c5a2bcf18192f418fafc3a053 Mon Sep 17 00:00:00 2001
97 -From: Tomas Chvatal <tchvatal@××××.cz>
98 -Date: Fri, 23 Mar 2012 11:59:02 +0100
99 -Subject: [PATCH 1/2] Add support for new ffmpeg-10/11 api.
100 -
101 ----
102 - configure.in | 3 +++
103 - lib/DllAvUtil.h | 3 +++
104 - 2 files changed, 6 insertions(+), 0 deletions(-)
105 -
106 -diff --git a/configure.in b/configure.in
107 -index bca9239..bea66ac 100755
108 ---- a/configure.in
109 -+++ b/configure.in
110 -@@ -1225,6 +1225,9 @@ if test "$use_external_ffmpeg" = "yes"; then
111 - # old FFmpeg have this in libavcodec/opt.h instead:
112 - AC_CHECK_HEADERS([libavutil/opt.h])
113 -
114 -+ # new FFmpeg have math headers
115 -+ AC_CHECK_HEADERS([libavutil/mathematics.h],,)
116 -+
117 - # We'll support the use of rgb2rgb.h if it exists.
118 - AC_CHECK_HEADERS([libswscale/rgb2rgb.h],,)
119 - AC_CHECK_HEADERS([ffmpeg/rgb2rgb.h],,)
120 -diff --git a/lib/DllAvUtil.h b/lib/DllAvUtil.h
121 -index e882cac..e3b8a02 100644
122 ---- a/lib/DllAvUtil.h
123 -+++ b/lib/DllAvUtil.h
124 -@@ -59,6 +59,9 @@ extern "C" {
125 - #else
126 - #include <ffmpeg/mem.h>
127 - #endif
128 -+ #if (defined HAVE_LIBAVUTIL_MATHEMATICS_H)
129 -+ #include <libavutil/mathematics.h>
130 -+ #endif
131 - #else
132 - #include "libavutil/avutil.h"
133 - #include "libavutil/crc.h"
134 ---
135 -1.7.3.4
136 -
137
138 diff --git a/media-tv/xbmc/files/xbmc-11.0-ffmpeg.patch b/media-tv/xbmc/files/xbmc-11.0-ffmpeg.patch
139 deleted file mode 100644
140 index 51372fd..0000000
141 --- a/media-tv/xbmc/files/xbmc-11.0-ffmpeg.patch
142 +++ /dev/null
143 @@ -1,46 +0,0 @@
144 -https://bugs.gentoo.org/406215
145 -
146 -From 97212837ec81c3869ba60e0690f26c09b9428747 Mon Sep 17 00:00:00 2001
147 -From: Tomas Chvatal <tchvatal@××××.cz>
148 -Date: Fri, 30 Mar 2012 10:00:46 +0200
149 -Subject: [PATCH] Ensure we include proper header on ffmpeg.
150 -
151 ----
152 - configure.in | 3 +++
153 - lib/DllAvFilter.h | 6 +++++-
154 - 2 files changed, 8 insertions(+), 1 deletions(-)
155 -
156 -diff --git a/configure.in b/configure.in
157 -index bca9239..d209f80 100755
158 ---- a/configure.in
159 -+++ b/configure.in
160 -@@ -1229,6 +1229,9 @@ if test "$use_external_ffmpeg" = "yes"; then
161 - AC_CHECK_HEADERS([libswscale/rgb2rgb.h],,)
162 - AC_CHECK_HEADERS([ffmpeg/rgb2rgb.h],,)
163 -
164 -+ # check for avcodec header as it is not present on libav
165 -+ AC_CHECK_HEADERS([libavfilter/avcodec.h],,)
166 -+
167 - # Check if AVFilterBufferRefVideoProps AVRational member is named
168 - # 'pixel_aspect' or 'sample_aspect_ratio'.
169 - AC_CHECK_MEMBER([AVFilterBufferRefVideoProps.sample_aspect_ratio],
170 -diff --git a/lib/DllAvFilter.h b/lib/DllAvFilter.h
171 -index 827746e..d47623b 100644
172 ---- a/lib/DllAvFilter.h
173 -+++ b/lib/DllAvFilter.h
174 -@@ -48,7 +48,11 @@ extern "C" {
175 - #endif
176 - /* for av_vsrc_buffer_add_frame */
177 - #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,8,0)
178 -- #include <libavfilter/vsrc_buffer.h>
179 -+ #if defined(HAVE_LIBAVFILTER_AVCODEC_H)
180 -+ #include <libavfilter/avcodec.h>
181 -+ #else
182 -+ #include <libavfilter/vsrc_buffer.h>
183 -+ #endif
184 - #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0)
185 - int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter,
186 - AVFrame *frame);
187 ---
188 -1.7.3.4
189 -
190
191 diff --git a/media-tv/xbmc/files/xbmc-11.0-libav.patch b/media-tv/xbmc/files/xbmc-11.0-libav.patch
192 deleted file mode 100644
193 index 0aaa1ce..0000000
194 --- a/media-tv/xbmc/files/xbmc-11.0-libav.patch
195 +++ /dev/null
196 @@ -1,72 +0,0 @@
197 -https://bugs.gentoo.org/406215
198 -
199 -From c74abc298e2075f431d9fa700fcfc5e1bbbddf22 Mon Sep 17 00:00:00 2001
200 -From: Tomas Chvatal <tchvatal@××××.cz>
201 -Date: Fri, 23 Mar 2012 12:08:53 +0100
202 -Subject: [PATCH 2/2] Add support for libav api as it sligthly differ.
203 -
204 -The libav use micro version as 0
205 -The ffmpeg use the micro version as 100+
206 -
207 -Simply check if the variable is defined then it is not libav.
208 ----
209 - lib/DllAvFilter.h | 10 +++++++++-
210 - .../DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp | 4 ++++
211 - 2 files changed, 13 insertions(+), 1 deletions(-)
212 -
213 -diff --git a/lib/DllAvFilter.h b/lib/DllAvFilter.h
214 -index 302e35c..827746e 100644
215 ---- a/lib/DllAvFilter.h
216 -+++ b/lib/DllAvFilter.h
217 -@@ -48,7 +48,7 @@ extern "C" {
218 - #endif
219 - /* for av_vsrc_buffer_add_frame */
220 - #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,8,0)
221 -- #include <libavfilter/avcodec.h>
222 -+ #include <libavfilter/vsrc_buffer.h>
223 - #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0)
224 - int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter,
225 - AVFrame *frame);
226 -@@ -83,7 +83,11 @@ public:
227 - virtual int avfilter_poll_frame(AVFilterLink *link)=0;
228 - virtual int avfilter_request_frame(AVFilterLink *link)=0;
229 - #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,13,0)
230 -+#if LIBAVFILTER_VERSION_MICRO
231 - virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int flags)=0;
232 -+#else
233 -+ virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int64_t pts, AVRational pixel_aspect)=0;
234 -+#endif
235 - #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0)
236 - virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame)=0;
237 - #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,3,0)
238 -@@ -172,7 +176,11 @@ public:
239 - virtual int avfilter_poll_frame(AVFilterLink *link) { return ::avfilter_poll_frame(link); }
240 - virtual int avfilter_request_frame(AVFilterLink *link) { return ::avfilter_request_frame(link); }
241 - #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,13,0)
242 -+#if LIBAVFILTER_VERSION_MICRO
243 - virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int flags) { return ::av_vsrc_buffer_add_frame(buffer_filter, frame, flags); }
244 -+#else
245 -+ virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame, int64_t pts, AVRational pixel_aspect) { return ::av_vsrc_buffer_add_frame(buffer_filter, frame, pts, pixel_aspect); }
246 -+#endif
247 - #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0)
248 - virtual int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame) { return ::av_vsrc_buffer_add_frame(buffer_filter, frame); }
249 - #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,3,0)
250 -diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp
251 -index b4e1451..4e5eedf 100644
252 ---- a/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp
253 -+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp
254 -@@ -814,7 +814,11 @@ int CDVDVideoCodecFFmpeg::FilterProcess(AVFrame* frame)
255 - if (frame)
256 - {
257 - #if LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,13,0)
258 -+#if LIBAVFILTER_VERSION_MICRO
259 - result = m_dllAvFilter.av_vsrc_buffer_add_frame(m_pFilterIn, frame, 0);
260 -+#else
261 -+ result = m_dllAvFilter.av_vsrc_buffer_add_frame(m_pFilterIn, frame, frame->pts, m_pCodecContext->sample_aspect_ratio);
262 -+#endif
263 - #elif LIBAVFILTER_VERSION_INT >= AV_VERSION_INT(2,7,0)
264 - result = m_dllAvFilter.av_vsrc_buffer_add_frame(m_pFilterIn, frame);
265 - #elif LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,3,0)
266 ---
267 -1.7.3.4
268 -
269
270 diff --git a/media-tv/xbmc/files/xbmc-11.0-nfs-limits.patch b/media-tv/xbmc/files/xbmc-11.0-nfs-limits.patch
271 deleted file mode 100644
272 index ebee2d0..0000000
273 --- a/media-tv/xbmc/files/xbmc-11.0-nfs-limits.patch
274 +++ /dev/null
275 @@ -1,28 +0,0 @@
276 -https://bugs.gentoo.org/445174
277 -
278 -fix from upstream
279 -
280 -From 6ffd1cb4e2cba40888c24ff84afd04a5a07a22e9 Mon Sep 17 00:00:00 2001
281 -From: Torsten Kurbad <github@×××××××××.de>
282 -Date: Wed, 28 Nov 2012 21:29:29 +0100
283 -Subject: [PATCH] NFSDirectory.cpp must include limits.h
284 -
285 ----
286 - xbmc/filesystem/NFSDirectory.cpp | 1 +
287 - 1 file changed, 1 insertion(+)
288 -
289 -diff --git a/xbmc/filesystem/NFSDirectory.cpp b/xbmc/filesystem/NFSDirectory.cpp
290 -index 4dc0f31..d306331 100644
291 ---- a/xbmc/filesystem/NFSDirectory.cpp
292 -+++ b/xbmc/filesystem/NFSDirectory.cpp
293 -@@ -35,6 +35,7 @@
294 - #include "threads/SingleLock.h"
295 - using namespace XFILE;
296 - using namespace std;
297 -+#include <limits.h>
298 - #include <nfsc/libnfs-raw-mount.h>
299 - #include <nfsc/libnfs-raw-nfs.h>
300 -
301 ---
302 -1.8.0
303 -
304
305 diff --git a/media-tv/xbmc/files/xbmc-11.0-no-arm-flags.patch b/media-tv/xbmc/files/xbmc-11.0-no-arm-flags.patch
306 deleted file mode 100644
307 index 179697a..0000000
308 --- a/media-tv/xbmc/files/xbmc-11.0-no-arm-flags.patch
309 +++ /dev/null
310 @@ -1,16 +0,0 @@
311 -http://bugs.gentoo.org/400617
312 -
313 -do not force any particular ABI or FPU or SIMD compiler flags for arm
314 -targets. let the toolchain and user CFLAGS control that.
315 -
316 ---- a/configure.in
317 -+++ b/configure.in
318 -@@ -571,7 +571,7 @@
319 - LIBS="$LIBS -framework DiskArbitration"
320 - LIBS="$LIBS -framework ApplicationServices"
321 - fi
322 --elif test "$use_arch" = "arm"; then
323 -+elif false; then
324 - CFLAGS="$CFLAGS -mfloat-abi=softfp -mno-apcs-stack-check"
325 - CXXFLAGS="$CXXFLAGS -mfloat-abi=softfp -mno-apcs-stack-check"
326 - FFMPEG_EXTRACFLAGS="-mfloat-abi=softfp"
327
328 diff --git a/media-tv/xbmc/files/xbmc-11.0-no-exec-stack.patch b/media-tv/xbmc/files/xbmc-11.0-no-exec-stack.patch
329 deleted file mode 100644
330 index 35ff747..0000000
331 --- a/media-tv/xbmc/files/xbmc-11.0-no-exec-stack.patch
332 +++ /dev/null
333 @@ -1,30 +0,0 @@
334 -http://trac.xbmc.org/ticket/12735
335 -
336 -merged upstream already
337 -
338 -From f0e33eefa4b5d46f26811db2f5e943dcd7f2870e Mon Sep 17 00:00:00 2001
339 -From: Mike Frysinger <vapier@g.o>
340 -Date: Thu, 1 Mar 2012 00:04:49 -0500
341 -Subject: [PATCH] mark stack as non-executable
342 -
343 -Signed-off-by: Mike Frysinger <vapier@g.o>
344 ----
345 - xbmc/utils/fastmemcpy-arm.S | 5 +++++
346 - 1 files changed, 5 insertions(+), 0 deletions(-)
347 -
348 -diff --git a/xbmc/utils/fastmemcpy-arm.S b/xbmc/utils/fastmemcpy-arm.S
349 -index 0e810a7..3d77c68 100644
350 ---- a/xbmc/utils/fastmemcpy-arm.S
351 -+++ b/xbmc/utils/fastmemcpy-arm.S
352 -@@ -527,3 +527,8 @@ copy_last_3_and_return:
353 -
354 - #endif /* __ARM_ARCH__ < 7 */
355 - #endif
356 -+
357 -+#if defined(__linux__) && defined(__ELF__)
358 -+/* we don't need an executable stack */
359 -+.section .note.GNU-stack,"",%progbits
360 -+#endif
361 ---
362 -1.7.8.4
363 -
364
365 diff --git a/media-tv/xbmc/files/xbmc-11.0-nomythtv.patch b/media-tv/xbmc/files/xbmc-11.0-nomythtv.patch
366 deleted file mode 100644
367 index 09286db..0000000
368 --- a/media-tv/xbmc/files/xbmc-11.0-nomythtv.patch
369 +++ /dev/null
370 @@ -1,206 +0,0 @@
371 -http://trac.xbmc.org/ticket/11775
372 -
373 -make mysql/mythtv support optional
374 -
375 ---- a/Makefile.in
376 -+++ b/Makefile.in
377 -@@ -127,13 +127,17 @@ endif
378 - LIB_DIRS=\
379 - lib/cximage-6.0 \
380 - lib/libexif \
381 -- lib/cmyth \
382 - lib/libhdhomerun \
383 - lib/libid3tag \
384 - lib/libapetag \
385 - lib/cpluff \
386 - lib/xbmc-dll-symbols
387 -
388 -+ifeq (@BUILD_MYTHTV@,1)
389 -+LIB_DIRS+=\
390 -+ lib/cmyth
391 -+endif
392 -+
393 - SS_DIRS=
394 - ifeq (@USE_OPENGL@,1)
395 - SS_DIRS+= xbmc/screensavers/rsxs-0.9/xbmc
396 -@@ -418,7 +422,10 @@ imagelib: dllloader
397 - $(MAKE) -C lib/cximage-6.0
398 -
399 - codecs: papcodecs dvdpcodecs
400 --libs: cmyth libhdhomerun libid3tag imagelib libexif system/libcpluff-@ARCH@.so
401 -+libs: libhdhomerun libid3tag imagelib libexif system/libcpluff-@ARCH@.so
402 -+ifeq (@BUILD_MYTHTV@,1)
403 -+libs: cmyth
404 -+endif
405 - externals: codecs libs visualizations screensavers
406 -
407 - xcode_depends: \
408 ---- a/configure.in
409 -+++ b/configure.in
410 -@@ -68,6 +68,9 @@ goom_enabled="== GOOM enabled. =="
411 - goom_disabled="== GOOM disabled. =="
412 - pulse_not_found="== Could not find libpulse. PulseAudio support disabled. =="
413 - pulse_disabled="== PulseAudio support manually disabled. =="
414 -+mysql_not_found="Could not find libmysqlclient. MySQL (and MythTV) support disabled. =="
415 -+mysql_disabled="== MySQL support disabled. =="
416 -+mythtv_disabled="== MythTV support disabled. =="
417 - dvdcss_enabled="== DVDCSS support enabled. =="
418 - dvdcss_disabled="== DVDCSS support disabled. =="
419 - hal_not_found="== Could not find hal. HAL support disabled. =="
420 -@@ -238,6 +241,18 @@ AC_ARG_ENABLE([ffmpeg_libvorbis],
421 - [use_ffmpeg_libvorbis=$enableval],
422 - [use_ffmpeg_libvorbis=no])
423 -
424 -+AC_ARG_ENABLE([mysql],
425 -+ [AS_HELP_STRING([--enable-mysql],
426 -+ [enable MySQL support (default is auto)])],
427 -+ [use_mysql=$enableval],
428 -+ [use_mysql=auto])
429 -+
430 -+AC_ARG_ENABLE([mythtv],
431 -+ [AS_HELP_STRING([--enable-mythtv],
432 -+ [enable MythTV support (default is auto)])],
433 -+ [use_mythtv=$enableval],
434 -+ [use_mythtv=auto])
435 -+
436 - AC_ARG_ENABLE([dvdcss],
437 - [AS_HELP_STRING([--enable-dvdcss],
438 - [enable DVDCSS support (default is yes)])],
439 -@@ -563,14 +578,31 @@ else
440 - fi
441 -
442 - # platform common libraries
443 --AC_CHECK_PROG(MYSQL_CONFIG, mysql_config, "yes", "no")
444 --if test $MYSQL_CONFIG = "yes"; then
445 -- INCLUDES="$INCLUDES `mysql_config --include`"
446 -- MYSQL_LIBS=`mysql_config --libs`
447 -- LIBS="$LIBS $MYSQL_LIBS"
448 -- AC_SUBST(MYSQL_LIBS)
449 --else
450 -- AC_MSG_ERROR($missing_program)
451 -+have_mysql=no
452 -+if test "$use_mysql" != "no"; then
453 -+ AC_CHECK_PROG(MYSQL_CONFIG, mysql_config, "yes", "no")
454 -+ if test $MYSQL_CONFIG = "yes"; then
455 -+ INCLUDES="$INCLUDES `mysql_config --include`"
456 -+ MYSQL_LIBS=`mysql_config --libs`
457 -+ LIBS="$LIBS $MYSQL_LIBS"
458 -+ AC_SUBST(MYSQL_LIBS)
459 -+ AC_CHECK_LIB([mysqlclient], [main], have_mysql=yes)
460 -+ fi
461 -+fi
462 -+if test "$have_mysql" = "yes"; then
463 -+ BUILD_MYTHTV=1
464 -+ AC_DEFINE([BUILD_MYSQL], [1], [Define to 1 to build MySQL.])
465 -+ if test "$use_mysql" != "no"; then
466 -+ AC_DEFINE([BUILD_MYTHTV], [1], [Define to 1 to build mythtv.])
467 -+ fi
468 -+elif test "$use_mysql" = "yes" || test "$use_mythtv" = "yes"; then
469 -+ AC_MSG_ERROR([$mysql_not_found])
470 -+else
471 -+ BUILD_MYTHTV=0
472 -+ use_mysql=no
473 -+ AC_MSG_NOTICE($mysql_disabled)
474 -+ use_mythtv=no
475 -+ AC_MSG_NOTICE($mythtv_disabled)
476 - fi
477 - AC_CHECK_HEADER([ass/ass.h],, AC_MSG_ERROR($missing_library))
478 - AC_CHECK_HEADER([mpeg2dec/mpeg2.h],, AC_MSG_ERROR($missing_library))
479 -@@ -594,7 +625,6 @@ AC_CHECK_LIB([lzo2], [main],, AC_MSG_ERROR($missing_library))
480 - AC_CHECK_LIB([z], [main],, AC_MSG_ERROR($missing_library))
481 - AC_CHECK_LIB([crypto], [main],, AC_MSG_ERROR($missing_library))
482 - AC_CHECK_LIB([ssl], [main],, AC_MSG_ERROR($missing_library))
483 --AC_CHECK_LIB([mysqlclient], [main],, AC_MSG_ERROR($missing_library))
484 - AC_CHECK_LIB([ssh], [sftp_tell64],, AC_MSG_RESULT([Could not find suitable version of libssh]))
485 - AC_CHECK_LIB([smbclient], [main],, AC_MSG_ERROR($missing_library))
486 - AC_CHECK_LIB([bluetooth], [hci_devid],, AC_MSG_RESULT([Could not find suitable version of libbluetooth]))
487 -@@ -1319,6 +1349,18 @@ else
488 - final_message="$final_message\n HAL Support:\tNo"
489 - fi
490 -
491 -+if test "$use_mysql" = "yes"; then
492 -+ final_message="$final_message\n MySQL:\tYes"
493 -+else
494 -+ final_message="$final_message\n MySQL:\tNo"
495 -+fi
496 -+
497 -+if test "$use_mythtv" = "yes"; then
498 -+ final_message="$final_message\n MythTV:\tYes"
499 -+else
500 -+ final_message="$final_message\n MythTV:\tNo"
501 -+fi
502 -+
503 - # DVDCSS
504 - if test "$use_dvdcss" = "yes"; then
505 - AC_MSG_NOTICE($dvdcss_enabled)
506 -@@ -1490,6 +1532,8 @@ AC_SUBST(USE_EXTERNAL_FFMPEG)
507 - AC_SUBST(PYTHON_VERSION)
508 - AC_SUBST(OUTPUT_FILES)
509 - AC_SUBST(HAVE_XBMC_NONFREE)
510 -+AC_SUBST(BUILD_MYSQL)
511 -+AC_SUBST(BUILD_MYTHTV)
512 - AC_SUBST(USE_ASAP_CODEC)
513 - AC_SUBST(LIBCURL_BASENAME)
514 - AC_SUBST(LIBFLAC_BASENAME)
515 ---- a/xbmc/dbwrappers/Database.cpp
516 -+++ b/xbmc/dbwrappers/Database.cpp
517 -@@ -29,7 +29,9 @@
518 - #include "utils/AutoPtrHandle.h"
519 - #include "utils/log.h"
520 - #include "utils/URIUtils.h"
521 -+#ifdef BUILD_MYSQL
522 - #include "mysqldataset.h"
523 -+#endif /* BUILD_MYSQL */
524 - #include "sqlitedataset.h"
525 -
526 -
527 -@@ -266,6 +268,7 @@
528 -
529 - m_sqlite = true;
530 -
531 -+#ifdef BUILD_MYSQL
532 - if ( dbSettings.type.Equals("mysql") )
533 - {
534 - // check we have all information before we cancel the fallback
535 -@@ -276,7 +279,8 @@
536 - CLog::Log(LOGINFO, "Essential mysql database information is missing. Require at least host, user and pass defined.");
537 - }
538 - else
539 -+#endif /* BUILD_MYSQL */
540 - {
541 - dbSettings.type = "sqlite3";
542 - dbSettings.host = _P(g_settings.GetDatabaseFolder());
543 - dbSettings.name = GetBaseDBName();
544 -@@ -369,10 +373,12 @@
545 - {
546 - m_pDB.reset( new SqliteDatabase() ) ;
547 - }
548 -+#ifdef BUILD_MYSQL
549 - else if (dbSettings.type.Equals("mysql"))
550 - {
551 - m_pDB.reset( new MysqlDatabase() ) ;
552 - }
553 -+#endif /* BUILD_MYSQL */
554 - else
555 - {
556 - CLog::Log(LOGERROR, "Unable to determine database type: %s", dbSettings.type.c_str());
557 ---- a/xbmc/dbwrappers/mysqldataset.cpp
558 -+++ b/xbmc/dbwrappers/mysqldataset.cpp
559 -@@ -23,9 +23,11 @@
560 - #include <string>
561 - #include <set>
562 -
563 -+#include "system.h" // for GetLastError()
564 -+#ifdef BUILD_MYSQL
565 -+
566 - #include "mysqldataset.h"
567 - #include "utils/log.h"
568 --#include "system.h" // for GetLastError()
569 - #include "mysql/errmsg.h"
570 - #ifdef _WIN32
571 - #pragma comment(lib, "mysqlclient.lib")
572 -@@ -1562,3 +1564,4 @@
573 -
574 - }//namespace
575 -
576 -+#endif /* BUILD_MYSQL */
577
578 diff --git a/media-tv/xbmc/files/xbmc-12.1-nomythtv.patch b/media-tv/xbmc/files/xbmc-12.1-nomythtv.patch
579 deleted file mode 100644
580 index f793ba3..0000000
581 --- a/media-tv/xbmc/files/xbmc-12.1-nomythtv.patch
582 +++ /dev/null
583 @@ -1,68 +0,0 @@
584 -http://trac.xbmc.org/ticket/11775
585 -
586 -make mythtv support optional
587 -
588 -diff --git a/Makefile.in b/Makefile.in
589 -index 9ffae7e..17cc525 100755
590 ---- a/Makefile.in
591 -+++ b/Makefile.in
592 -@@ -147,7 +147,7 @@ LIB_DIRS=\
593 - lib/cpluff \
594 - lib/xbmc-dll-symbols
595 -
596 --ifeq (@USE_MYSQL@,1)
597 -+ifeq (@USE_MYTHTV@,1)
598 - LIB_DIRS += lib/cmyth
599 - CMYTH=cmyth
600 - endif
601 -diff --git a/configure.in b/configure.in
602 -index d44825f..629d7b4 100755
603 ---- a/configure.in
604 -+++ b/configure.in
605 -@@ -387,6 +387,12 @@ AC_ARG_ENABLE([mysql],
606 - [use_mysql=$enableval],
607 - [use_mysql=yes])
608 -
609 -+AC_ARG_ENABLE([mythtv],
610 -+ [AS_HELP_STRING([--disable-mythtv],
611 -+ [disable mythtv])],
612 -+ [use_mythtv=$enableval],
613 -+ [use_mythtv=yes])
614 -+
615 - AC_ARG_ENABLE([webserver],
616 - [AS_HELP_STRING([--disable-webserver],
617 - [disable webserver])],
618 -@@ -748,6 +754,9 @@ if test "$use_mysql" = "yes"; then
619 - else
620 - AC_MSG_ERROR($missing_program)
621 - fi
622 -+ if test "$use_mythtv" = "yes"; then
623 -+ AC_DEFINE([HAVE_MYTHTV],[1],["Define to 1 if you want mythtv support"])
624 -+ fi
625 - fi
626 - AC_CHECK_HEADER([ass/ass.h],, AC_MSG_ERROR($missing_library))
627 - AC_CHECK_HEADER([mpeg2dec/mpeg2.h],, AC_MSG_ERROR($missing_library))
628 -@@ -1895,6 +1904,15 @@ else
629 - final_message="$final_message\n MySQL:\tNo"
630 - USE_MYSQL=0
631 - fi
632 -+
633 -+if test "$use_mythtv" = "yes"; then
634 -+ final_message="$final_message\n MythTV:\tYes"
635 -+ USE_MYTHTV=1
636 -+else
637 -+ final_message="$final_message\n MythTV:\tNo"
638 -+ USE_MYTHTV=0
639 -+fi
640 -+
641 - if test "$use_webserver" = "yes"; then
642 - final_message="$final_message\n Webserver:\tYes"
643 - USE_WEB_SERVER=1
644 -@@ -2123,6 +2141,7 @@ AC_SUBST(USE_LIBUDEV)
645 - AC_SUBST(USE_LIBUSB)
646 - AC_SUBST(USE_LIBCEC)
647 - AC_SUBST(USE_MYSQL)
648 -+AC_SUBST(USE_MYTHTV)
649 - AC_SUBST(USE_WEB_SERVER)
650 -
651 -
652
653 diff --git a/media-tv/xbmc/files/xbmc-12.3-no-sse2.patch b/media-tv/xbmc/files/xbmc-12.3-no-sse2.patch
654 deleted file mode 100644
655 index a0f787c..0000000
656 --- a/media-tv/xbmc/files/xbmc-12.3-no-sse2.patch
657 +++ /dev/null
658 @@ -1,185 +0,0 @@
659 -https://bugs.gentoo.org/475266
660 -
661 -From 07ccc514dc688f0dd53f603d206894023e65ab20 Mon Sep 17 00:00:00 2001
662 -From: Jose Quinteiro <gentoo@×××××××××.org>
663 -Date: Sat, 27 Apr 2013 11:29:51 -0700
664 -Subject: [PATCH] Detect SSE2 support
665 -
666 -Compilation on an older 32-bit Athlon XP chip fails with the error
667 -"./Utils/AEUtil.h:50:12: error: '__m128i' does not name a type"
668 -This is because the __m128i type is only available on SSE2 platforms.
669 -Modify the preprocessor logic to detect SSE and SSE2 support separately.
670 -
671 -The "emmintrin.h" header should only be included on SSE2 platforms as
672 -well.
673 ----
674 - xbmc/cores/AudioEngine/Utils/AEConvert.cpp | 25 ++++++++++---------------
675 - xbmc/cores/AudioEngine/Utils/AEUtil.cpp | 4 ++--
676 - xbmc/cores/AudioEngine/Utils/AEUtil.h | 9 ++++++++-
677 - 3 files changed, 20 insertions(+), 18 deletions(-)
678 -
679 -diff --git a/xbmc/cores/AudioEngine/Utils/AEConvert.cpp b/xbmc/cores/AudioEngine/Utils/AEConvert.cpp
680 -index 0b0b646..7cfde5e 100644
681 ---- a/xbmc/cores/AudioEngine/Utils/AEConvert.cpp
682 -+++ b/xbmc/cores/AudioEngine/Utils/AEConvert.cpp
683 -@@ -33,11 +33,6 @@
684 - #include <math.h>
685 - #include <string.h>
686 -
687 --#ifdef __SSE__
688 --#include <xmmintrin.h>
689 --#include <emmintrin.h>
690 --#endif
691 --
692 - #ifdef __ARM_NEON__
693 - #include <arm_neon.h>
694 - #endif
695 -@@ -517,7 +512,7 @@ unsigned int CAEConvert::Float_S8(float *data, const unsigned int samples, uint8
696 - unsigned int CAEConvert::Float_S16LE(float *data, const unsigned int samples, uint8_t *dest)
697 - {
698 - int16_t *dst = (int16_t*)dest;
699 -- #ifdef __SSE__
700 -+ #ifdef __SSE2__
701 -
702 - unsigned int count = samples;
703 - unsigned int unaligned = (0x10 - ((uintptr_t)data & 0xF)) >> 2;
704 -@@ -623,7 +618,7 @@ unsigned int CAEConvert::Float_S16LE(float *data, const unsigned int samples, ui
705 - /* cleanup */
706 - _mm_empty();
707 -
708 -- #else /* no SSE */
709 -+ #else /* no SSE2 */
710 -
711 - uint32_t i = 0;
712 - uint32_t even = samples & ~0x3;
713 -@@ -651,7 +646,7 @@ unsigned int CAEConvert::Float_S16LE(float *data, const unsigned int samples, ui
714 - unsigned int CAEConvert::Float_S16BE(float *data, const unsigned int samples, uint8_t *dest)
715 - {
716 - int16_t *dst = (int16_t*)dest;
717 -- #ifdef __SSE__
718 -+ #ifdef __SSE2__
719 -
720 - unsigned int count = samples;
721 - unsigned int unaligned = (0x10 - ((uintptr_t)data & 0xF)) >> 2;
722 -@@ -757,7 +752,7 @@ unsigned int CAEConvert::Float_S16BE(float *data, const unsigned int samples, ui
723 - /* cleanup */
724 - _mm_empty();
725 -
726 -- #else /* no SSE */
727 -+ #else /* no SSE2 */
728 -
729 - uint32_t i = 0;
730 - uint32_t even = samples & ~0x3;
731 -@@ -785,7 +780,7 @@ unsigned int CAEConvert::Float_S16BE(float *data, const unsigned int samples, ui
732 - unsigned int CAEConvert::Float_S24NE4(float *data, const unsigned int samples, uint8_t *dest)
733 - {
734 - int32_t *dst = (int32_t*)dest;
735 -- #ifdef __SSE__
736 -+ #ifdef __SSE2__
737 -
738 - const __m128 mul = _mm_set_ps1((float)INT24_MAX+.5f);
739 - unsigned int count = samples;
740 -@@ -835,7 +830,7 @@ unsigned int CAEConvert::Float_S24NE4(float *data, const unsigned int samples, u
741 - }
742 - }
743 - _mm_empty();
744 -- #else /* no SSE */
745 -+ #else /* no SSE2 */
746 - for (uint32_t i = 0; i < samples; ++i)
747 - *dst++ = (safeRound(*data++ * ((float)INT24_MAX+.5f)) & 0xFFFFFF) << 8;
748 - #endif
749 -@@ -929,7 +924,7 @@ unsigned int CAEConvert::Float_S24NE3(float *data, const unsigned int samples, u
750 - unsigned int CAEConvert::Float_S32LE(float *data, const unsigned int samples, uint8_t *dest)
751 - {
752 - int32_t *dst = (int32_t*)dest;
753 -- #ifdef __SSE__
754 -+ #ifdef __SSE2__
755 - const __m128 mul = _mm_set_ps1(MUL32);
756 - unsigned int count = samples;
757 -
758 -@@ -989,7 +984,7 @@ unsigned int CAEConvert::Float_S32LE(float *data, const unsigned int samples, ui
759 - _mm_empty();
760 - #else
761 -
762 -- /* no SIMD */
763 -+ /* no SSE2 */
764 - for (uint32_t i = 0; i < samples; ++i, ++data, ++dst)
765 - {
766 - dst[0] = safeRound(data[0] * MUL32);
767 -@@ -1038,7 +1033,7 @@ unsigned int CAEConvert::Float_S32LE_Neon(float *data, const unsigned int sample
768 - unsigned int CAEConvert::Float_S32BE(float *data, const unsigned int samples, uint8_t *dest)
769 - {
770 - int32_t *dst = (int32_t*)dest;
771 -- #ifdef __SSE__
772 -+ #ifdef __SSE2__
773 - const __m128 mul = _mm_set_ps1(MUL32);
774 - unsigned int count = samples;
775 -
776 -@@ -1097,7 +1092,7 @@ unsigned int CAEConvert::Float_S32BE(float *data, const unsigned int samples, ui
777 - }
778 - _mm_empty();
779 - #else
780 -- /* no SIMD */
781 -+ /* no SSE2 */
782 - for (uint32_t i = 0; i < samples; ++i, ++data, ++dst)
783 - {
784 - dst[0] = safeRound(data[0] * MUL32);
785 -diff --git a/xbmc/cores/AudioEngine/Utils/AEUtil.cpp b/xbmc/cores/AudioEngine/Utils/AEUtil.cpp
786 -index 6de84dc..2b6e0cd 100644
787 ---- a/xbmc/cores/AudioEngine/Utils/AEUtil.cpp
788 -+++ b/xbmc/cores/AudioEngine/Utils/AEUtil.cpp
789 -@@ -30,7 +30,7 @@ using namespace std;
790 -
791 - /* declare the rng seed and initialize it */
792 - unsigned int CAEUtil::m_seed = (unsigned int)(CurrentHostCounter() / 1000.0f);
793 --#ifdef __SSE__
794 -+#ifdef __SSE2__
795 - /* declare the SSE seed and initialize it */
796 - MEMALIGN(16, __m128i CAEUtil::m_sseSeed) = _mm_set_epi32(CAEUtil::m_seed, CAEUtil::m_seed+1, CAEUtil::m_seed, CAEUtil::m_seed+1);
797 - #endif
798 -@@ -386,7 +386,7 @@ float CAEUtil::FloatRand1(const float min, const float max)
799 -
800 - void CAEUtil::FloatRand4(const float min, const float max, float result[4], __m128 *sseresult/* = NULL */)
801 - {
802 -- #ifdef __SSE__
803 -+ #ifdef __SSE2__
804 - /*
805 - this method may be called from other SSE code, we need
806 - to calculate the delta & factor using SSE as the FPU
807 -diff --git a/xbmc/cores/AudioEngine/Utils/AEUtil.h b/xbmc/cores/AudioEngine/Utils/AEUtil.h
808 -index 48cbc3b..6fdb7f2 100644
809 ---- a/xbmc/cores/AudioEngine/Utils/AEUtil.h
810 -+++ b/xbmc/cores/AudioEngine/Utils/AEUtil.h
811 -@@ -27,6 +27,9 @@
812 - #ifdef TARGET_WINDOWS
813 - #if _M_IX86_FP>0 && !defined(__SSE__)
814 - #define __SSE__
815 -+#if _M_IX86_FP>1 && !defined(__SSE2__)
816 -+#define __SSE2__
817 -+#endif
818 - #endif
819 - #endif
820 -
821 -@@ -36,6 +39,10 @@
822 - #define __m128 void
823 - #endif
824 -
825 -+#ifdef __SSE2__
826 -+#include <emmintrin.h>
827 -+#endif
828 -+
829 - #ifdef __GNUC__
830 - #define MEMALIGN(b, x) x __attribute__((aligned(b)))
831 - #else
832 -@@ -63,7 +70,7 @@ class CAEUtil
833 - {
834 - private:
835 - static unsigned int m_seed;
836 -- #ifdef __SSE__
837 -+ #ifdef __SSE2__
838 - static __m128i m_sseSeed;
839 - #endif
840 -
841 ---
842 -1.8.4.3
843 -
844
845 diff --git a/media-tv/xbmc/files/xbmc-9999-no-arm-flags.patch b/media-tv/xbmc/files/xbmc-9999-no-arm-flags.patch
846 deleted file mode 100644
847 index 82a7383..0000000
848 --- a/media-tv/xbmc/files/xbmc-9999-no-arm-flags.patch
849 +++ /dev/null
850 @@ -1,16 +0,0 @@
851 -http://bugs.gentoo.org/400617
852 -
853 -do not force any particular ABI or FPU or SIMD compiler flags for arm
854 -targets. let the toolchain and user CFLAGS control that.
855 -
856 ---- a/configure.in
857 -+++ b/configure.in
858 -@@ -571,7 +571,7 @@
859 - elif test "$target_platform" = "target_raspberry_pi"; then
860 - ARCH="arm"
861 - use_arch="arm"
862 --elif test "$use_arch" = "arm"; then
863 -+elif false; then
864 - CFLAGS="$CFLAGS -mno-apcs-stack-check"
865 - CXXFLAGS="$CXXFLAGS -mno-apcs-stack-check"
866 - FFMPEG_EXTRACFLAGS=""
867
868 diff --git a/media-tv/xbmc/files/xbmc-9999-nomythtv.patch b/media-tv/xbmc/files/xbmc-9999-nomythtv.patch
869 deleted file mode 100644
870 index 40ab23b..0000000
871 --- a/media-tv/xbmc/files/xbmc-9999-nomythtv.patch
872 +++ /dev/null
873 @@ -1,67 +0,0 @@
874 -http://trac.xbmc.org/ticket/11775
875 -
876 -make mythtv support optional
877 -
878 -diff --git a/Makefile.in b/Makefile.in
879 -index 9ffae7e..17cc525 100755
880 ---- a/Makefile.in
881 -+++ b/Makefile.in
882 -@@ -209,7 +209,7 @@ LIB_DIRS=\
883 - lib/cpluff \
884 - lib/xbmc-dll-symbols
885 -
886 --ifeq (@USE_MYSQL@,1)
887 -+ifeq (@USE_MYTHTV@,1)
888 - LIB_DIRS += lib/cmyth
889 - CMYTH=cmyth
890 - endif
891 -diff --git a/configure.in b/configure.in
892 -index d44825f..629d7b4 100755
893 ---- a/configure.in
894 -+++ b/configure.in
895 -@@ -479,6 +479,12 @@ AC_ARG_ENABLE([mysql],
896 - [AS_HELP_STRING([--disable-mysql],
897 - [disable mysql])],
898 -
899 -+AC_ARG_ENABLE([mythtv],
900 -+ [AS_HELP_STRING([--disable-mythtv],
901 -+ [disable mythtv])],
902 -+ [use_mythtv=$enableval],
903 -+ [use_mythtv=yes])
904 -+
905 - AC_ARG_ENABLE([webserver],
906 - [AS_HELP_STRING([--disable-webserver],
907 - [disable webserver])],
908 -@@ -1080,6 +1086,9 @@ if test "$use_mysql" = "yes"; then
909 - else
910 - AC_MSG_ERROR($missing_program)
911 - fi
912 -+ if test "$use_mythtv" = "yes"; then
913 -+ AC_DEFINE([HAVE_MYTHTV],[1],["Define to 1 if you want mythtv support"])
914 -+ fi
915 - fi
916 - AC_CHECK_HEADER([ass/ass.h],, AC_MSG_ERROR($missing_library))
917 - AC_CHECK_HEADER([mpeg2dec/mpeg2.h],, AC_MSG_ERROR($missing_library))
918 -@@ -2372,6 +2381,15 @@ else
919 - final_message="$final_message\n MySQL:\tNo"
920 - USE_MYSQL=0
921 - fi
922 -+
923 -+if test "$use_mythtv" = "yes"; then
924 -+ final_message="$final_message\n MythTV:\tYes"
925 -+ USE_MYTHTV=1
926 -+else
927 -+ final_message="$final_message\n MythTV:\tNo"
928 -+ USE_MYTHTV=0
929 -+fi
930 -+
931 - if test "$use_webserver" = "yes"; then
932 - final_message="$final_message\n Webserver:\tYes"
933 - USE_WEB_SERVER=1
934 -@@ -2675,6 +2693,7 @@ AC_SUBST(USE_LIBUDEV)
935 - AC_SUBST(USE_LIBUSB)
936 - AC_SUBST(USE_LIBCEC)
937 - AC_SUBST(USE_MYSQL)
938 -+AC_SUBST(USE_MYTHTV)
939 - AC_SUBST(USE_WAYLAND)
940 -
941
942 diff --git a/media-tv/xbmc/metadata.xml b/media-tv/xbmc/metadata.xml
943 deleted file mode 100644
944 index 42978c8..0000000
945 --- a/media-tv/xbmc/metadata.xml
946 +++ /dev/null
947 @@ -1,32 +0,0 @@
948 -<?xml version="1.0" encoding="UTF-8"?>
949 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
950 -<pkgmetadata>
951 -<maintainer type="person">
952 - <email>vapier@g.o</email>
953 -</maintainer>
954 -<maintainer type="project">
955 - <email>media-video@g.o</email>
956 - <name>Gentoo Video project</name>
957 -</maintainer>
958 -<use>
959 - <flag name="airplay">enable AirPlay support</flag>
960 - <flag name="bluray">Enable playback of Blu-ray filesystems</flag>
961 - <flag name="cec">Enable support for HDMI-CEC devices via libcec</flag>
962 - <flag name="fishbmc">Enable fishBMC visualization plugin</flag>
963 - <flag name="gles">Enable support for GLES</flag>
964 - <flag name="goom">Enable GOOM visualization plugin</flag>
965 - <flag name="midi">Support MIDI files</flag>
966 - <flag name="nfs">Enable NFS client support</flag>
967 - <flag name="projectm">Enable projectM visualization plugin</flag>
968 - <flag name="pvr">Enable MythTV support</flag>
969 - <flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
970 - <flag name="rsxs">Enable really slick X screensavers</flag>
971 - <flag name="sftp">Support browsing files over SFTP</flag>
972 - <flag name="webserver">Enable internal webserver</flag>
973 - <flag name="xrandr">Support X randr extension</flag>
974 -</use>
975 -<upstream>
976 - <bugs-to>http://trac.kodi.tv/</bugs-to>
977 - <remote-id type="github">xbmc/xbmc</remote-id>
978 -</upstream>
979 -</pkgmetadata>
980
981 diff --git a/media-tv/xbmc/xbmc-11.0.ebuild b/media-tv/xbmc/xbmc-11.0.ebuild
982 deleted file mode 100644
983 index 978781f..0000000
984 --- a/media-tv/xbmc/xbmc-11.0.ebuild
985 +++ /dev/null
986 @@ -1,238 +0,0 @@
987 -# Copyright 1999-2015 Gentoo Foundation
988 -# Distributed under the terms of the GNU General Public License v2
989 -# $Id$
990 -
991 -EAPI="4"
992 -
993 -# Does not work with py3 here
994 -# It might work with py:2.5 but I didn't test that
995 -PYTHON_DEPEND="2:2.6"
996 -PYTHON_USE_WITH=sqlite
997 -
998 -inherit eutils python
999 -
1000 -EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
1001 -if [[ ${PV} == "9999" ]] ; then
1002 - inherit git-2 autotools
1003 -else
1004 - inherit autotools
1005 - MY_P=${P/_/-*_}
1006 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz"
1007 - KEYWORDS="amd64 x86"
1008 - S=${WORKDIR}/${MY_P}
1009 -fi
1010 -
1011 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
1012 -HOMEPAGE="http://xbmc.org/"
1013 -
1014 -LICENSE="GPL-2"
1015 -SLOT="0"
1016 -IUSE="airplay alsa altivec avahi bluetooth bluray cec css debug goom joystick midi mysql profile +projectm pulseaudio pvr +rsxs rtmp +samba cpu_flags_x86_sse cpu_flags_x86_sse2 udisks upower vaapi vdpau webserver +xrandr"
1017 -REQUIRED_USE="pvr? ( mysql )"
1018 -
1019 -COMMON_DEPEND="virtual/glu
1020 - virtual/opengl
1021 - app-arch/bzip2
1022 - app-arch/unzip
1023 - app-arch/zip
1024 - app-i18n/enca
1025 - airplay? ( app-pda/libplist )
1026 - >=dev-lang/python-2.4
1027 - dev-libs/boost
1028 - dev-libs/fribidi
1029 - dev-libs/libcdio[-minimal]
1030 - cec? ( dev-libs/libcec )
1031 - dev-libs/libpcre[cxx]
1032 - >=dev-libs/lzo-2.04
1033 - dev-libs/yajl
1034 - dev-python/simplejson
1035 - media-libs/alsa-lib
1036 - media-libs/flac
1037 - media-libs/fontconfig
1038 - media-libs/freetype
1039 - >=media-libs/glew-1.5.6
1040 - media-libs/jasper
1041 - media-libs/jbigkit
1042 - virtual/jpeg
1043 - >=media-libs/libass-0.9.7
1044 - bluray? ( media-libs/libbluray )
1045 - css? ( media-libs/libdvdcss )
1046 - media-libs/libmad
1047 - media-libs/libmodplug
1048 - media-libs/libmpeg2
1049 - media-libs/libogg
1050 - media-libs/libpng
1051 - projectm? ( media-libs/libprojectm )
1052 - media-libs/libsamplerate
1053 - media-libs/libsdl[sound,opengl,video,X]
1054 - alsa? ( media-libs/libsdl[alsa] )
1055 - media-libs/libvorbis
1056 - media-libs/sdl-gfx
1057 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
1058 - media-libs/sdl-mixer
1059 - media-libs/sdl-sound
1060 - media-libs/tiff
1061 - pulseaudio? ( media-sound/pulseaudio )
1062 - media-sound/wavpack
1063 - || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg:0 )
1064 - >=virtual/ffmpeg-0.6[encode]
1065 - rtmp? ( media-video/rtmpdump )
1066 - avahi? ( net-dns/avahi )
1067 - webserver? ( net-libs/libmicrohttpd )
1068 - net-misc/curl
1069 - samba? ( >=net-fs/samba-3.4.6[smbclient] )
1070 - bluetooth? ( net-wireless/bluez )
1071 - sys-apps/dbus
1072 - sys-libs/zlib
1073 - mysql? ( virtual/mysql )
1074 - x11-apps/xdpyinfo
1075 - x11-apps/mesa-progs
1076 - vaapi? ( x11-libs/libva[opengl] )
1077 - vdpau? (
1078 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
1079 - virtual/ffmpeg[vdpau]
1080 - )
1081 - x11-libs/libXinerama
1082 - xrandr? ( x11-libs/libXrandr )
1083 - x11-libs/libXrender"
1084 -RDEPEND="${COMMON_DEPEND}
1085 - !media-tv/kodi
1086 - udisks? ( sys-fs/udisks:0 )
1087 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
1088 -DEPEND="${COMMON_DEPEND}
1089 - dev-util/gperf
1090 - x11-proto/xineramaproto
1091 - dev-util/cmake
1092 - x86? ( dev-lang/nasm )"
1093 -
1094 -pkg_setup() {
1095 - python_set_active_version 2
1096 - python_pkg_setup
1097 -}
1098 -
1099 -src_unpack() {
1100 - if [[ ${PV} == "9999" ]] ; then
1101 - git-2_src_unpack
1102 - cd "${S}"
1103 - rm -f configure
1104 - else
1105 - unpack ${A}
1106 - cd "${S}"
1107 - fi
1108 -
1109 - # Fix case sensitivity
1110 - mv media/Fonts/{a,A}rial.ttf || die
1111 - mv media/{S,s}plash.png || die
1112 -}
1113 -
1114 -src_prepare() {
1115 - epatch "${FILESDIR}"/${PN}-11.0-nomythtv.patch
1116 - epatch "${FILESDIR}"/${PN}-11.0-no-arm-flags.patch #400617
1117 - epatch "${FILESDIR}"/${PN}-11.0-no-exec-stack.patch
1118 - epatch "${FILESDIR}"/${PN}-11.0-ffmpeg-0.10.2.patch #406215
1119 - epatch "${FILESDIR}"/${PN}-11.0-libav.patch #406215
1120 - epatch "${FILESDIR}"/${PN}-11.0-ffmpeg.patch #406215
1121 - epatch "${FILESDIR}"/${P}-nfs-limits.patch #445174
1122 - # The mythtv patch touches configure.ac, so force a regen
1123 - rm -f configure
1124 -
1125 - # some dirs ship generated autotools, some dont
1126 - local d
1127 - for d in \
1128 - . \
1129 - lib/{libdvd/lib*/,cpluff,libapetag,libid3tag/libid3tag} \
1130 - xbmc/screensavers/rsxs-* \
1131 - xbmc/visualizations/Goom/goom2k4-0
1132 - do
1133 - [[ -e ${d}/configure ]] && continue
1134 - pushd ${d} >/dev/null
1135 - eautoreconf
1136 - popd >/dev/null
1137 - done
1138 -
1139 - local squish #290564
1140 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
1141 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
1142 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
1143 - sed -i \
1144 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
1145 - -e "1iCXXFLAGS += ${squish}" \
1146 - lib/libsquish/Makefile.in || die
1147 -
1148 - # Disable internal func checks as our USE/DEPEND
1149 - # stuff handles this just fine already #408395
1150 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
1151 -
1152 - # Fix XBMC's final version string showing as "exported"
1153 - # instead of the SVN revision number.
1154 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
1155 -
1156 - # Avoid lsb-release dependency
1157 - sed -i \
1158 - -e 's:lsb_release -d:cat /etc/gentoo-release:' \
1159 - xbmc/utils/SystemInfo.cpp || die
1160 -
1161 - # avoid long delays when powerkit isn't running #348580
1162 - sed -i \
1163 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
1164 - xbmc/linux/*.cpp || die
1165 -
1166 - epatch_user #293109
1167 -
1168 - # Tweak autotool timestamps to avoid regeneration
1169 - find . -type f -print0 | xargs -0 touch -r configure
1170 -}
1171 -
1172 -src_configure() {
1173 - # Disable documentation generation
1174 - export ac_cv_path_LATEX=no
1175 - # Avoid help2man
1176 - export HELP2MAN=$(type -P help2man || echo true)
1177 - # No configure flage for this #403561
1178 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
1179 -
1180 - econf \
1181 - --docdir=/usr/share/doc/${PF} \
1182 - --disable-ccache \
1183 - --disable-optimizations \
1184 - --enable-external-libraries \
1185 - --enable-gl \
1186 - $(use_enable airplay) \
1187 - $(use_enable avahi) \
1188 - $(use_enable bluray libbluray) \
1189 - $(use_enable cec libcec) \
1190 - $(use_enable css dvdcss) \
1191 - $(use_enable debug) \
1192 - $(use_enable goom) \
1193 - --disable-hal \
1194 - $(use_enable joystick) \
1195 - $(use_enable midi mid) \
1196 - $(use_enable mysql) \
1197 - $(use_enable profile profiling) \
1198 - $(use_enable projectm) \
1199 - $(use_enable pulseaudio pulse) \
1200 - $(use_enable pvr mythtv) \
1201 - $(use_enable rsxs) \
1202 - $(use_enable rtmp) \
1203 - $(use_enable samba) \
1204 - $(use_enable vaapi) \
1205 - $(use_enable vdpau) \
1206 - $(use_enable webserver) \
1207 - $(use_enable xrandr)
1208 -}
1209 -
1210 -src_install() {
1211 - default
1212 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
1213 -
1214 - domenu tools/Linux/xbmc.desktop
1215 - newicon tools/Linux/xbmc-48x48.png xbmc.png
1216 -
1217 - insinto "$(python_get_sitedir)" #309885
1218 - doins tools/EventClients/lib/python/xbmcclient.py || die
1219 - newbin "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send || die
1220 -}
1221 -
1222 -pkg_postinst() {
1223 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
1224 -}
1225
1226 diff --git a/media-tv/xbmc/xbmc-12.1-r1.ebuild b/media-tv/xbmc/xbmc-12.1-r1.ebuild
1227 deleted file mode 100644
1228 index d02d76c..0000000
1229 --- a/media-tv/xbmc/xbmc-12.1-r1.ebuild
1230 +++ /dev/null
1231 @@ -1,267 +0,0 @@
1232 -# Copyright 1999-2015 Gentoo Foundation
1233 -# Distributed under the terms of the GNU General Public License v2
1234 -# $Id$
1235 -
1236 -EAPI="5"
1237 -
1238 -# Does not work with py3 here
1239 -# It might work with py:2.5 but I didn't test that
1240 -PYTHON_COMPAT=( python2_7 )
1241 -PYTHON_REQ_USE="sqlite"
1242 -
1243 -inherit eutils python-single-r1 multiprocessing autotools
1244 -
1245 -case ${PV} in
1246 -9999)
1247 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
1248 - inherit git-2
1249 - SRC_URI="!java? ( mirror://gentoo/${P}-20121224-generated-addons.tar.xz )"
1250 - ;;
1251 -*_alpha*|*_beta*|*_rc*)
1252 - MY_PV="Frodo_${PV#*_}"
1253 - MY_P="${PN}-${MY_PV}"
1254 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
1255 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
1256 - KEYWORDS="~amd64 ~x86"
1257 - ;;
1258 -*)
1259 - MY_P=${P/_/-*_}
1260 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz"
1261 - KEYWORDS="~amd64 ~x86"
1262 - ;;
1263 -esac
1264 -
1265 -# libav patchset
1266 -SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/xbmc-12-libav.tar.xz"
1267 -
1268 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
1269 -HOMEPAGE="http://xbmc.org/"
1270 -
1271 -LICENSE="GPL-2"
1272 -SLOT="0"
1273 -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 cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
1274 -REQUIRED_USE="
1275 - pvr? ( mysql )
1276 - rsxs? ( X )
1277 - X? ( sdl )
1278 - xrandr? ( X )
1279 -"
1280 -
1281 -COMMON_DEPEND="${PYTHON_DEPS}
1282 - app-arch/bzip2
1283 - app-arch/unzip
1284 - app-arch/zip
1285 - app-i18n/enca
1286 - airplay? ( app-pda/libplist )
1287 - dev-libs/boost
1288 - dev-libs/fribidi
1289 - dev-libs/libcdio[-minimal]
1290 - cec? ( >=dev-libs/libcec-2.1 )
1291 - dev-libs/libpcre[cxx]
1292 - >=dev-libs/lzo-2.04
1293 - dev-libs/tinyxml[stl]
1294 - dev-libs/yajl
1295 - dev-python/simplejson[${PYTHON_USEDEP}]
1296 - media-libs/alsa-lib
1297 - media-libs/flac
1298 - media-libs/fontconfig
1299 - media-libs/freetype
1300 - >=media-libs/glew-1.5.6
1301 - media-libs/jasper
1302 - media-libs/jbigkit
1303 - >=media-libs/libass-0.9.7
1304 - bluray? ( media-libs/libbluray )
1305 - css? ( media-libs/libdvdcss )
1306 - media-libs/libmad
1307 - media-libs/libmodplug
1308 - media-libs/libmpeg2
1309 - media-libs/libogg
1310 - media-libs/libpng
1311 - projectm? ( media-libs/libprojectm )
1312 - media-libs/libsamplerate
1313 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
1314 - alsa? ( media-libs/libsdl[alsa] )
1315 - >=media-libs/taglib-1.8
1316 - media-libs/libvorbis
1317 - sdl? (
1318 - media-libs/sdl-gfx
1319 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
1320 - media-libs/sdl-mixer
1321 - media-libs/sdl-sound
1322 - )
1323 - media-libs/tiff
1324 - pulseaudio? ( media-sound/pulseaudio )
1325 - media-sound/wavpack
1326 - || ( media-libs/libpostproc media-video/ffmpeg:0 )
1327 - >=virtual/ffmpeg-9[encode]
1328 - rtmp? ( media-video/rtmpdump )
1329 - avahi? ( net-dns/avahi )
1330 - nfs? ( net-fs/libnfs )
1331 - webserver? ( net-libs/libmicrohttpd[messages] )
1332 - sftp? ( net-libs/libssh[sftp] )
1333 - net-misc/curl
1334 - samba? ( >=net-fs/samba-3.4.6[smbclient] )
1335 - bluetooth? ( net-wireless/bluez )
1336 - sys-apps/dbus
1337 - caps? ( sys-libs/libcap )
1338 - sys-libs/zlib
1339 - virtual/jpeg
1340 - usb? ( virtual/libusb )
1341 - mysql? ( virtual/mysql )
1342 - opengl? (
1343 - virtual/glu
1344 - virtual/opengl
1345 - )
1346 - gles? ( virtual/opengl )
1347 - vaapi? ( x11-libs/libva[opengl] )
1348 - vdpau? (
1349 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
1350 - virtual/ffmpeg[vdpau]
1351 - )
1352 - X? (
1353 - x11-apps/xdpyinfo
1354 - x11-apps/mesa-progs
1355 - x11-libs/libXinerama
1356 - xrandr? ( x11-libs/libXrandr )
1357 - x11-libs/libXrender
1358 - )"
1359 -RDEPEND="${COMMON_DEPEND}
1360 - !media-tv/kodi
1361 - udisks? ( sys-fs/udisks:0 )
1362 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
1363 -DEPEND="${COMMON_DEPEND}
1364 - app-arch/xz-utils
1365 - dev-lang/swig
1366 - dev-util/gperf
1367 - X? ( x11-proto/xineramaproto )
1368 - dev-util/cmake
1369 - x86? ( dev-lang/nasm )
1370 - java? ( virtual/jre )"
1371 -
1372 -S=${WORKDIR}/${MY_P}
1373 -
1374 -pkg_setup() {
1375 - python-single-r1_pkg_setup
1376 -}
1377 -
1378 -src_unpack() {
1379 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
1380 -}
1381 -
1382 -src_prepare() {
1383 - epatch "${FILESDIR}"/${PN}-12.1-nomythtv.patch
1384 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
1385 - # The mythtv patch touches configure.ac, so force a regen
1386 - rm -f configure
1387 -
1388 - # libav patchset
1389 - EPATCH_FORCE="yes" \
1390 - EPATCH_SOURCE="${WORKDIR}" \
1391 - EPATCH_SUFFIX="patch" \
1392 - epatch
1393 -
1394 - # some dirs ship generated autotools, some dont
1395 - multijob_init
1396 - local d
1397 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
1398 - [[ -e ${d} ]] && continue
1399 - pushd ${d/%configure/.} >/dev/null || die
1400 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
1401 - multijob_child_init eautoreconf
1402 - popd >/dev/null
1403 - done
1404 - multijob_finish
1405 - elibtoolize
1406 -
1407 - # Disable internal func checks as our USE/DEPEND
1408 - # stuff handles this just fine already #408395
1409 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
1410 -
1411 - local squish #290564
1412 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
1413 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
1414 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
1415 - sed -i \
1416 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
1417 - -e "1iCXXFLAGS += ${squish}" \
1418 - lib/libsquish/Makefile.in || die
1419 -
1420 - # Fix XBMC's final version string showing as "exported"
1421 - # instead of the SVN revision number.
1422 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
1423 -
1424 - # avoid long delays when powerkit isn't running #348580
1425 - sed -i \
1426 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
1427 - xbmc/linux/*.cpp || die
1428 -
1429 - epatch_user #293109
1430 -
1431 - # Tweak autotool timestamps to avoid regeneration
1432 - find . -type f -print0 | xargs -0 touch -r configure
1433 -}
1434 -
1435 -src_configure() {
1436 - # Disable documentation generation
1437 - export ac_cv_path_LATEX=no
1438 - # Avoid help2man
1439 - export HELP2MAN=$(type -P help2man || echo true)
1440 - # No configure flage for this #403561
1441 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
1442 - # Requiring java is asine #434662
1443 - export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
1444 -
1445 - econf \
1446 - --docdir=/usr/share/doc/${PF} \
1447 - --disable-ccache \
1448 - --disable-optimizations \
1449 - --enable-external-libraries \
1450 - $(use_enable airplay) \
1451 - $(use_enable avahi) \
1452 - $(use_enable bluray libbluray) \
1453 - $(use_enable caps libcap) \
1454 - $(use_enable cec libcec) \
1455 - $(use_enable css dvdcss) \
1456 - $(use_enable debug) \
1457 - $(use_enable gles) \
1458 - $(use_enable goom) \
1459 - --disable-hal \
1460 - $(use_enable joystick) \
1461 - $(use_enable midi mid) \
1462 - $(use_enable mysql) \
1463 - $(use_enable neon) \
1464 - $(use_enable nfs) \
1465 - $(use_enable opengl gl) \
1466 - $(use_enable profile profiling) \
1467 - $(use_enable projectm) \
1468 - --with-projectm-presets-dir="${EPREFIX}/usr/share/projectM/presets/" \
1469 - $(use_enable pulseaudio pulse) \
1470 - $(use_enable pvr mythtv) \
1471 - $(use_enable rsxs) \
1472 - $(use_enable rtmp) \
1473 - $(use_enable samba) \
1474 - $(use_enable sdl) \
1475 - $(use_enable sftp ssh) \
1476 - $(use_enable usb libusb) \
1477 - $(use_enable upnp) \
1478 - $(use_enable vaapi) \
1479 - $(use_enable vdpau) \
1480 - $(use_enable webserver) \
1481 - $(use_enable X x11) \
1482 - $(use_enable xrandr)
1483 -}
1484 -
1485 -src_install() {
1486 - default
1487 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
1488 -
1489 - domenu tools/Linux/xbmc.desktop
1490 - newicon tools/Linux/xbmc-48x48.png xbmc.png
1491 -
1492 - python_domodule tools/EventClients/lib/python/xbmcclient.py
1493 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
1494 -}
1495 -
1496 -pkg_postinst() {
1497 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
1498 -}
1499
1500 diff --git a/media-tv/xbmc/xbmc-12.2-r1.ebuild b/media-tv/xbmc/xbmc-12.2-r1.ebuild
1501 deleted file mode 100644
1502 index a5d2a1f..0000000
1503 --- a/media-tv/xbmc/xbmc-12.2-r1.ebuild
1504 +++ /dev/null
1505 @@ -1,264 +0,0 @@
1506 -# Copyright 1999-2015 Gentoo Foundation
1507 -# Distributed under the terms of the GNU General Public License v2
1508 -# $Id$
1509 -
1510 -EAPI="5"
1511 -
1512 -# Does not work with py3 here
1513 -# It might work with py:2.5 but I didn't test that
1514 -PYTHON_COMPAT=( python2_7 )
1515 -PYTHON_REQ_USE="sqlite"
1516 -
1517 -inherit eutils python-single-r1 multiprocessing autotools
1518 -
1519 -BACKPORTS_VERSION=1
1520 -
1521 -case ${PV} in
1522 -9999)
1523 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
1524 - inherit git-2
1525 - SRC_URI="!java? ( mirror://gentoo/${P}-20121224-generated-addons.tar.xz )"
1526 - ;;
1527 -*_alpha*|*_beta*|*_rc*)
1528 - MY_PV="Frodo_${PV#*_}"
1529 - MY_P="${PN}-${MY_PV}"
1530 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
1531 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
1532 - KEYWORDS="amd64 x86"
1533 - ;;
1534 -*)
1535 - MY_P=${P/_/-*_}
1536 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz
1537 - mirror://gentoo/${PN}_backports-12-${BACKPORTS_VERSION}.tar.bz2"
1538 - KEYWORDS="amd64 x86"
1539 - ;;
1540 -esac
1541 -
1542 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
1543 -HOMEPAGE="http://xbmc.org/"
1544 -
1545 -LICENSE="GPL-2"
1546 -SLOT="0"
1547 -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 cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
1548 -REQUIRED_USE="
1549 - pvr? ( mysql )
1550 - rsxs? ( X )
1551 - X? ( sdl )
1552 - xrandr? ( X )
1553 -"
1554 -
1555 -COMMON_DEPEND="${PYTHON_DEPS}
1556 - app-arch/bzip2
1557 - app-arch/unzip
1558 - app-arch/zip
1559 - app-i18n/enca
1560 - airplay? ( app-pda/libplist )
1561 - dev-libs/boost
1562 - dev-libs/fribidi
1563 - dev-libs/libcdio[-minimal]
1564 - cec? ( >=dev-libs/libcec-2.1 )
1565 - dev-libs/libpcre[cxx]
1566 - >=dev-libs/lzo-2.04
1567 - dev-libs/tinyxml[stl]
1568 - dev-libs/yajl
1569 - dev-python/simplejson[${PYTHON_USEDEP}]
1570 - media-libs/alsa-lib
1571 - media-libs/flac
1572 - media-libs/fontconfig
1573 - media-libs/freetype
1574 - >=media-libs/glew-1.5.6
1575 - media-libs/jasper
1576 - media-libs/jbigkit
1577 - >=media-libs/libass-0.9.7
1578 - bluray? ( media-libs/libbluray )
1579 - css? ( media-libs/libdvdcss )
1580 - media-libs/libmad
1581 - media-libs/libmodplug
1582 - media-libs/libmpeg2
1583 - media-libs/libogg
1584 - media-libs/libpng
1585 - projectm? ( media-libs/libprojectm )
1586 - media-libs/libsamplerate
1587 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
1588 - alsa? ( media-libs/libsdl[alsa] )
1589 - >=media-libs/taglib-1.8
1590 - media-libs/libvorbis
1591 - sdl? (
1592 - media-libs/sdl-gfx
1593 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
1594 - media-libs/sdl-mixer
1595 - media-libs/sdl-sound
1596 - )
1597 - media-libs/tiff
1598 - pulseaudio? ( media-sound/pulseaudio )
1599 - media-sound/wavpack
1600 - || ( media-libs/libpostproc media-video/ffmpeg:0 )
1601 - >=virtual/ffmpeg-0.6[encode]
1602 - rtmp? ( media-video/rtmpdump )
1603 - avahi? ( net-dns/avahi )
1604 - nfs? ( net-fs/libnfs )
1605 - webserver? ( net-libs/libmicrohttpd[messages] )
1606 - sftp? ( net-libs/libssh[sftp] )
1607 - net-misc/curl
1608 - samba? ( >=net-fs/samba-3.4.6[smbclient] )
1609 - bluetooth? ( net-wireless/bluez )
1610 - sys-apps/dbus
1611 - caps? ( sys-libs/libcap )
1612 - sys-libs/zlib
1613 - virtual/jpeg
1614 - usb? ( virtual/libusb )
1615 - mysql? ( virtual/mysql )
1616 - opengl? (
1617 - virtual/glu
1618 - virtual/opengl
1619 - )
1620 - gles? ( virtual/opengl )
1621 - vaapi? ( x11-libs/libva[opengl] )
1622 - vdpau? (
1623 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
1624 - virtual/ffmpeg[vdpau]
1625 - )
1626 - X? (
1627 - x11-apps/xdpyinfo
1628 - x11-apps/mesa-progs
1629 - x11-libs/libXinerama
1630 - xrandr? ( x11-libs/libXrandr )
1631 - x11-libs/libXrender
1632 - )"
1633 -RDEPEND="${COMMON_DEPEND}
1634 - !media-tv/kodi
1635 - udisks? ( sys-fs/udisks:0 )
1636 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
1637 -DEPEND="${COMMON_DEPEND}
1638 - app-arch/xz-utils
1639 - dev-lang/swig
1640 - dev-util/gperf
1641 - X? ( x11-proto/xineramaproto )
1642 - dev-util/cmake
1643 - x86? ( dev-lang/nasm )
1644 - java? ( virtual/jre )"
1645 -
1646 -S=${WORKDIR}/${MY_P}
1647 -
1648 -pkg_setup() {
1649 - python-single-r1_pkg_setup
1650 -}
1651 -
1652 -src_unpack() {
1653 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
1654 -}
1655 -
1656 -src_prepare() {
1657 - epatch "${FILESDIR}"/${PN}-12.1-nomythtv.patch
1658 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
1659 - # Backported fixes
1660 - EPATCH_MULTI_MSG="Applying patches backported from master..." \
1661 - EPATCH_SUFFIX="patch" \
1662 - epatch "${WORKDIR}/${PN}_backports"
1663 - # The mythtv patch touches configure.ac, so force a regen
1664 - rm -f configure
1665 -
1666 - # some dirs ship generated autotools, some dont
1667 - multijob_init
1668 - local d
1669 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
1670 - [[ -e ${d} ]] && continue
1671 - pushd ${d/%configure/.} >/dev/null || die
1672 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
1673 - multijob_child_init eautoreconf
1674 - popd >/dev/null
1675 - done
1676 - multijob_finish
1677 - elibtoolize
1678 -
1679 - # Disable internal func checks as our USE/DEPEND
1680 - # stuff handles this just fine already #408395
1681 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
1682 -
1683 - local squish #290564
1684 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
1685 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
1686 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
1687 - sed -i \
1688 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
1689 - -e "1iCXXFLAGS += ${squish}" \
1690 - lib/libsquish/Makefile.in || die
1691 -
1692 - # Fix XBMC's final version string showing as "exported"
1693 - # instead of the SVN revision number.
1694 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
1695 -
1696 - # avoid long delays when powerkit isn't running #348580
1697 - sed -i \
1698 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
1699 - xbmc/linux/*.cpp || die
1700 -
1701 - epatch_user #293109
1702 -
1703 - # Tweak autotool timestamps to avoid regeneration
1704 - find . -type f -print0 | xargs -0 touch -r configure
1705 -}
1706 -
1707 -src_configure() {
1708 - # Disable documentation generation
1709 - export ac_cv_path_LATEX=no
1710 - # Avoid help2man
1711 - export HELP2MAN=$(type -P help2man || echo true)
1712 - # No configure flage for this #403561
1713 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
1714 - # Requiring java is asine #434662
1715 - export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
1716 -
1717 - econf \
1718 - --docdir=/usr/share/doc/${PF} \
1719 - --disable-ccache \
1720 - --disable-optimizations \
1721 - --enable-external-libraries \
1722 - $(use_enable airplay) \
1723 - $(use_enable avahi) \
1724 - $(use_enable bluray libbluray) \
1725 - $(use_enable caps libcap) \
1726 - $(use_enable cec libcec) \
1727 - $(use_enable css dvdcss) \
1728 - $(use_enable debug) \
1729 - $(use_enable gles) \
1730 - $(use_enable goom) \
1731 - --disable-hal \
1732 - $(use_enable joystick) \
1733 - $(use_enable midi mid) \
1734 - $(use_enable mysql) \
1735 - $(use_enable neon) \
1736 - $(use_enable nfs) \
1737 - $(use_enable opengl gl) \
1738 - $(use_enable profile profiling) \
1739 - $(use_enable projectm) \
1740 - $(use_enable pulseaudio pulse) \
1741 - $(use_enable pvr mythtv) \
1742 - $(use_enable rsxs) \
1743 - $(use_enable rtmp) \
1744 - $(use_enable samba) \
1745 - $(use_enable sdl) \
1746 - $(use_enable sftp ssh) \
1747 - $(use_enable usb libusb) \
1748 - $(use_enable upnp) \
1749 - $(use_enable vaapi) \
1750 - $(use_enable vdpau) \
1751 - $(use_enable webserver) \
1752 - $(use_enable X x11) \
1753 - $(use_enable xrandr)
1754 -}
1755 -
1756 -src_install() {
1757 - default
1758 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
1759 -
1760 - domenu tools/Linux/xbmc.desktop
1761 - newicon tools/Linux/xbmc-48x48.png xbmc.png
1762 -
1763 - python_domodule tools/EventClients/lib/python/xbmcclient.py
1764 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
1765 -}
1766 -
1767 -pkg_postinst() {
1768 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
1769 -}
1770
1771 diff --git a/media-tv/xbmc/xbmc-12.3.ebuild b/media-tv/xbmc/xbmc-12.3.ebuild
1772 deleted file mode 100644
1773 index 3ecead5..0000000
1774 --- a/media-tv/xbmc/xbmc-12.3.ebuild
1775 +++ /dev/null
1776 @@ -1,269 +0,0 @@
1777 -# Copyright 1999-2015 Gentoo Foundation
1778 -# Distributed under the terms of the GNU General Public License v2
1779 -# $Id$
1780 -
1781 -EAPI="5"
1782 -
1783 -# Does not work with py3 here
1784 -# It might work with py:2.5 but I didn't test that
1785 -PYTHON_COMPAT=( python2_7 )
1786 -PYTHON_REQ_USE="sqlite"
1787 -
1788 -inherit eutils python-single-r1 multiprocessing autotools
1789 -
1790 -BACKPORTS_VERSION=1
1791 -
1792 -case ${PV} in
1793 -9999)
1794 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
1795 - inherit git-2
1796 - SRC_URI="!java? ( mirror://gentoo/${P}-20121224-generated-addons.tar.xz )"
1797 - ;;
1798 -*_alpha*|*_beta*|*_rc*)
1799 - MY_PV="Frodo_${PV#*_}"
1800 - MY_P="${PN}-${MY_PV}"
1801 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
1802 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
1803 - KEYWORDS="~amd64 ~x86"
1804 - ;;
1805 -*)
1806 - MY_P=${P/_/-*_}
1807 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz
1808 - mirror://gentoo/${PN}_backports-12-${BACKPORTS_VERSION}.tar.bz2
1809 - mirror://gentoo/${P}-generated-addons.tar.xz"
1810 - KEYWORDS="~amd64 ~x86"
1811 - ;;
1812 -esac
1813 -
1814 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
1815 -HOMEPAGE="http://xbmc.org/"
1816 -
1817 -LICENSE="GPL-2"
1818 -SLOT="0"
1819 -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 cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
1820 -REQUIRED_USE="
1821 - pvr? ( mysql )
1822 - rsxs? ( X )
1823 - X? ( sdl )
1824 - xrandr? ( X )
1825 -"
1826 -
1827 -COMMON_DEPEND="${PYTHON_DEPS}
1828 - app-arch/bzip2
1829 - app-arch/unzip
1830 - app-arch/zip
1831 - app-i18n/enca
1832 - airplay? ( app-pda/libplist )
1833 - dev-libs/boost
1834 - dev-libs/fribidi
1835 - dev-libs/libcdio[-minimal]
1836 - cec? ( >=dev-libs/libcec-2.1 )
1837 - dev-libs/libpcre[cxx]
1838 - >=dev-libs/lzo-2.04
1839 - dev-libs/tinyxml[stl]
1840 - dev-libs/yajl
1841 - dev-python/simplejson[${PYTHON_USEDEP}]
1842 - media-libs/alsa-lib
1843 - media-libs/flac
1844 - media-libs/fontconfig
1845 - media-libs/freetype
1846 - >=media-libs/glew-1.5.6
1847 - media-libs/jasper
1848 - media-libs/jbigkit
1849 - >=media-libs/libass-0.9.7
1850 - bluray? ( media-libs/libbluray )
1851 - css? ( media-libs/libdvdcss )
1852 - media-libs/libmad
1853 - media-libs/libmodplug
1854 - media-libs/libmpeg2
1855 - media-libs/libogg
1856 - media-libs/libpng
1857 - projectm? ( media-libs/libprojectm )
1858 - media-libs/libsamplerate
1859 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
1860 - alsa? ( media-libs/libsdl[alsa] )
1861 - >=media-libs/taglib-1.8
1862 - media-libs/libvorbis
1863 - sdl? (
1864 - media-libs/sdl-gfx
1865 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
1866 - media-libs/sdl-mixer
1867 - media-libs/sdl-sound
1868 - )
1869 - media-libs/tiff
1870 - pulseaudio? ( media-sound/pulseaudio )
1871 - media-sound/wavpack
1872 - || ( media-libs/libpostproc media-video/ffmpeg:0 )
1873 - >=virtual/ffmpeg-0.6[encode]
1874 - rtmp? ( media-video/rtmpdump )
1875 - avahi? ( net-dns/avahi )
1876 - nfs? ( net-fs/libnfs )
1877 - webserver? ( net-libs/libmicrohttpd[messages] )
1878 - sftp? ( net-libs/libssh[sftp] )
1879 - net-misc/curl
1880 - samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
1881 - bluetooth? ( net-wireless/bluez )
1882 - sys-apps/dbus
1883 - caps? ( sys-libs/libcap )
1884 - sys-libs/zlib
1885 - virtual/jpeg
1886 - usb? ( virtual/libusb )
1887 - mysql? ( virtual/mysql )
1888 - opengl? (
1889 - virtual/glu
1890 - virtual/opengl
1891 - )
1892 - gles? (
1893 - virtual/opengl
1894 - media-libs/mesa[gles2]
1895 - )
1896 - vaapi? ( x11-libs/libva[opengl] )
1897 - vdpau? (
1898 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
1899 - virtual/ffmpeg[vdpau]
1900 - )
1901 - X? (
1902 - x11-apps/xdpyinfo
1903 - x11-apps/mesa-progs
1904 - x11-libs/libXinerama
1905 - xrandr? ( x11-libs/libXrandr )
1906 - x11-libs/libXrender
1907 - )"
1908 -RDEPEND="${COMMON_DEPEND}
1909 - !media-tv/kodi
1910 - udisks? ( sys-fs/udisks:0 )
1911 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
1912 -DEPEND="${COMMON_DEPEND}
1913 - app-arch/xz-utils
1914 - dev-lang/swig
1915 - dev-util/gperf
1916 - X? ( x11-proto/xineramaproto )
1917 - dev-util/cmake
1918 - x86? ( dev-lang/nasm )
1919 - java? ( virtual/jre )"
1920 -
1921 -S=${WORKDIR}/${MY_P}-Frodo
1922 -
1923 -pkg_setup() {
1924 - python-single-r1_pkg_setup
1925 -}
1926 -
1927 -src_unpack() {
1928 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
1929 -}
1930 -
1931 -src_prepare() {
1932 - epatch "${FILESDIR}"/${PN}-12.1-nomythtv.patch
1933 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
1934 - epatch "${FILESDIR}"/${PN}-12.3-no-sse2.patch #475266
1935 - # Backported fixes
1936 - EPATCH_MULTI_MSG="Applying patches backported from master..." \
1937 - EPATCH_SUFFIX="patch" \
1938 - epatch "${WORKDIR}/${PN}_backports"
1939 - # The mythtv patch touches configure.ac, so force a regen
1940 - rm -f configure
1941 -
1942 - # some dirs ship generated autotools, some dont
1943 - multijob_init
1944 - local d
1945 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
1946 - [[ -e ${d} ]] && continue
1947 - pushd ${d/%configure/.} >/dev/null || die
1948 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
1949 - multijob_child_init eautoreconf
1950 - popd >/dev/null
1951 - done
1952 - multijob_finish
1953 - elibtoolize
1954 -
1955 - # Disable internal func checks as our USE/DEPEND
1956 - # stuff handles this just fine already #408395
1957 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
1958 -
1959 - local squish #290564
1960 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
1961 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
1962 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
1963 - sed -i \
1964 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
1965 - -e "1iCXXFLAGS += ${squish}" \
1966 - lib/libsquish/Makefile.in || die
1967 -
1968 - # Fix XBMC's final version string showing as "exported"
1969 - # instead of the SVN revision number.
1970 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
1971 -
1972 - # avoid long delays when powerkit isn't running #348580
1973 - sed -i \
1974 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
1975 - xbmc/linux/*.cpp || die
1976 -
1977 - epatch_user #293109
1978 -
1979 - # Tweak autotool timestamps to avoid regeneration
1980 - find . -type f -exec touch -r configure {} +
1981 -}
1982 -
1983 -src_configure() {
1984 - # Disable documentation generation
1985 - export ac_cv_path_LATEX=no
1986 - # Avoid help2man
1987 - export HELP2MAN=$(type -P help2man || echo true)
1988 - # No configure flage for this #403561
1989 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
1990 - # Requiring java is asine #434662
1991 - export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
1992 -
1993 - econf \
1994 - --docdir=/usr/share/doc/${PF} \
1995 - --disable-ccache \
1996 - --disable-optimizations \
1997 - --enable-external-libraries \
1998 - $(use_enable airplay) \
1999 - $(use_enable avahi) \
2000 - $(use_enable bluray libbluray) \
2001 - $(use_enable caps libcap) \
2002 - $(use_enable cec libcec) \
2003 - $(use_enable css dvdcss) \
2004 - $(use_enable debug) \
2005 - $(use_enable gles) \
2006 - $(use_enable goom) \
2007 - --disable-hal \
2008 - $(use_enable joystick) \
2009 - $(use_enable midi mid) \
2010 - $(use_enable mysql) \
2011 - $(use_enable neon) \
2012 - $(use_enable nfs) \
2013 - $(use_enable opengl gl) \
2014 - $(use_enable profile profiling) \
2015 - $(use_enable projectm) \
2016 - $(use_enable pulseaudio pulse) \
2017 - $(use_enable pvr mythtv) \
2018 - $(use_enable rsxs) \
2019 - $(use_enable rtmp) \
2020 - $(use_enable samba) \
2021 - $(use_enable sdl) \
2022 - $(use_enable sftp ssh) \
2023 - $(use_enable usb libusb) \
2024 - $(use_enable upnp) \
2025 - $(use_enable vaapi) \
2026 - $(use_enable vdpau) \
2027 - $(use_enable webserver) \
2028 - $(use_enable X x11) \
2029 - $(use_enable xrandr)
2030 -}
2031 -
2032 -src_install() {
2033 - default
2034 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
2035 -
2036 - domenu tools/Linux/xbmc.desktop
2037 - newicon tools/Linux/xbmc-48x48.png xbmc.png
2038 -
2039 - python_domodule tools/EventClients/lib/python/xbmcclient.py
2040 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
2041 -}
2042 -
2043 -pkg_postinst() {
2044 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
2045 -}
2046
2047 diff --git a/media-tv/xbmc/xbmc-13.0_p2.ebuild b/media-tv/xbmc/xbmc-13.0_p2.ebuild
2048 deleted file mode 100644
2049 index 765b6b0..0000000
2050 --- a/media-tv/xbmc/xbmc-13.0_p2.ebuild
2051 +++ /dev/null
2052 @@ -1,309 +0,0 @@
2053 -# Copyright 1999-2015 Gentoo Foundation
2054 -# Distributed under the terms of the GNU General Public License v2
2055 -# $Id$
2056 -
2057 -EAPI="5"
2058 -
2059 -# Does not work with py3 here
2060 -# It might work with py:2.5 but I didn't test that
2061 -PYTHON_COMPAT=( python2_7 )
2062 -PYTHON_REQ_USE="sqlite"
2063 -
2064 -inherit eutils python-single-r1 multiprocessing autotools
2065 -
2066 -CODENAME="Gotham"
2067 -case ${PV} in
2068 -9999)
2069 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
2070 - inherit git-2
2071 - #SRC_URI="!java? ( mirror://gentoo/${P}-20130413-generated-addons.tar.xz )"
2072 - ;;
2073 -*_alpha*|*_beta*|*_rc*)
2074 - MY_PV="${CODENAME}_${PV#*_}"
2075 - MY_P="${PN}-${MY_PV}"
2076 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
2077 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
2078 - KEYWORDS="~amd64 ~x86"
2079 - S=${WORKDIR}/${MY_P}
2080 - ;;
2081 -*|*_p*)
2082 - MY_PV=${PV/_p/_r}
2083 - MY_P="${PN}-${MY_PV}"
2084 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz
2085 - http://mirrors.xbmc.org/releases/source/${MY_P}-generated-addons.tar.xz"
2086 - KEYWORDS="~amd64 ~x86"
2087 -
2088 - S=${WORKDIR}/${PN}-
2089 - [[ ${PV} == *_p* ]] \
2090 - && S+=${PV/_p/-${CODENAME}_r} \
2091 - || S+=${MY_PV}
2092 - ;;
2093 -esac
2094 -
2095 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
2096 -HOMEPAGE="http://xbmc.org/"
2097 -
2098 -LICENSE="GPL-2"
2099 -SLOT="0"
2100 -IUSE="airplay alsa altivec avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba +sdl cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
2101 -REQUIRED_USE="
2102 - pvr? ( mysql )
2103 - rsxs? ( X )
2104 - X? ( sdl )
2105 - xrandr? ( X )
2106 -"
2107 -
2108 -COMMON_DEPEND="${PYTHON_DEPS}
2109 - app-arch/bzip2
2110 - app-arch/unzip
2111 - app-arch/zip
2112 - app-i18n/enca
2113 - airplay? ( app-pda/libplist )
2114 - dev-libs/boost
2115 - dev-libs/fribidi
2116 - dev-libs/libcdio[-minimal]
2117 - cec? ( >=dev-libs/libcec-2.1 )
2118 - dev-libs/libpcre[cxx]
2119 - >=dev-libs/lzo-2.04
2120 - dev-libs/tinyxml[stl]
2121 - dev-libs/yajl
2122 - dev-python/simplejson[${PYTHON_USEDEP}]
2123 - media-fonts/corefonts
2124 - media-fonts/roboto
2125 - media-libs/alsa-lib
2126 - media-libs/flac
2127 - media-libs/fontconfig
2128 - media-libs/freetype
2129 - >=media-libs/glew-1.5.6
2130 - media-libs/jasper
2131 - media-libs/jbigkit
2132 - >=media-libs/libass-0.9.7
2133 - bluray? ( media-libs/libbluray )
2134 - css? ( media-libs/libdvdcss )
2135 - media-libs/libmad
2136 - media-libs/libmodplug
2137 - media-libs/libmpeg2
2138 - media-libs/libogg
2139 - media-libs/libpng
2140 - projectm? ( media-libs/libprojectm )
2141 - media-libs/libsamplerate
2142 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
2143 - alsa? ( media-libs/libsdl[alsa] )
2144 - >=media-libs/taglib-1.8
2145 - media-libs/libvorbis
2146 - sdl? (
2147 - media-libs/sdl-gfx
2148 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
2149 - media-libs/sdl-mixer
2150 - media-libs/sdl-sound
2151 - )
2152 - media-libs/tiff
2153 - pulseaudio? ( media-sound/pulseaudio )
2154 - media-sound/wavpack
2155 - || ( >=media-video/ffmpeg-1.2.1:0=[encode] ( media-libs/libpostproc >=media-video/libav-10_alpha:=[encode] ) )
2156 - rtmp? ( media-video/rtmpdump )
2157 - avahi? ( net-dns/avahi )
2158 - nfs? ( net-fs/libnfs )
2159 - webserver? ( net-libs/libmicrohttpd[messages] )
2160 - sftp? ( net-libs/libssh[sftp] )
2161 - net-misc/curl
2162 - samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
2163 - bluetooth? ( net-wireless/bluez )
2164 - sys-apps/dbus
2165 - caps? ( sys-libs/libcap )
2166 - sys-libs/zlib
2167 - virtual/jpeg
2168 - usb? ( virtual/libusb )
2169 - mysql? ( virtual/mysql )
2170 - opengl? (
2171 - virtual/glu
2172 - virtual/opengl
2173 - )
2174 - gles? (
2175 - virtual/opengl
2176 - media-libs/mesa[gles2]
2177 - )
2178 - vaapi? ( x11-libs/libva[opengl] )
2179 - vdpau? (
2180 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
2181 - || ( >=media-video/ffmpeg-1.2.1:0=[vdpau] >=media-video/libav-10_alpha:=[vdpau] )
2182 - )
2183 - X? (
2184 - x11-apps/xdpyinfo
2185 - x11-apps/mesa-progs
2186 - x11-libs/libXinerama
2187 - xrandr? ( x11-libs/libXrandr )
2188 - x11-libs/libXrender
2189 - )"
2190 -RDEPEND="${COMMON_DEPEND}
2191 - !media-tv/kodi
2192 - udisks? ( sys-fs/udisks:0 )
2193 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
2194 -DEPEND="${COMMON_DEPEND}
2195 - app-arch/xz-utils
2196 - dev-lang/swig
2197 - dev-util/gperf
2198 - X? ( x11-proto/xineramaproto )
2199 - dev-util/cmake
2200 - x86? ( dev-lang/nasm )
2201 - java? ( virtual/jre )"
2202 -# Force java for latest git version to avoid having to hand maintain the
2203 -# generated addons package. #488118
2204 -[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre"
2205 -
2206 -pkg_setup() {
2207 - python-single-r1_pkg_setup
2208 -
2209 - if has_version 'media-video/libav' ; then
2210 - ewarn "Building ${PN} against media-video/libav is not supported upstream."
2211 - ewarn "It requires building a (small) wrapper library with some code"
2212 - ewarn "from media-video/ffmpeg."
2213 - ewarn "If you experience issues, please try with media-video/ffmpeg."
2214 - fi
2215 -}
2216 -
2217 -src_unpack() {
2218 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
2219 -}
2220 -
2221 -src_prepare() {
2222 - epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
2223 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
2224 - # The mythtv patch touches configure.ac, so force a regen
2225 - rm -f configure
2226 -
2227 - # some dirs ship generated autotools, some dont
2228 - multijob_init
2229 - local d
2230 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
2231 - [[ -e ${d} ]] && continue
2232 - pushd ${d/%configure/.} >/dev/null || die
2233 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
2234 - multijob_child_init eautoreconf
2235 - popd >/dev/null
2236 - done
2237 - multijob_finish
2238 - elibtoolize
2239 -
2240 - [[ ${PV} == "9999" ]] && emake -f codegenerator.mk
2241 -
2242 - # Disable internal func checks as our USE/DEPEND
2243 - # stuff handles this just fine already #408395
2244 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
2245 -
2246 - local squish #290564
2247 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
2248 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
2249 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
2250 - sed -i \
2251 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
2252 - -e "1iCXXFLAGS += ${squish}" \
2253 - lib/libsquish/Makefile.in || die
2254 -
2255 - # Fix XBMC's final version string showing as "exported"
2256 - # instead of the SVN revision number.
2257 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
2258 -
2259 - # avoid long delays when powerkit isn't running #348580
2260 - sed -i \
2261 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
2262 - xbmc/linux/*.cpp || die
2263 -
2264 - epatch_user #293109
2265 -
2266 - # Tweak autotool timestamps to avoid regeneration
2267 - find . -type f -exec touch -r configure {} +
2268 -}
2269 -
2270 -src_configure() {
2271 - # Disable documentation generation
2272 - export ac_cv_path_LATEX=no
2273 - # Avoid help2man
2274 - export HELP2MAN=$(type -P help2man || echo true)
2275 - # No configure flage for this #403561
2276 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
2277 - # Requiring java is asine #434662
2278 - [[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
2279 -
2280 - econf \
2281 - --docdir=/usr/share/doc/${PF} \
2282 - --disable-ccache \
2283 - --disable-optimizations \
2284 - --enable-external-libraries \
2285 - $(has_version 'media-video/libav' && echo "--enable-libav-compat") \
2286 - $(use_enable airplay) \
2287 - $(use_enable avahi) \
2288 - $(use_enable bluray libbluray) \
2289 - $(use_enable caps libcap) \
2290 - $(use_enable cec libcec) \
2291 - $(use_enable css dvdcss) \
2292 - $(use_enable debug) \
2293 - $(use_enable fishbmc) \
2294 - $(use_enable gles) \
2295 - $(use_enable goom) \
2296 - --disable-hal \
2297 - $(use_enable joystick) \
2298 - $(use_enable midi mid) \
2299 - $(use_enable mysql) \
2300 - $(use_enable nfs) \
2301 - $(use_enable opengl gl) \
2302 - $(use_enable profile profiling) \
2303 - $(use_enable projectm) \
2304 - $(use_enable pulseaudio pulse) \
2305 - $(use_enable pvr mythtv) \
2306 - $(use_enable rsxs) \
2307 - $(use_enable rtmp) \
2308 - $(use_enable samba) \
2309 - $(use_enable sdl) \
2310 - $(use_enable sftp ssh) \
2311 - $(use_enable usb libusb) \
2312 - $(use_enable upnp) \
2313 - $(use_enable vaapi) \
2314 - $(use_enable vdpau) \
2315 - $(use_enable webserver) \
2316 - $(use_enable X x11) \
2317 - $(use_enable xrandr)
2318 -}
2319 -
2320 -src_install() {
2321 - default
2322 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
2323 -
2324 - domenu tools/Linux/xbmc.desktop
2325 - newicon media/icon48x48.png xbmc.png
2326 -
2327 - # Remove optional addons (platform specific and disabled by USE flag).
2328 - local disabled_addons=(
2329 - repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org
2330 - visualization.dxspectrum
2331 - )
2332 - use fishbmc || disabled_addons+=( visualization.fishbmc )
2333 - use projectm || disabled_addons+=( visualization.{milkdrop,projectm} )
2334 - use rsxs || disabled_addons+=( screensaver.rsxs.{euphoria,plasma,solarwinds} )
2335 - rm -rf "${disabled_addons[@]/#/${ED}/usr/share/xbmc/addons/}"
2336 -
2337 - # Punt simplejson bundle, we use the system one anyway.
2338 - rm -rf "${ED}"/usr/share/xbmc/addons/script.module.simplejson/lib
2339 - # Remove fonconfig settings that are used only on MacOSX.
2340 - # Can't be patched upstream because they just find all files and install
2341 - # them into same structure like they have in git.
2342 - rm -rf "${ED}"/usr/share/xbmc/system/players/dvdplayer/etc
2343 -
2344 - # Replace bundled fonts with system ones
2345 - # teletext.ttf: unknown
2346 - # bold-caps.ttf: unknown
2347 - # roboto: roboto-bold, roboto-regular
2348 - # arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514
2349 - rm -rf "${ED}"/usr/share/xbmc/addons/skin.confluence/fonts/Roboto-*
2350 - dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \
2351 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Regular.ttf
2352 - dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \
2353 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Bold.ttf
2354 -
2355 - python_domodule tools/EventClients/lib/python/xbmcclient.py
2356 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
2357 -}
2358 -
2359 -pkg_postinst() {
2360 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
2361 -}
2362
2363 diff --git a/media-tv/xbmc/xbmc-13.1.ebuild b/media-tv/xbmc/xbmc-13.1.ebuild
2364 deleted file mode 100644
2365 index 5188584..0000000
2366 --- a/media-tv/xbmc/xbmc-13.1.ebuild
2367 +++ /dev/null
2368 @@ -1,306 +0,0 @@
2369 -# Copyright 1999-2015 Gentoo Foundation
2370 -# Distributed under the terms of the GNU General Public License v2
2371 -# $Id$
2372 -
2373 -EAPI="5"
2374 -
2375 -# Does not work with py3 here
2376 -# It might work with py:2.5 but I didn't test that
2377 -PYTHON_COMPAT=( python2_7 )
2378 -PYTHON_REQ_USE="sqlite"
2379 -
2380 -inherit eutils python-single-r1 multiprocessing autotools
2381 -
2382 -CODENAME="Gotham"
2383 -case ${PV} in
2384 -9999)
2385 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
2386 - inherit git-2
2387 - #SRC_URI="!java? ( mirror://gentoo/${P}-20130413-generated-addons.tar.xz )"
2388 - ;;
2389 -*_alpha*|*_beta*|*_rc*)
2390 - MY_PV="${CODENAME}_${PV#*_}"
2391 - MY_P="${PN}-${MY_PV}"
2392 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
2393 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
2394 - KEYWORDS="~amd64 ~x86"
2395 - S=${WORKDIR}/${MY_P}
2396 - ;;
2397 -*|*_p*)
2398 - MY_PV=${PV/_p/_r}
2399 - MY_P="${PN}-${MY_PV}"
2400 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz
2401 - http://mirrors.xbmc.org/releases/source/${MY_P}-generated-addons.tar.xz"
2402 - KEYWORDS="~amd64 ~x86"
2403 -
2404 - S=${WORKDIR}/${MY_P}-${CODENAME}
2405 - ;;
2406 -esac
2407 -
2408 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
2409 -HOMEPAGE="http://xbmc.org/"
2410 -
2411 -LICENSE="GPL-2"
2412 -SLOT="0"
2413 -IUSE="airplay alsa altivec avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba +sdl cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
2414 -REQUIRED_USE="
2415 - pvr? ( mysql )
2416 - rsxs? ( X )
2417 - X? ( sdl )
2418 - xrandr? ( X )
2419 -"
2420 -
2421 -COMMON_DEPEND="${PYTHON_DEPS}
2422 - app-arch/bzip2
2423 - app-arch/unzip
2424 - app-arch/zip
2425 - app-i18n/enca
2426 - airplay? ( app-pda/libplist )
2427 - dev-libs/boost
2428 - dev-libs/fribidi
2429 - dev-libs/libcdio[-minimal]
2430 - cec? ( >=dev-libs/libcec-2.1 )
2431 - dev-libs/libpcre[cxx]
2432 - >=dev-libs/lzo-2.04
2433 - dev-libs/tinyxml[stl]
2434 - dev-libs/yajl
2435 - dev-python/simplejson[${PYTHON_USEDEP}]
2436 - media-fonts/corefonts
2437 - media-fonts/roboto
2438 - media-libs/alsa-lib
2439 - media-libs/flac
2440 - media-libs/fontconfig
2441 - media-libs/freetype
2442 - >=media-libs/glew-1.5.6
2443 - media-libs/jasper
2444 - media-libs/jbigkit
2445 - >=media-libs/libass-0.9.7
2446 - bluray? ( media-libs/libbluray )
2447 - css? ( media-libs/libdvdcss )
2448 - media-libs/libmad
2449 - media-libs/libmodplug
2450 - media-libs/libmpeg2
2451 - media-libs/libogg
2452 - media-libs/libpng
2453 - projectm? ( media-libs/libprojectm )
2454 - media-libs/libsamplerate
2455 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
2456 - alsa? ( media-libs/libsdl[alsa] )
2457 - >=media-libs/taglib-1.8
2458 - media-libs/libvorbis
2459 - sdl? (
2460 - media-libs/sdl-gfx
2461 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
2462 - media-libs/sdl-mixer
2463 - media-libs/sdl-sound
2464 - )
2465 - media-libs/tiff
2466 - pulseaudio? ( media-sound/pulseaudio )
2467 - media-sound/wavpack
2468 - || ( >=media-video/ffmpeg-1.2.1:0=[encode] ( media-libs/libpostproc >=media-video/libav-10_alpha:=[encode] ) )
2469 - rtmp? ( media-video/rtmpdump )
2470 - avahi? ( net-dns/avahi )
2471 - nfs? ( net-fs/libnfs )
2472 - webserver? ( net-libs/libmicrohttpd[messages] )
2473 - sftp? ( net-libs/libssh[sftp] )
2474 - net-misc/curl
2475 - samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
2476 - bluetooth? ( net-wireless/bluez )
2477 - sys-apps/dbus
2478 - caps? ( sys-libs/libcap )
2479 - sys-libs/zlib
2480 - virtual/jpeg
2481 - usb? ( virtual/libusb )
2482 - mysql? ( virtual/mysql )
2483 - opengl? (
2484 - virtual/glu
2485 - virtual/opengl
2486 - )
2487 - gles? (
2488 - virtual/opengl
2489 - media-libs/mesa[gles2]
2490 - )
2491 - vaapi? ( x11-libs/libva[opengl] )
2492 - vdpau? (
2493 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
2494 - || ( >=media-video/ffmpeg-1.2.1:0=[vdpau] >=media-video/libav-10_alpha:=[vdpau] )
2495 - )
2496 - X? (
2497 - x11-apps/xdpyinfo
2498 - x11-apps/mesa-progs
2499 - x11-libs/libXinerama
2500 - xrandr? ( x11-libs/libXrandr )
2501 - x11-libs/libXrender
2502 - )"
2503 -RDEPEND="${COMMON_DEPEND}
2504 - !media-tv/kodi
2505 - udisks? ( sys-fs/udisks:0 )
2506 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
2507 -DEPEND="${COMMON_DEPEND}
2508 - app-arch/xz-utils
2509 - dev-lang/swig
2510 - dev-util/gperf
2511 - X? ( x11-proto/xineramaproto )
2512 - dev-util/cmake
2513 - x86? ( dev-lang/nasm )
2514 - java? ( virtual/jre )"
2515 -# Force java for latest git version to avoid having to hand maintain the
2516 -# generated addons package. #488118
2517 -[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre"
2518 -
2519 -pkg_setup() {
2520 - python-single-r1_pkg_setup
2521 -
2522 - if has_version 'media-video/libav' ; then
2523 - ewarn "Building ${PN} against media-video/libav is not supported upstream."
2524 - ewarn "It requires building a (small) wrapper library with some code"
2525 - ewarn "from media-video/ffmpeg."
2526 - ewarn "If you experience issues, please try with media-video/ffmpeg."
2527 - fi
2528 -}
2529 -
2530 -src_unpack() {
2531 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
2532 -}
2533 -
2534 -src_prepare() {
2535 - epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
2536 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
2537 - # The mythtv patch touches configure.ac, so force a regen
2538 - rm -f configure
2539 -
2540 - # some dirs ship generated autotools, some dont
2541 - multijob_init
2542 - local d
2543 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
2544 - [[ -e ${d} ]] && continue
2545 - pushd ${d/%configure/.} >/dev/null || die
2546 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
2547 - multijob_child_init eautoreconf
2548 - popd >/dev/null
2549 - done
2550 - multijob_finish
2551 - elibtoolize
2552 -
2553 - [[ ${PV} == "9999" ]] && emake -f codegenerator.mk
2554 -
2555 - # Disable internal func checks as our USE/DEPEND
2556 - # stuff handles this just fine already #408395
2557 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
2558 -
2559 - local squish #290564
2560 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
2561 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
2562 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
2563 - sed -i \
2564 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
2565 - -e "1iCXXFLAGS += ${squish}" \
2566 - lib/libsquish/Makefile.in || die
2567 -
2568 - # Fix XBMC's final version string showing as "exported"
2569 - # instead of the SVN revision number.
2570 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
2571 -
2572 - # avoid long delays when powerkit isn't running #348580
2573 - sed -i \
2574 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
2575 - xbmc/linux/*.cpp || die
2576 -
2577 - epatch_user #293109
2578 -
2579 - # Tweak autotool timestamps to avoid regeneration
2580 - find . -type f -exec touch -r configure {} +
2581 -}
2582 -
2583 -src_configure() {
2584 - # Disable documentation generation
2585 - export ac_cv_path_LATEX=no
2586 - # Avoid help2man
2587 - export HELP2MAN=$(type -P help2man || echo true)
2588 - # No configure flage for this #403561
2589 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
2590 - # Requiring java is asine #434662
2591 - [[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
2592 -
2593 - econf \
2594 - --docdir=/usr/share/doc/${PF} \
2595 - --disable-ccache \
2596 - --disable-optimizations \
2597 - --enable-external-libraries \
2598 - $(has_version 'media-video/libav' && echo "--enable-libav-compat") \
2599 - $(use_enable airplay) \
2600 - $(use_enable avahi) \
2601 - $(use_enable bluray libbluray) \
2602 - $(use_enable caps libcap) \
2603 - $(use_enable cec libcec) \
2604 - $(use_enable css dvdcss) \
2605 - $(use_enable debug) \
2606 - $(use_enable fishbmc) \
2607 - $(use_enable gles) \
2608 - $(use_enable goom) \
2609 - --disable-hal \
2610 - $(use_enable joystick) \
2611 - $(use_enable midi mid) \
2612 - $(use_enable mysql) \
2613 - $(use_enable nfs) \
2614 - $(use_enable opengl gl) \
2615 - $(use_enable profile profiling) \
2616 - $(use_enable projectm) \
2617 - $(use_enable pulseaudio pulse) \
2618 - $(use_enable pvr mythtv) \
2619 - $(use_enable rsxs) \
2620 - $(use_enable rtmp) \
2621 - $(use_enable samba) \
2622 - $(use_enable sdl) \
2623 - $(use_enable sftp ssh) \
2624 - $(use_enable usb libusb) \
2625 - $(use_enable upnp) \
2626 - $(use_enable vaapi) \
2627 - $(use_enable vdpau) \
2628 - $(use_enable webserver) \
2629 - $(use_enable X x11) \
2630 - $(use_enable xrandr)
2631 -}
2632 -
2633 -src_install() {
2634 - default
2635 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
2636 -
2637 - domenu tools/Linux/xbmc.desktop
2638 - newicon media/icon48x48.png xbmc.png
2639 -
2640 - # Remove optional addons (platform specific and disabled by USE flag).
2641 - local disabled_addons=(
2642 - repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org
2643 - visualization.dxspectrum
2644 - )
2645 - use fishbmc || disabled_addons+=( visualization.fishbmc )
2646 - use projectm || disabled_addons+=( visualization.{milkdrop,projectm} )
2647 - use rsxs || disabled_addons+=( screensaver.rsxs.{euphoria,plasma,solarwinds} )
2648 - rm -rf "${disabled_addons[@]/#/${ED}/usr/share/xbmc/addons/}"
2649 -
2650 - # Punt simplejson bundle, we use the system one anyway.
2651 - rm -rf "${ED}"/usr/share/xbmc/addons/script.module.simplejson/lib
2652 - # Remove fonconfig settings that are used only on MacOSX.
2653 - # Can't be patched upstream because they just find all files and install
2654 - # them into same structure like they have in git.
2655 - rm -rf "${ED}"/usr/share/xbmc/system/players/dvdplayer/etc
2656 -
2657 - # Replace bundled fonts with system ones
2658 - # teletext.ttf: unknown
2659 - # bold-caps.ttf: unknown
2660 - # roboto: roboto-bold, roboto-regular
2661 - # arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514
2662 - rm -rf "${ED}"/usr/share/xbmc/addons/skin.confluence/fonts/Roboto-*
2663 - dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \
2664 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Regular.ttf
2665 - dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \
2666 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Bold.ttf
2667 -
2668 - python_domodule tools/EventClients/lib/python/xbmcclient.py
2669 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
2670 -}
2671 -
2672 -pkg_postinst() {
2673 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
2674 -}
2675
2676 diff --git a/media-tv/xbmc/xbmc-13.2-r1.ebuild b/media-tv/xbmc/xbmc-13.2-r1.ebuild
2677 deleted file mode 100644
2678 index d86dc7e..0000000
2679 --- a/media-tv/xbmc/xbmc-13.2-r1.ebuild
2680 +++ /dev/null
2681 @@ -1,309 +0,0 @@
2682 -# Copyright 1999-2015 Gentoo Foundation
2683 -# Distributed under the terms of the GNU General Public License v2
2684 -# $Id$
2685 -
2686 -EAPI="5"
2687 -
2688 -# Does not work with py3 here
2689 -# It might work with py:2.5 but I didn't test that
2690 -PYTHON_COMPAT=( python2_7 )
2691 -PYTHON_REQ_USE="sqlite"
2692 -
2693 -inherit eutils python-single-r1 multiprocessing autotools
2694 -
2695 -CODENAME="Gotham"
2696 -case ${PV} in
2697 -9999)
2698 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
2699 - inherit git-2
2700 - #SRC_URI="!java? ( mirror://gentoo/${P}-20130413-generated-addons.tar.xz )"
2701 - ;;
2702 -*_alpha*|*_beta*|*_rc*)
2703 - MY_PV="${CODENAME}_${PV#*_}"
2704 - MY_P="${PN}-${MY_PV}"
2705 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
2706 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
2707 - KEYWORDS="~amd64 ~x86"
2708 - S=${WORKDIR}/${MY_P}
2709 - ;;
2710 -*|*_p*)
2711 - MY_PV=${PV/_p/_r}
2712 - MY_P="${PN}-${MY_PV}"
2713 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz
2714 - http://mirrors.xbmc.org/releases/source/${MY_P}-generated-addons.tar.xz"
2715 - KEYWORDS="~amd64 ~x86"
2716 -
2717 - S=${WORKDIR}/${MY_P}-${CODENAME}
2718 - ;;
2719 -esac
2720 -
2721 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
2722 -HOMEPAGE="http://xbmc.org/"
2723 -
2724 -LICENSE="GPL-2"
2725 -SLOT="0"
2726 -IUSE="airplay alsa altivec avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick libav midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba +sdl cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
2727 -REQUIRED_USE="
2728 - pvr? ( mysql )
2729 - rsxs? ( X )
2730 - X? ( sdl )
2731 - xrandr? ( X )
2732 -"
2733 -
2734 -COMMON_DEPEND="${PYTHON_DEPS}
2735 - app-arch/bzip2
2736 - app-arch/unzip
2737 - app-arch/zip
2738 - app-i18n/enca
2739 - airplay? ( app-pda/libplist )
2740 - dev-libs/boost
2741 - dev-libs/fribidi
2742 - dev-libs/libcdio[-minimal]
2743 - cec? ( >=dev-libs/libcec-2.1 )
2744 - dev-libs/libpcre[cxx]
2745 - >=dev-libs/lzo-2.04
2746 - dev-libs/tinyxml[stl]
2747 - dev-libs/yajl
2748 - dev-python/simplejson[${PYTHON_USEDEP}]
2749 - media-fonts/corefonts
2750 - media-fonts/roboto
2751 - media-libs/alsa-lib
2752 - media-libs/flac
2753 - media-libs/fontconfig
2754 - media-libs/freetype
2755 - >=media-libs/glew-1.5.6
2756 - media-libs/jasper
2757 - media-libs/jbigkit
2758 - >=media-libs/libass-0.9.7
2759 - bluray? ( media-libs/libbluray )
2760 - css? ( media-libs/libdvdcss )
2761 - media-libs/libmad
2762 - media-libs/libmodplug
2763 - media-libs/libmpeg2
2764 - media-libs/libogg
2765 - media-libs/libpng
2766 - projectm? ( media-libs/libprojectm )
2767 - media-libs/libsamplerate
2768 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
2769 - alsa? ( media-libs/libsdl[alsa] )
2770 - >=media-libs/taglib-1.8
2771 - media-libs/libvorbis
2772 - sdl? (
2773 - media-libs/sdl-gfx
2774 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
2775 - media-libs/sdl-mixer
2776 - media-libs/sdl-sound
2777 - )
2778 - media-libs/tiff
2779 - pulseaudio? ( media-sound/pulseaudio )
2780 - media-sound/wavpack
2781 - !libav? ( >=media-video/ffmpeg-1.2.1:0=[encode] )
2782 - libav? ( media-libs/libpostproc:0=
2783 - >=media-video/libav-10_alpha:0=[encode] )
2784 - rtmp? ( media-video/rtmpdump )
2785 - avahi? ( net-dns/avahi )
2786 - nfs? ( net-fs/libnfs )
2787 - webserver? ( net-libs/libmicrohttpd[messages] )
2788 - sftp? ( net-libs/libssh[sftp] )
2789 - net-misc/curl
2790 - samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
2791 - bluetooth? ( net-wireless/bluez )
2792 - sys-apps/dbus
2793 - caps? ( sys-libs/libcap )
2794 - sys-libs/zlib
2795 - virtual/jpeg
2796 - usb? ( virtual/libusb )
2797 - mysql? ( virtual/mysql )
2798 - opengl? (
2799 - virtual/glu
2800 - virtual/opengl
2801 - )
2802 - gles? (
2803 - virtual/opengl
2804 - media-libs/mesa[gles2]
2805 - )
2806 - vaapi? ( x11-libs/libva[opengl] )
2807 - vdpau? (
2808 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
2809 - !libav? ( >=media-video/ffmpeg-1.2.1:0=[vdpau] )
2810 - libav? ( >=media-video/libav-10_alpha:0=[vdpau] )
2811 - )
2812 - X? (
2813 - x11-apps/xdpyinfo
2814 - x11-apps/mesa-progs
2815 - x11-libs/libXinerama
2816 - xrandr? ( x11-libs/libXrandr )
2817 - x11-libs/libXrender
2818 - )"
2819 -RDEPEND="${COMMON_DEPEND}
2820 - !media-tv/kodi
2821 - udisks? ( sys-fs/udisks:0 )
2822 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
2823 -DEPEND="${COMMON_DEPEND}
2824 - app-arch/xz-utils
2825 - dev-lang/swig
2826 - dev-util/gperf
2827 - X? ( x11-proto/xineramaproto )
2828 - dev-util/cmake
2829 - x86? ( dev-lang/nasm )
2830 - java? ( virtual/jre )"
2831 -# Force java for latest git version to avoid having to hand maintain the
2832 -# generated addons package. #488118
2833 -[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre"
2834 -
2835 -pkg_setup() {
2836 - python-single-r1_pkg_setup
2837 -
2838 - if use libav ; then
2839 - ewarn "Building ${PN} against media-video/libav is not supported upstream."
2840 - ewarn "It requires building a (small) wrapper library with some code"
2841 - ewarn "from media-video/ffmpeg."
2842 - ewarn "If you experience issues, please try with media-video/ffmpeg."
2843 - fi
2844 -}
2845 -
2846 -src_unpack() {
2847 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
2848 -}
2849 -
2850 -src_prepare() {
2851 - epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
2852 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
2853 - # The mythtv patch touches configure.ac, so force a regen
2854 - rm -f configure
2855 -
2856 - # some dirs ship generated autotools, some dont
2857 - multijob_init
2858 - local d
2859 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
2860 - [[ -e ${d} ]] && continue
2861 - pushd ${d/%configure/.} >/dev/null || die
2862 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
2863 - multijob_child_init eautoreconf
2864 - popd >/dev/null
2865 - done
2866 - multijob_finish
2867 - elibtoolize
2868 -
2869 - [[ ${PV} == "9999" ]] && emake -f codegenerator.mk
2870 -
2871 - # Disable internal func checks as our USE/DEPEND
2872 - # stuff handles this just fine already #408395
2873 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
2874 -
2875 - local squish #290564
2876 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
2877 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
2878 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
2879 - sed -i \
2880 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
2881 - -e "1iCXXFLAGS += ${squish}" \
2882 - lib/libsquish/Makefile.in || die
2883 -
2884 - # Fix XBMC's final version string showing as "exported"
2885 - # instead of the SVN revision number.
2886 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
2887 -
2888 - # avoid long delays when powerkit isn't running #348580
2889 - sed -i \
2890 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
2891 - xbmc/linux/*.cpp || die
2892 -
2893 - epatch_user #293109
2894 -
2895 - # Tweak autotool timestamps to avoid regeneration
2896 - find . -type f -exec touch -r configure {} +
2897 -}
2898 -
2899 -src_configure() {
2900 - # Disable documentation generation
2901 - export ac_cv_path_LATEX=no
2902 - # Avoid help2man
2903 - export HELP2MAN=$(type -P help2man || echo true)
2904 - # No configure flage for this #403561
2905 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
2906 - # Requiring java is asine #434662
2907 - [[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
2908 -
2909 - econf \
2910 - --docdir=/usr/share/doc/${PF} \
2911 - --disable-ccache \
2912 - --disable-optimizations \
2913 - --enable-external-libraries \
2914 - $(usex libav "--enable-libav-compat" "") \
2915 - $(use_enable airplay) \
2916 - $(use_enable avahi) \
2917 - $(use_enable bluray libbluray) \
2918 - $(use_enable caps libcap) \
2919 - $(use_enable cec libcec) \
2920 - $(use_enable css dvdcss) \
2921 - $(use_enable debug) \
2922 - $(use_enable fishbmc) \
2923 - $(use_enable gles) \
2924 - $(use_enable goom) \
2925 - --disable-hal \
2926 - $(use_enable joystick) \
2927 - $(use_enable midi mid) \
2928 - $(use_enable mysql) \
2929 - $(use_enable nfs) \
2930 - $(use_enable opengl gl) \
2931 - $(use_enable profile profiling) \
2932 - $(use_enable projectm) \
2933 - $(use_enable pulseaudio pulse) \
2934 - $(use_enable pvr mythtv) \
2935 - $(use_enable rsxs) \
2936 - $(use_enable rtmp) \
2937 - $(use_enable samba) \
2938 - $(use_enable sdl) \
2939 - $(use_enable sftp ssh) \
2940 - $(use_enable usb libusb) \
2941 - $(use_enable upnp) \
2942 - $(use_enable vaapi) \
2943 - $(use_enable vdpau) \
2944 - $(use_enable webserver) \
2945 - $(use_enable X x11) \
2946 - $(use_enable xrandr)
2947 -}
2948 -
2949 -src_install() {
2950 - default
2951 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
2952 -
2953 - domenu tools/Linux/xbmc.desktop
2954 - newicon media/icon48x48.png xbmc.png
2955 -
2956 - # Remove optional addons (platform specific and disabled by USE flag).
2957 - local disabled_addons=(
2958 - repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org
2959 - visualization.dxspectrum
2960 - )
2961 - use fishbmc || disabled_addons+=( visualization.fishbmc )
2962 - use projectm || disabled_addons+=( visualization.{milkdrop,projectm} )
2963 - use rsxs || disabled_addons+=( screensaver.rsxs.{euphoria,plasma,solarwinds} )
2964 - rm -rf "${disabled_addons[@]/#/${ED}/usr/share/xbmc/addons/}"
2965 -
2966 - # Punt simplejson bundle, we use the system one anyway.
2967 - rm -rf "${ED}"/usr/share/xbmc/addons/script.module.simplejson/lib
2968 - # Remove fonconfig settings that are used only on MacOSX.
2969 - # Can't be patched upstream because they just find all files and install
2970 - # them into same structure like they have in git.
2971 - rm -rf "${ED}"/usr/share/xbmc/system/players/dvdplayer/etc
2972 -
2973 - # Replace bundled fonts with system ones
2974 - # teletext.ttf: unknown
2975 - # bold-caps.ttf: unknown
2976 - # roboto: roboto-bold, roboto-regular
2977 - # arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514
2978 - rm -rf "${ED}"/usr/share/xbmc/addons/skin.confluence/fonts/Roboto-*
2979 - dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \
2980 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Regular.ttf
2981 - dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \
2982 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Bold.ttf
2983 -
2984 - python_domodule tools/EventClients/lib/python/xbmcclient.py
2985 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
2986 -}
2987 -
2988 -pkg_postinst() {
2989 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
2990 -}
2991
2992 diff --git a/media-tv/xbmc/xbmc-13.2.ebuild b/media-tv/xbmc/xbmc-13.2.ebuild
2993 deleted file mode 100644
2994 index 6dce54c..0000000
2995 --- a/media-tv/xbmc/xbmc-13.2.ebuild
2996 +++ /dev/null
2997 @@ -1,306 +0,0 @@
2998 -# Copyright 1999-2015 Gentoo Foundation
2999 -# Distributed under the terms of the GNU General Public License v2
3000 -# $Id$
3001 -
3002 -EAPI="5"
3003 -
3004 -# Does not work with py3 here
3005 -# It might work with py:2.5 but I didn't test that
3006 -PYTHON_COMPAT=( python2_7 )
3007 -PYTHON_REQ_USE="sqlite"
3008 -
3009 -inherit eutils python-single-r1 multiprocessing autotools
3010 -
3011 -CODENAME="Gotham"
3012 -case ${PV} in
3013 -9999)
3014 - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git"
3015 - inherit git-2
3016 - #SRC_URI="!java? ( mirror://gentoo/${P}-20130413-generated-addons.tar.xz )"
3017 - ;;
3018 -*_alpha*|*_beta*|*_rc*)
3019 - MY_PV="${CODENAME}_${PV#*_}"
3020 - MY_P="${PN}-${MY_PV}"
3021 - SRC_URI="https://github.com/xbmc/xbmc/archive/${MY_PV}.tar.gz -> ${P}.tar.gz
3022 - !java? ( mirror://gentoo/${P}-generated-addons.tar.xz )"
3023 - KEYWORDS="amd64 x86"
3024 - S=${WORKDIR}/${MY_P}
3025 - ;;
3026 -*|*_p*)
3027 - MY_PV=${PV/_p/_r}
3028 - MY_P="${PN}-${MY_PV}"
3029 - SRC_URI="http://mirrors.xbmc.org/releases/source/${MY_P}.tar.gz
3030 - http://mirrors.xbmc.org/releases/source/${MY_P}-generated-addons.tar.xz"
3031 - KEYWORDS="amd64 x86"
3032 -
3033 - S=${WORKDIR}/${MY_P}-${CODENAME}
3034 - ;;
3035 -esac
3036 -
3037 -DESCRIPTION="XBMC is a free and open source media-player and entertainment hub"
3038 -HOMEPAGE="http://xbmc.org/"
3039 -
3040 -LICENSE="GPL-2"
3041 -SLOT="0"
3042 -IUSE="airplay alsa altivec avahi bluetooth bluray caps cec css debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio pvr +rsxs rtmp +samba +sdl cpu_flags_x86_sse cpu_flags_x86_sse2 sftp udisks upnp upower +usb vaapi vdpau webserver +X +xrandr"
3043 -REQUIRED_USE="
3044 - pvr? ( mysql )
3045 - rsxs? ( X )
3046 - X? ( sdl )
3047 - xrandr? ( X )
3048 -"
3049 -
3050 -COMMON_DEPEND="${PYTHON_DEPS}
3051 - app-arch/bzip2
3052 - app-arch/unzip
3053 - app-arch/zip
3054 - app-i18n/enca
3055 - airplay? ( app-pda/libplist )
3056 - dev-libs/boost
3057 - dev-libs/fribidi
3058 - dev-libs/libcdio[-minimal]
3059 - cec? ( >=dev-libs/libcec-2.1 )
3060 - dev-libs/libpcre[cxx]
3061 - >=dev-libs/lzo-2.04
3062 - dev-libs/tinyxml[stl]
3063 - dev-libs/yajl
3064 - dev-python/simplejson[${PYTHON_USEDEP}]
3065 - media-fonts/corefonts
3066 - media-fonts/roboto
3067 - media-libs/alsa-lib
3068 - media-libs/flac
3069 - media-libs/fontconfig
3070 - media-libs/freetype
3071 - >=media-libs/glew-1.5.6
3072 - media-libs/jasper
3073 - media-libs/jbigkit
3074 - >=media-libs/libass-0.9.7
3075 - bluray? ( media-libs/libbluray )
3076 - css? ( media-libs/libdvdcss )
3077 - media-libs/libmad
3078 - media-libs/libmodplug
3079 - media-libs/libmpeg2
3080 - media-libs/libogg
3081 - media-libs/libpng
3082 - projectm? ( media-libs/libprojectm )
3083 - media-libs/libsamplerate
3084 - sdl? ( media-libs/libsdl[sound,opengl,video,X] )
3085 - alsa? ( media-libs/libsdl[alsa] )
3086 - >=media-libs/taglib-1.8
3087 - media-libs/libvorbis
3088 - sdl? (
3089 - media-libs/sdl-gfx
3090 - >=media-libs/sdl-image-1.2.10[gif,jpeg,png]
3091 - media-libs/sdl-mixer
3092 - media-libs/sdl-sound
3093 - )
3094 - media-libs/tiff
3095 - pulseaudio? ( media-sound/pulseaudio )
3096 - media-sound/wavpack
3097 - || ( >=media-video/ffmpeg-1.2.1:0=[encode] ( media-libs/libpostproc >=media-video/libav-10_alpha:=[encode] ) )
3098 - rtmp? ( media-video/rtmpdump )
3099 - avahi? ( net-dns/avahi )
3100 - nfs? ( net-fs/libnfs )
3101 - webserver? ( net-libs/libmicrohttpd[messages] )
3102 - sftp? ( net-libs/libssh[sftp] )
3103 - net-misc/curl
3104 - samba? ( >=net-fs/samba-3.4.6[smbclient(+)] )
3105 - bluetooth? ( net-wireless/bluez )
3106 - sys-apps/dbus
3107 - caps? ( sys-libs/libcap )
3108 - sys-libs/zlib
3109 - virtual/jpeg
3110 - usb? ( virtual/libusb )
3111 - mysql? ( virtual/mysql )
3112 - opengl? (
3113 - virtual/glu
3114 - virtual/opengl
3115 - )
3116 - gles? (
3117 - virtual/opengl
3118 - media-libs/mesa[gles2]
3119 - )
3120 - vaapi? ( x11-libs/libva[opengl] )
3121 - vdpau? (
3122 - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 )
3123 - || ( >=media-video/ffmpeg-1.2.1:0=[vdpau] >=media-video/libav-10_alpha:=[vdpau] )
3124 - )
3125 - X? (
3126 - x11-apps/xdpyinfo
3127 - x11-apps/mesa-progs
3128 - x11-libs/libXinerama
3129 - xrandr? ( x11-libs/libXrandr )
3130 - x11-libs/libXrender
3131 - )"
3132 -RDEPEND="${COMMON_DEPEND}
3133 - !media-tv/kodi
3134 - udisks? ( sys-fs/udisks:0 )
3135 - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )"
3136 -DEPEND="${COMMON_DEPEND}
3137 - app-arch/xz-utils
3138 - dev-lang/swig
3139 - dev-util/gperf
3140 - X? ( x11-proto/xineramaproto )
3141 - dev-util/cmake
3142 - x86? ( dev-lang/nasm )
3143 - java? ( virtual/jre )"
3144 -# Force java for latest git version to avoid having to hand maintain the
3145 -# generated addons package. #488118
3146 -[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre"
3147 -
3148 -pkg_setup() {
3149 - python-single-r1_pkg_setup
3150 -
3151 - if has_version 'media-video/libav' ; then
3152 - ewarn "Building ${PN} against media-video/libav is not supported upstream."
3153 - ewarn "It requires building a (small) wrapper library with some code"
3154 - ewarn "from media-video/ffmpeg."
3155 - ewarn "If you experience issues, please try with media-video/ffmpeg."
3156 - fi
3157 -}
3158 -
3159 -src_unpack() {
3160 - [[ ${PV} == "9999" ]] && git-2_src_unpack || default
3161 -}
3162 -
3163 -src_prepare() {
3164 - epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch
3165 - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617
3166 - # The mythtv patch touches configure.ac, so force a regen
3167 - rm -f configure
3168 -
3169 - # some dirs ship generated autotools, some dont
3170 - multijob_init
3171 - local d
3172 - for d in $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) ; do
3173 - [[ -e ${d} ]] && continue
3174 - pushd ${d/%configure/.} >/dev/null || die
3175 - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \
3176 - multijob_child_init eautoreconf
3177 - popd >/dev/null
3178 - done
3179 - multijob_finish
3180 - elibtoolize
3181 -
3182 - [[ ${PV} == "9999" ]] && emake -f codegenerator.mk
3183 -
3184 - # Disable internal func checks as our USE/DEPEND
3185 - # stuff handles this just fine already #408395
3186 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes
3187 -
3188 - local squish #290564
3189 - use altivec && squish="-DSQUISH_USE_ALTIVEC=1 -maltivec"
3190 - use cpu_flags_x86_sse && squish="-DSQUISH_USE_SSE=1 -msse"
3191 - use cpu_flags_x86_sse2 && squish="-DSQUISH_USE_SSE=2 -msse2"
3192 - sed -i \
3193 - -e '/^CXXFLAGS/{s:-D[^=]*=.::;s:-m[[:alnum:]]*::}' \
3194 - -e "1iCXXFLAGS += ${squish}" \
3195 - lib/libsquish/Makefile.in || die
3196 -
3197 - # Fix XBMC's final version string showing as "exported"
3198 - # instead of the SVN revision number.
3199 - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported}
3200 -
3201 - # avoid long delays when powerkit isn't running #348580
3202 - sed -i \
3203 - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
3204 - xbmc/linux/*.cpp || die
3205 -
3206 - epatch_user #293109
3207 -
3208 - # Tweak autotool timestamps to avoid regeneration
3209 - find . -type f -exec touch -r configure {} +
3210 -}
3211 -
3212 -src_configure() {
3213 - # Disable documentation generation
3214 - export ac_cv_path_LATEX=no
3215 - # Avoid help2man
3216 - export HELP2MAN=$(type -P help2man || echo true)
3217 - # No configure flage for this #403561
3218 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth)
3219 - # Requiring java is asine #434662
3220 - [[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true))
3221 -
3222 - econf \
3223 - --docdir=/usr/share/doc/${PF} \
3224 - --disable-ccache \
3225 - --disable-optimizations \
3226 - --enable-external-libraries \
3227 - $(has_version 'media-video/libav' && echo "--enable-libav-compat") \
3228 - $(use_enable airplay) \
3229 - $(use_enable avahi) \
3230 - $(use_enable bluray libbluray) \
3231 - $(use_enable caps libcap) \
3232 - $(use_enable cec libcec) \
3233 - $(use_enable css dvdcss) \
3234 - $(use_enable debug) \
3235 - $(use_enable fishbmc) \
3236 - $(use_enable gles) \
3237 - $(use_enable goom) \
3238 - --disable-hal \
3239 - $(use_enable joystick) \
3240 - $(use_enable midi mid) \
3241 - $(use_enable mysql) \
3242 - $(use_enable nfs) \
3243 - $(use_enable opengl gl) \
3244 - $(use_enable profile profiling) \
3245 - $(use_enable projectm) \
3246 - $(use_enable pulseaudio pulse) \
3247 - $(use_enable pvr mythtv) \
3248 - $(use_enable rsxs) \
3249 - $(use_enable rtmp) \
3250 - $(use_enable samba) \
3251 - $(use_enable sdl) \
3252 - $(use_enable sftp ssh) \
3253 - $(use_enable usb libusb) \
3254 - $(use_enable upnp) \
3255 - $(use_enable vaapi) \
3256 - $(use_enable vdpau) \
3257 - $(use_enable webserver) \
3258 - $(use_enable X x11) \
3259 - $(use_enable xrandr)
3260 -}
3261 -
3262 -src_install() {
3263 - default
3264 - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}*
3265 -
3266 - domenu tools/Linux/xbmc.desktop
3267 - newicon media/icon48x48.png xbmc.png
3268 -
3269 - # Remove optional addons (platform specific and disabled by USE flag).
3270 - local disabled_addons=(
3271 - repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org
3272 - visualization.dxspectrum
3273 - )
3274 - use fishbmc || disabled_addons+=( visualization.fishbmc )
3275 - use projectm || disabled_addons+=( visualization.{milkdrop,projectm} )
3276 - use rsxs || disabled_addons+=( screensaver.rsxs.{euphoria,plasma,solarwinds} )
3277 - rm -rf "${disabled_addons[@]/#/${ED}/usr/share/xbmc/addons/}"
3278 -
3279 - # Punt simplejson bundle, we use the system one anyway.
3280 - rm -rf "${ED}"/usr/share/xbmc/addons/script.module.simplejson/lib
3281 - # Remove fonconfig settings that are used only on MacOSX.
3282 - # Can't be patched upstream because they just find all files and install
3283 - # them into same structure like they have in git.
3284 - rm -rf "${ED}"/usr/share/xbmc/system/players/dvdplayer/etc
3285 -
3286 - # Replace bundled fonts with system ones
3287 - # teletext.ttf: unknown
3288 - # bold-caps.ttf: unknown
3289 - # roboto: roboto-bold, roboto-regular
3290 - # arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514
3291 - rm -rf "${ED}"/usr/share/xbmc/addons/skin.confluence/fonts/Roboto-*
3292 - dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \
3293 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Regular.ttf
3294 - dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \
3295 - /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Bold.ttf
3296 -
3297 - python_domodule tools/EventClients/lib/python/xbmcclient.py
3298 - python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send
3299 -}
3300 -
3301 -pkg_postinst() {
3302 - elog "Visit http://wiki.xbmc.org/?title=XBMC_Online_Manual"
3303 -}
3304
3305 diff --git a/media-tv/xbmc/xbmc-9999.ebuild b/media-tv/xbmc/xbmc-9999.ebuild
3306 deleted file mode 100644
3307 index 7a9f08e..0000000
3308 --- a/media-tv/xbmc/xbmc-9999.ebuild
3309 +++ /dev/null
3310 @@ -1,13 +0,0 @@
3311 -# Copyright 1999-2015 Gentoo Foundation
3312 -# Distributed under the terms of the GNU General Public License v2
3313 -# $Id$
3314 -
3315 -EAPI="5"
3316 -
3317 -DESCRIPTION="Stub ebuild to migrate people to media-tv/kodi"
3318 -HOMEPAGE="http://kodi.tv/ http://kodi.wiki/"
3319 -
3320 -LICENSE="metapackage"
3321 -SLOT="0"
3322 -
3323 -RDEPEND="media-tv/kodi"