diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2014-04-30 18:34:48 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2014-04-30 18:34:48 +0000 |
commit | 5a92074186da2c187985678e066b41d83d7dba05 (patch) | |
tree | e40bbcb7d6c5f9f62f27ccf1cba5254071729010 /media-video | |
parent | Use multilib_src_install(). (diff) | |
download | historical-5a92074186da2c187985678e066b41d83d7dba05.tar.gz historical-5a92074186da2c187985678e066b41d83d7dba05.tar.bz2 historical-5a92074186da2c187985678e066b41d83d7dba05.zip |
Bump to 0.3.9, thanks to Nikoli.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xF8DBDADE
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mpv/Manifest | 18 | ||||
-rw-r--r-- | media-video/mpv/mpv-0.3.9.ebuild | 249 |
3 files changed, 265 insertions, 9 deletions
diff --git a/media-video/mpv/ChangeLog b/media-video/mpv/ChangeLog index 9542c07b9b3d..983aa39abeef 100644 --- a/media-video/mpv/ChangeLog +++ b/media-video/mpv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mpv # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.73 2014/04/25 14:42:44 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/ChangeLog,v 1.74 2014/04/30 18:34:39 maksbotan Exp $ + +*mpv-0.3.9 (30 Apr 2014) + + 30 Apr 2014; Maxim Koltsov <maksbotan@gentoo.org> +mpv-0.3.9.ebuild: + Bump to 0.3.9, thanks to Nikoli. 25 Apr 2014; Maxim Koltsov <maksbotan@gentoo.org> mpv-0.3.8.ebuild, mpv-9999.ebuild: diff --git a/media-video/mpv/Manifest b/media-video/mpv/Manifest index 23d5f11684f3..e1047d2bc882 100644 --- a/media-video/mpv/Manifest +++ b/media-video/mpv/Manifest @@ -5,23 +5,25 @@ DIST mpv-0.3.5.tar.gz 2516492 SHA256 0d1506ad448e42cd7c8de15c7d6c23725b62db87f3d DIST mpv-0.3.6.tar.gz 2517831 SHA256 50521211d249c7b5e7943a548bdd387201b949b0c72492c8ab36a95c68d096f6 SHA512 4f94f0fa4d6ee2d070da1adcd0801d8f1ae5893407cfd422c412526449aeeed45fbb953463393779fde869d68351c5d93416bfe9e2f3dfc2c74ccdf7a746f91f WHIRLPOOL becf4a6519a2927495a37aedc890cc7a5217e670ba5080648749199f54be49ebb5424d5a1d87c84feba50144fa9e7629be06767965626709ba6b135f9c1043c9 DIST mpv-0.3.7.tar.gz 2520085 SHA256 351098923a1830d1792c985018b8788d05285af05d70c5044508f2f6b6acbce2 SHA512 452128df418e50c19cf86041decf77202082fc82997aee36ae95e5c0d447dd1e30fcbe9c28d6ec52b0415252b74791152ec485ddc918a1f010d9cc7b9a0f4b29 WHIRLPOOL fc029b3598b0dc7622a1dce91187a156db03fe6f19101109483251f2e59144b75fb1ae7ef2e61174f724d97cfe616c643d9f38a5c85965ad4bf1a525a078a047 DIST mpv-0.3.8.tar.gz 2520113 SHA256 6bcc9be4ec79854c17aafe6ffea2863ee8d25692735792dfde97ea7a02cee74c SHA512 c6a8cc7bf0866a9bfd63a216ad4a07d80898db4fef74c9bda098e4c5a33933366b8eaa102cb6fd7a8e608b6170bd37c889dcbc57dc88dcbfb7db8c29f7daa733 WHIRLPOOL 95b13e66c72815e291115f99b43521deccc4c23023ae2acedc9a27b4a9d151648e0a35964484f63b33f272ce7a006130562fda3c80fef7742fe35c1f993e8143 +DIST mpv-0.3.9.tar.gz 2520490 SHA256 16bef041dfdeab2608e2b77adcbed31aa62d2e100c3a8d1a69eb4ba7b9d4778d SHA512 47e7674f3197466f9fae5e092cbf2d8c4c18282e3c2528f70cfe3cd23d6cda7a85809fd7ceaca2838b82ebe70cc6d1bedd56c20e25b37e25d51c74478504bbd9 WHIRLPOOL 631aa19834615b4500f8f3f52dbb8a338ba47602a26ca82dc80b0161fa82d651bdfeca150c301570b14f8b95124f9682fa9edd8db928a0d6d8caf772dff56c4e DIST waf-1.7.13 90702 SHA256 03cc750049350ee01cdbc584b70924e333fcc17ba4a2d04648dab1535538a873 SHA512 4388cd200d86d9757db95a138d75655e419fd9372de1dc392025b2ecfb9a0cc95d0b17639689ac293b753355af4baea0fc700ddd5d419755facc4e1dfa009521 WHIRLPOOL db94ba365aa84927942e1d95079f9efe377e646dcb7183d6a80d4b57ebbe195d48d23b7688216bd0b793e2f914e1d83caae3b517e385f891a26f670ebc17ed05 DIST waf-1.7.15 90909 SHA256 e5ae7028f9b2d8ce1acb9fe1092e8010a90ba764d3ac065ea4e846743290b1d6 SHA512 5d6f75a7a81d369512c6bf70ae14c5275cfdc2b273a5801d7ee928a829ca472aac5ee9f9f2542af6369f34c1648dd12e42112efc29d602527b9ba58a311b4c17 WHIRLPOOL 84048737d1ba746454212e13696ba34d9fc722c74823f719503e29123e33869a49742fba02e24212e3f67e045c5499cf1893bbd191bf8df1dd5cae05a517a17c EBUILD mpv-0.3.5.ebuild 6090 SHA256 eb6babafd533be9194f9c1f77cddbb5283165a5c9bf533fdf7d3483cd58c8927 SHA512 91c8089bfa31f5c37fbf88968fcd16d764a5f03ff27242237f4e0d7df84fca34fc19a00dd470fabb423e5ae92b602749394b1306a15c5e647fee7a5da0fc87b9 WHIRLPOOL aa235db1e58a3fa16111332517c193966e611ae2e38b2d133f5b97d011fa53dd426e7f7f1ff1e60cf16fbdc1aff021947e12d32b6b430fbb3c211006c6041496 EBUILD mpv-0.3.6.ebuild 6110 SHA256 2d6bde9d8c523a7734f7bd182e99d137871d92e37090c06145c4c82976d0ce36 SHA512 b263d08f18c8e56c129719145e440ceb94874e8af5ecf00bdb5c8b7b10acd4d3af6c3bbaaa1fb8c73528c22934b60f1d4e50e0ef7c8adc20a3d1831f4acc1c06 WHIRLPOOL fab9c3af18b8bfdbf80ee4b04608a2d10ede8c4b81a7517ca198f5bb8a0952142061d8c00e5f0207d47dd59245c672bc88aadad1db362554147c7150b49c2040 EBUILD mpv-0.3.7.ebuild 6319 SHA256 d496398ec35eedbab8229afd377b998ca46a87a694a472901f337ef645a38015 SHA512 8ead17b84899a2d5a7b430499f09d9cfb711bf2a4d056c00e75f72f99ea32d40d90f62348060694ea0fafccb577765a2445e0b428dd072e126b9522ec66176fa WHIRLPOOL 39319ad4020654e04f53c1266b1b5240215d129d6a6d5cea9ad8c398d027119a30aac199bd7c8ade6502673d9162223a4c87fa26bbb882915b6ef458853f59f9 EBUILD mpv-0.3.8.ebuild 6289 SHA256 4aab0459147ccfde4b392f568b1ffd51531bc2786f1392519ad978f8e0cb652a SHA512 c60534acd493d6dd1020182b8e8357f0e624a984e71de1bbdf50f1a9f0425260a95c163d70f51e1e590425f0183c6772d0fa41bb7f5a68fb0b0b9b8c276021fe WHIRLPOOL 3a7dbeaf55e2476a18e703d37566ea1acdc799f46a78b6e2b9c17357d42c12fd0e8597933d472c6acd8f55e6b980c2a83c36d26bb1116235270f1b2ce1393175 +EBUILD mpv-0.3.9.ebuild 6289 SHA256 a60c90fd8cc798ab2249583e5920eb476d1770d83a80de10360556d04e560484 SHA512 f9928cda778c7d7fa92f7bdb95f5e695fd4f2ec3f11552a7919b0b3066241c5cb0a14f721149dd51763792e477e1e4b6fe086c0e8fa20fd825e92a86c5dfceea WHIRLPOOL da801aac16f0e355693d5079b6fac36279f97a8cae1cde666df45fbdcb050745ea65167e95aef4c9e84fb75876214fe14c7f8f4c0a0dabdeb6ced274d8dab704 EBUILD mpv-9999.ebuild 6037 SHA256 30ea6d9f13c010dcb458738bb8b8090927e81b8e638d764ab84f5f0f4e4aa392 SHA512 5990e0ec9a5f7eed3c6c14f1f677330f3e897193fbc924e1d08566d71f8443e08bf8ef529acffa793bd0ac6d92525712bc815f54074390550d5cadc44294d70d WHIRLPOOL 5256fc4b5a162647d0e45cd97195c8e26e92a6e50fc039f2e6bf2a1188ba6c425249ed2a7037f1bc23f02f5bd99ddc295fddb8b3fd4a12d151332d0d562a97f9 -MISC ChangeLog 12059 SHA256 17f8424b74bc34d905c5e6d8821bc5c218dddebb47b0eaff8eba95df9470cf25 SHA512 ac28dda4e06c52f2af3889d3515a9177ce9f1f95876271cf589896717106e6d1f48e557d02ae2d2734f795b18e7dbbb0240fa0d2d1a5d0bbc5b311b82165a54f WHIRLPOOL 03b23ad147dc460cf21079b9bd4a068c471ff7410b7c31d7e4bd735028ab4e170d24c0714d5142d959af2630822f5115687d6e14f9b4cb8ad6cad4ef5192a887 +MISC ChangeLog 12192 SHA256 77e089a74aa68212bec1b7c493229c94f44b3e9d260ce61dea704f74d425fee8 SHA512 65a1fccdaf581043304fcd407de1e4e292fc9a59007f639b4efdce56c6083c0fd6a9153b65538fe755d7cd48e3118f5ed1cc5621f4942ec6c7352a150640bed6 WHIRLPOOL a9a59564a3b3243e440e6e969d1effc2f607f0285f5bd54063b1a73baa006f74352aa415b3fe1a4669944bbec6b6506666b800424b42a3a42ed478f6f59cd007 MISC metadata.xml 1736 SHA256 0e4d2c19d37d4a7ac26b3fff974ad552ac10eccd805299fdbcfbb3dc70f104de SHA512 ed48c6ac83a88acb31f4686e3a34701ac0e45b12e4d61a7af352a4288057fe03d60fc0fa26b92ec54a016a4757af08d4609246f41f6626d4ff5cee9b04c176f8 WHIRLPOOL c7eab998ed1551b8286780d05103a2f7f9a77b37d85e320f5b2be5f68fa47eaef64337a5b2ecd0b0a0f851eda92b0b8de8bf3d3964192a48342483752d62aaa3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQEcBAEBCAAGBQJTWnRpAAoJEAmJmMX429reLVsH/0+GFJ3Nm9YzZUJnEDwAx1a0 -+hAC8Sct1ZE3iuL7L5g70cqa60vd8dr/DQM6r05luQZo2yZS8utTtJoI9U8hFW/v -zsyX0lGy3Nqi9c2nENJlNGsx4S3b8KJr4tOmLC9nRLSiVCOJyug3X+UsN7CfnjZ6 -D8/c9Jmgbvnx+w7oPn0HCM0RmdS+V/Aog2y0ZeNrNsil81sYG3ZNOgL4I1O/wU+5 -95Dtumv46GF1if1D0MwWSNjnued+abo4+YNUGzUJ2y1jkhj8wGkE5rhXxnGB40xf -bKbXg2Lr4QMq1laA6tiKu0luHBnXFRAZptWWwePGo/Ed+Gw8rRTYSRrKqWK6fv0= -=qESO +iQEcBAEBCAAGBQJTYUI7AAoJEAmJmMX429re4SsIAIY845WrdvR+JiZZ5EIKw+i1 +WpcWQOrQMfG7EZ0vWHNBlaLu1jpf3rqrphMaLOAK0tmfJl/9BUsQuk4PbYqwC8GT +NibQRsG6X6Fxef/G5Avd2ycW8DOqNAMLYDo89gashodqsar+bmA5otlmPDmR4/4i +e03p/uFEuzO1H4rU90VnOvbPMUAurT9fTeS/vk5iJW1KPQ2XIR8f/Ni194F35ZyA +q5/sIy1wXWbMxM+mCmy0iWyhWtb7a9g7HHue4urUz4mNiOJq9LGTLMLG1bps5eg1 +55FHW2FNpsG6xzbThynsIEmFb6++hvzPoJ0XbGJ8j9RxAvbxC8YHHCV1yoHMRWQ= +=VOjU -----END PGP SIGNATURE----- diff --git a/media-video/mpv/mpv-0.3.9.ebuild b/media-video/mpv/mpv-0.3.9.ebuild new file mode 100644 index 000000000000..454300918e46 --- /dev/null +++ b/media-video/mpv/mpv-0.3.9.ebuild @@ -0,0 +1,249 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpv/mpv-0.3.9.ebuild,v 1.1 2014/04/30 18:34:39 maksbotan Exp $ + +EAPI=5 + +EGIT_REPO_URI="https://github.com/mpv-player/mpv.git" + +inherit eutils waf-utils pax-utils fdo-mime gnome2-utils +[[ ${PV} == *9999* ]] && inherit git-r3 + +WAF_V="1.7.15" + +DESCRIPTION="Video player based on MPlayer/mplayer2" +HOMEPAGE="http://mpv.io/" +SRC_URI="https://waf.googlecode.com/files/waf-${WAF_V}" +[[ ${PV} == *9999* ]] || \ +SRC_URI+=" https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="+alsa bluray bs2b +cdio -doc-pdf dvb +dvd dvdnav +enca encode +iconv jack -joystick +jpeg ladspa lcms +libass libcaca libguess lirc lua luajit +mpg123 -openal +opengl +oss portaudio +postproc pulseaudio pvr +quvi -radio samba sdl selinux +shm v4l vaapi vcd vdpau +vf-dlopen wayland +X xinerama +xscreensaver +xv" + +REQUIRED_USE=" + dvdnav? ( dvd ) + enca? ( iconv ) + lcms? ( opengl ) + libguess? ( iconv ) + luajit? ( lua ) + opengl? ( || ( wayland X ) ) + pvr? ( v4l ) + radio? ( v4l || ( alsa oss ) ) + vaapi? ( X ) + vdpau? ( X ) + wayland? ( opengl ) + xinerama? ( X ) + xscreensaver? ( X ) + xv? ( X ) +" + +RDEPEND+=" + || ( + >=media-video/libav-9.10:=[encode?,threads,vaapi?,vdpau?] + >=media-video/ffmpeg-1.2.4:0=[encode?,threads,vaapi?,vdpau?] + ) + sys-libs/ncurses + sys-libs/zlib + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + opengl? ( virtual/opengl ) + lcms? ( media-libs/lcms:2 ) + vaapi? ( >=x11-libs/libva-0.34.0[X(+)] ) + vdpau? ( >=x11-libs/libvdpau-0.2 ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + xv? ( x11-libs/libXv ) + ) + alsa? ( media-libs/alsa-lib ) + bluray? ( >=media-libs/libbluray-0.2.1 ) + bs2b? ( media-libs/libbs2b ) + cdio? ( + dev-libs/libcdio + dev-libs/libcdio-paranoia + ) + dvb? ( virtual/linuxtv-dvb-headers ) + dvd? ( + >=media-libs/libdvdread-4.1.3 + dvdnav? ( >=media-libs/libdvdnav-4.2.0 ) + ) + enca? ( app-i18n/enca ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + jpeg? ( virtual/jpeg:0 ) + ladspa? ( media-libs/ladspa-sdk ) + libass? ( + >=media-libs/libass-0.9.10:=[enca?,fontconfig] + virtual/ttf-fonts + ) + libcaca? ( >=media-libs/libcaca-0.99_beta18 ) + libguess? ( >=app-i18n/libguess-1.0 ) + lirc? ( app-misc/lirc ) + lua? ( + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 ) + ) + mpg123? ( >=media-sound/mpg123-1.14.0 ) + openal? ( >=media-libs/openal-1.13 ) + portaudio? ( >=media-libs/portaudio-19_pre20111121 ) + postproc? ( + || ( + media-libs/libpostproc + >=media-video/ffmpeg-1.2:0[encode?,threads,vaapi?,vdpau?] + ) + ) + pulseaudio? ( media-sound/pulseaudio ) + quvi? ( + >=media-libs/libquvi-0.4.1:= + || ( + >=media-video/libav-9.10[network] + >=media-video/ffmpeg-1.2.4:0[network] + ) + ) + samba? ( net-fs/samba ) + sdl? ( media-libs/libsdl2[threads] ) + selinux? ( sec-policy/selinux-mplayer ) + v4l? ( media-libs/libv4l ) + wayland? ( + >=dev-libs/wayland-1.3.0 + media-libs/mesa[egl,wayland] + >=x11-libs/libxkbcommon-0.3.0 + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + >=dev-lang/perl-5.8 + dev-python/docutils + doc-pdf? ( + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended + dev-texlive/texlive-latexextra + dev-tex/xcolor + ) + X? ( + x11-proto/videoproto + x11-proto/xf86vidmodeproto + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) + ) +" +DOCS=( Copyright README.md etc/example.conf etc/input.conf ) + +pkg_setup() { + if use !libass; then + ewarn + ewarn "You've disabled the libass flag. No OSD or subtitles will be displayed." + fi + + einfo "For additional format support you need to enable the support on your" + einfo "libavcodec/libavformat provider:" + einfo " media-video/libav or media-video/ffmpeg" +} + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + default_src_unpack + fi + + cp "${DISTDIR}"/waf-${WAF_V} "${S}"/waf || die + chmod 0755 "${S}"/waf || die +} + +src_prepare() { + epatch_user +} + +src_configure() { + # keep build reproducible + # do not add -g to CFLAGS + # SDL output is fallback for platforms where nothing better is available + # media-sound/rsound is in pro-audio overlay only + waf-utils_src_configure \ + --disable-build-date \ + --disable-debug-build \ + --disable-sdl \ + $(use_enable sdl sdl2) \ + --disable-rsound \ + $(use_enable encode encoding) \ + $(use_enable joystick) \ + $(use_enable bluray libbluray) \ + $(use_enable vcd) \ + $(use_enable quvi libquvi) \ + $(use_enable samba libsmbclient) \ + $(use_enable lirc) \ + $(use_enable lua) \ + $(usex luajit '--lua=luajit' '') \ + $(use_enable doc-pdf pdf-build) \ + $(use_enable vf-dlopen vf-dlopen-filters) \ + $(use_enable cdio cdda) \ + $(use_enable dvd dvdread) \ + $(use_enable dvdnav) \ + $(use_enable enca) \ + $(use_enable iconv) \ + $(use_enable libass) \ + $(use_enable libguess) \ + $(use_enable dvb) \ + $(use_enable pvr) \ + $(use_enable v4l libv4l2) \ + $(use_enable v4l tv) \ + $(use_enable v4l tv-v4l2) \ + $(use_enable radio) \ + $(use_enable radio radio-capture) \ + $(use_enable radio radio-v4l2) \ + $(use_enable mpg123) \ + $(use_enable jpeg) \ + $(use_enable libcaca caca) \ + $(use_enable postproc libpostproc) \ + $(use_enable alsa) \ + $(use_enable jack) \ + $(use_enable ladspa) \ + $(use_enable portaudio) \ + $(use_enable bs2b libbs2b) \ + $(use_enable openal) \ + $(use_enable oss oss-audio) \ + $(use_enable pulseaudio pulse) \ + $(use_enable shm) \ + $(use_enable X x11) \ + $(use_enable vaapi) \ + $(use_enable vdpau) \ + $(use_enable wayland) \ + $(use_enable xinerama) \ + $(use_enable xv) \ + $(use_enable opengl gl) \ + $(use_enable lcms lcms2) \ + $(use_enable xscreensaver xss) \ + --confdir="${EPREFIX}"/etc/${PN} \ + --mandir="${EPREFIX}"/usr/share/man \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + waf-utils_src_install + + if use luajit; then + pax-mark -m "${ED}"usr/bin/mpv + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |