Gentoo Archives: gentoo-commits

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