1 |
tomwij 14/04/02 07:50:09 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: mpv-0.3.7.ebuild |
5 |
Log: |
6 |
Version bump to 0.3.7. Corrected USE flag description of dvdnav. Proxied commit for Nikoli. |
7 |
|
8 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 media-video/mpv/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/metadata.xml?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/metadata.xml?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/metadata.xml?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/mpv/metadata.xml,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- metadata.xml 12 Mar 2014 02:37:56 -0000 1.13 |
24 |
+++ metadata.xml 2 Apr 2014 07:50:09 -0000 1.14 |
25 |
@@ -11,7 +11,7 @@ |
26 |
<flag name="bs2b">Enable Bauer stereophonic-to-binaural headphone filter</flag> |
27 |
<flag name="cdio">Use libcdio for CD support (instead of cdparanoia)</flag> |
28 |
<flag name='doc-pdf'>Build documentation in pdf format</flag> |
29 |
- <flag name='dvdnav'>Enable support for DVD navigation using <pkg>media-libs/dvdnav</pkg>.</flag> |
30 |
+ <flag name='dvdnav'>Enable support for DVD navigation using <pkg>media-libs/libdvdnav</pkg></flag> |
31 |
<flag name="enca">Enables support for charset discovery and conversion using <pkg>app-i18n/enca</pkg></flag> |
32 |
<flag name="libguess">Enables support for charset discovery and conversion using <pkg>app-i18n/libguess</pkg></flag> |
33 |
<flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of <pkg>dev-lang/lua</pkg></flag> |
34 |
|
35 |
|
36 |
|
37 |
1.62 media-video/mpv/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/ChangeLog?rev=1.62&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/ChangeLog?rev=1.62&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/ChangeLog?r1=1.61&r2=1.62 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v |
46 |
retrieving revision 1.61 |
47 |
retrieving revision 1.62 |
48 |
diff -u -r1.61 -r1.62 |
49 |
--- ChangeLog 12 Mar 2014 02:37:56 -0000 1.61 |
50 |
+++ ChangeLog 2 Apr 2014 07:50:09 -0000 1.62 |
51 |
@@ -1,6 +1,12 @@ |
52 |
# ChangeLog for media-video/mpv |
53 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.61 2014/03/12 02:37:56 patrick Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.62 2014/04/02 07:50:09 tomwij Exp $ |
56 |
+ |
57 |
+*mpv-0.3.7 (02 Apr 2014) |
58 |
+ |
59 |
+ 02 Apr 2014; Tom Wijsman <TomWij@g.o> +mpv-0.3.7.ebuild, metadata.xml: |
60 |
+ Version bump to 0.3.7. Corrected USE flag description of dvdnav. Proxied |
61 |
+ commit for Nikoli. |
62 |
|
63 |
12 Mar 2014; Patrick Lauer <patrick@g.o> metadata.xml: |
64 |
Remove unneeded useflag description from metadata.xml |
65 |
|
66 |
|
67 |
|
68 |
1.1 media-video/mpv/mpv-0.3.7.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: mpv-0.3.7.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2014 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.7.ebuild,v 1.1 2014/04/02 07:50:09 tomwij Exp $ |
78 |
|
79 |
EAPI=5 |
80 |
|
81 |
EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" |
82 |
|
83 |
inherit base waf-utils pax-utils |
84 |
[[ ${PV} == *9999* ]] && inherit git-r3 |
85 |
|
86 |
WAF_V="1.7.15" |
87 |
|
88 |
DESCRIPTION="Video player based on MPlayer/mplayer2" |
89 |
HOMEPAGE="http://mpv.io/" |
90 |
SRC_URI="https://waf.googlecode.com/files/waf-${WAF_V}" |
91 |
[[ ${PV} == *9999* ]] || \ |
92 |
SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
93 |
|
94 |
LICENSE="GPL-2" |
95 |
SLOT="0" |
96 |
[[ ${PV} == *9999* ]] || \ |
97 |
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" |
98 |
IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd dvdnav +enca encode +iconv jack -joystick |
99 |
jpeg ladspa lcms +libass libcaca libguess lirc lua luajit +mpg123 -openal +opengl |
100 |
oss portaudio +postproc pulseaudio pvr +quvi -radio samba +shm v4l vaapi vcd vdpau |
101 |
vf-dlopen wayland +X xinerama +xscreensaver +xv" |
102 |
|
103 |
REQUIRED_USE=" |
104 |
dvdnav? ( dvd ) |
105 |
enca? ( iconv ) |
106 |
lcms? ( opengl ) |
107 |
libguess? ( iconv ) |
108 |
luajit? ( lua ) |
109 |
opengl? ( || ( wayland X ) ) |
110 |
pvr? ( v4l ) |
111 |
radio? ( v4l || ( alsa oss ) ) |
112 |
vaapi? ( X ) |
113 |
vdpau? ( X ) |
114 |
wayland? ( opengl ) |
115 |
xinerama? ( X ) |
116 |
xscreensaver? ( X ) |
117 |
xv? ( X ) |
118 |
" |
119 |
|
120 |
RDEPEND+=" |
121 |
|| ( |
122 |
>=media-video/libav-9:=[encode?,threads,vaapi?,vdpau?] |
123 |
>=media-video/ffmpeg-1.2:0=[encode?,threads,vaapi?,vdpau?] |
124 |
) |
125 |
sys-libs/ncurses |
126 |
sys-libs/zlib |
127 |
X? ( |
128 |
x11-libs/libXext |
129 |
x11-libs/libXxf86vm |
130 |
opengl? ( virtual/opengl ) |
131 |
lcms? ( media-libs/lcms:2 ) |
132 |
vaapi? ( >=x11-libs/libva-0.34.0[X(+)] ) |
133 |
vdpau? ( >=x11-libs/libvdpau-0.2 ) |
134 |
xinerama? ( x11-libs/libXinerama ) |
135 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
136 |
xv? ( x11-libs/libXv ) |
137 |
) |
138 |
alsa? ( media-libs/alsa-lib ) |
139 |
bluray? ( >=media-libs/libbluray-0.2.1 ) |
140 |
bs2b? ( media-libs/libbs2b ) |
141 |
cdio? ( |
142 |
|| ( |
143 |
dev-libs/libcdio-paranoia |
144 |
<dev-libs/libcdio-0.90[-minimal] |
145 |
) |
146 |
) |
147 |
dvb? ( virtual/linuxtv-dvb-headers ) |
148 |
dvd? ( |
149 |
>=media-libs/libdvdread-4.1.3 |
150 |
dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) |
151 |
) |
152 |
enca? ( app-i18n/enca ) |
153 |
iconv? ( virtual/libiconv ) |
154 |
jack? ( media-sound/jack-audio-connection-kit ) |
155 |
jpeg? ( virtual/jpeg ) |
156 |
ladspa? ( media-libs/ladspa-sdk ) |
157 |
libass? ( |
158 |
>=media-libs/libass-0.9.10:=[enca?,fontconfig] |
159 |
virtual/ttf-fonts |
160 |
) |
161 |
libcaca? ( >=media-libs/libcaca-0.99_beta18 ) |
162 |
libguess? ( >=app-i18n/libguess-1.0 ) |
163 |
lirc? ( app-misc/lirc ) |
164 |
lua? ( |
165 |
!luajit? ( >=dev-lang/lua-5.1 ) |
166 |
luajit? ( dev-lang/luajit:2 ) |
167 |
) |
168 |
mpg123? ( >=media-sound/mpg123-1.14.0 ) |
169 |
openal? ( >=media-libs/openal-1.13 ) |
170 |
portaudio? ( >=media-libs/portaudio-19_pre20111121 ) |
171 |
postproc? ( |
172 |
|| ( |
173 |
media-libs/libpostproc |
174 |
>=media-video/ffmpeg-1.2:0[encode?,threads,vaapi?,vdpau?] |
175 |
) |
176 |
) |
177 |
pulseaudio? ( media-sound/pulseaudio ) |
178 |
quvi? ( |
179 |
>=media-libs/libquvi-0.4.1:= |
180 |
|| ( |
181 |
>=media-video/libav-9[network] |
182 |
>=media-video/ffmpeg-1.2:0[network] |
183 |
) |
184 |
) |
185 |
samba? ( net-fs/samba ) |
186 |
v4l? ( media-libs/libv4l ) |
187 |
wayland? ( |
188 |
>=dev-libs/wayland-1.3.0 |
189 |
media-libs/mesa[egl,wayland] |
190 |
>=x11-libs/libxkbcommon-0.3.0 |
191 |
) |
192 |
" |
193 |
ASM_DEP="dev-lang/yasm" |
194 |
DEPEND="${RDEPEND} |
195 |
virtual/pkgconfig |
196 |
>=dev-lang/perl-5.8 |
197 |
dev-python/docutils |
198 |
doc-pdf? ( |
199 |
dev-texlive/texlive-latex |
200 |
dev-texlive/texlive-latexrecommended |
201 |
dev-texlive/texlive-latexextra |
202 |
dev-tex/xcolor |
203 |
) |
204 |
X? ( |
205 |
x11-proto/videoproto |
206 |
x11-proto/xf86vidmodeproto |
207 |
xinerama? ( x11-proto/xineramaproto ) |
208 |
xscreensaver? ( x11-proto/scrnsaverproto ) |
209 |
) |
210 |
amd64? ( ${ASM_DEP} ) |
211 |
x86? ( ${ASM_DEP} ) |
212 |
x86-fbsd? ( ${ASM_DEP} ) |
213 |
" |
214 |
DOCS=( Copyright README.md etc/example.conf etc/input.conf ) |
215 |
|
216 |
pkg_setup() { |
217 |
if use !libass; then |
218 |
ewarn |
219 |
ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." |
220 |
fi |
221 |
|
222 |
einfo "For additional format support you need to enable the support on your" |
223 |
einfo "libavcodec/libavformat provider:" |
224 |
einfo " media-video/libav or media-video/ffmpeg" |
225 |
} |
226 |
|
227 |
src_unpack() { |
228 |
if [[ ${PV} == *9999* ]]; then |
229 |
git-r3_src_unpack |
230 |
else |
231 |
default_src_unpack |
232 |
fi |
233 |
|
234 |
cp "${DISTDIR}"/waf-${WAF_V} "${S}"/waf || die |
235 |
chmod 0755 "${S}"/waf || die |
236 |
} |
237 |
|
238 |
src_prepare() { |
239 |
base_src_prepare |
240 |
} |
241 |
|
242 |
src_configure() { |
243 |
# keep build reproducible |
244 |
# do not add -g to CFLAGS |
245 |
# SDL output is fallback for platforms where nothing better is available |
246 |
# media-sound/rsound is in pro-audio overlay only |
247 |
waf-utils_src_configure \ |
248 |
--disable-build-date \ |
249 |
--disable-debug-build \ |
250 |
--disable-sdl \ |
251 |
--disable-sdl2 \ |
252 |
--disable-rsound \ |
253 |
$(use_enable encode encoding) \ |
254 |
$(use_enable joystick) \ |
255 |
$(use_enable bluray libbluray) \ |
256 |
$(use_enable vcd) \ |
257 |
$(use_enable quvi libquvi) \ |
258 |
$(use_enable samba libsmbclient) \ |
259 |
$(use_enable lirc) \ |
260 |
$(use_enable lua) \ |
261 |
$(usex luajit '--lua=luajit' '') \ |
262 |
$(use_enable doc-pdf pdf-build) \ |
263 |
$(use_enable vf-dlopen vf-dlopen-filters) \ |
264 |
$(use_enable cdio cdda) \ |
265 |
$(use_enable dvd dvdread) \ |
266 |
$(use_enable dvdnav) \ |
267 |
$(use_enable enca) \ |
268 |
$(use_enable iconv) \ |
269 |
$(use_enable libass) \ |
270 |
$(use_enable libguess) \ |
271 |
$(use_enable dvb) \ |
272 |
$(use_enable pvr) \ |
273 |
$(use_enable v4l libv4l2) \ |
274 |
$(use_enable v4l tv) \ |
275 |
$(use_enable v4l tv-v4l2) \ |
276 |
$(use_enable radio) \ |
277 |
$(use_enable radio radio-capture) \ |
278 |
$(use_enable radio radio-v4l2) \ |
279 |
$(use_enable mpg123) \ |
280 |
$(use_enable jpeg) \ |
281 |
$(use_enable libcaca caca) \ |
282 |
$(use_enable postproc libpostproc) \ |
283 |
$(use_enable alsa) \ |
284 |
$(use_enable jack) \ |
285 |
$(use_enable ladspa) \ |
286 |
$(use_enable portaudio) \ |
287 |
$(use_enable bs2b libbs2b) \ |
288 |
$(use_enable openal) \ |
289 |
$(use_enable oss oss-audio) \ |
290 |
$(use_enable pulseaudio pulse) \ |
291 |
$(use_enable shm) \ |
292 |
$(use_enable X x11) \ |
293 |
$(use_enable vaapi) \ |
294 |
$(use_enable vdpau) \ |
295 |
$(use_enable wayland) \ |
296 |
$(use_enable xinerama) \ |
297 |
$(use_enable xv) \ |
298 |
$(use_enable opengl gl) \ |
299 |
$(use_enable lcms lcms2) \ |
300 |
$(use_enable xscreensaver xss) \ |
301 |
--confdir="${EPREFIX}"/etc/${PN} \ |
302 |
--mandir="${EPREFIX}"/usr/share/man \ |
303 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} |
304 |
} |
305 |
|
306 |
src_install() { |
307 |
waf-utils_src_install |
308 |
|
309 |
if use luajit; then |
310 |
pax-mark -m "${ED}"usr/bin/mpv |
311 |
fi |
312 |
} |