From 01fad8fafebfcb2387420c7bc3ebd703d1992b4a Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 17 Jan 2021 19:19:40 +0300 Subject: [PATCH] mpv-player ver. bump --- multimedia/video/mpv-player/actions.py | 9 ++++----- .../video/mpv-player/files/05_add-keywords.patch | 14 ++++++-------- multimedia/video/mpv-player/pspec.xml | 10 +++++++++- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/multimedia/video/mpv-player/actions.py b/multimedia/video/mpv-player/actions.py index 68d566166e..aa45f4f57b 100644 --- a/multimedia/video/mpv-player/actions.py +++ b/multimedia/video/mpv-player/actions.py @@ -15,20 +15,19 @@ shelltools.export("LDFLAGS", "%s -Wl,--as-needed" % get.LDFLAGS()) def setup(): shelltools.system("./bootstrap.py") - shelltools.system("python waf configure --prefix=/usr \ + shelltools.system("python3 waf configure --prefix=/usr \ --confdir=/etc/mpv \ --enable-dvb \ --enable-cdda \ --enable-dvdnav \ --enable-libarchive \ - --enable-libmpv-shared \ - --disable-libsmbclient") + --enable-libmpv-shared") def build(): - shelltools.system("python waf build -v") + shelltools.system("python3 waf build -v") def install(): - shelltools.system("DESTDIR=%s python waf install" % get.installDIR()) + shelltools.system("DESTDIR=%s python3 waf install" % get.installDIR()) pisitools.insinto("/usr/share/mpv/scripts", "TOOLS/lua/*") pisitools.dodoc("Copyright", "RELEASE_NOTES", "README.md") diff --git a/multimedia/video/mpv-player/files/05_add-keywords.patch b/multimedia/video/mpv-player/files/05_add-keywords.patch index b8045c9be3..9194ca15e4 100644 --- a/multimedia/video/mpv-player/files/05_add-keywords.patch +++ b/multimedia/video/mpv-player/files/05_add-keywords.patch @@ -1,10 +1,8 @@ -Description: Add keywords to desktop file -Author: Mateusz Łukasik - ---- a/etc/mpv.desktop -+++ b/etc/mpv.desktop -@@ -29,3 +29,4 @@ Terminal=false +diff -Nuar a/etc/mpv.desktop b/etc/mpv.desktop +--- a/etc/mpv.desktop 2020-11-22 20:46:28.000000000 +0300 ++++ b/etc/mpv.desktop 2021-01-17 18:49:04.133086291 +0300 +@@ -34,3 +34,4 @@ Categories=AudioVideo;Audio;Video;Player;TV; - MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/mp4;video/msvideo;video/x-msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-flv;video/x-theora;video/x-matroska;video/webm;audio/x-flac;audio/x-vorbis+ogg;video/x-ogm+ogg;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;video/mp2t;audio/flac;audio/mp4; - X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb + MimeType=application/ogg;application/x-ogg;application/mxf;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/aiff;audio/x-aiff;audio/m4a;audio/x-m4a;application/x-extension-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/mpeg2;audio/mpeg3;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/musepack;audio/x-musepack;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg2;video/x-mpeg3;video/mp4v-es;video/x-m4v;video/mp4;application/x-extension-mp4;video/divx;video/vnd.divx;video/msvideo;video/x-msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;audio/x-ms-asf;application/vnd.ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/avi;video/x-flic;video/fli;video/x-flc;video/flv;video/x-flv;video/x-theora;video/x-theora+ogg;video/x-matroska;video/mkv;audio/x-matroska;application/x-matroska;video/webm;audio/webm;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;video/x-ogm;video/x-ogm+ogg;application/x-ogm;application/x-ogm-audio;application/x-ogm-video;application/x-shorten;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;audio/eac3;audio/amr-wb;video/mp2t;audio/flac;audio/mp4;application/x-mpegurl;video/vnd.mpegurl;application/vnd.apple.mpegurl;audio/x-pn-au;video/3gp;video/3gpp;video/3gpp2;audio/3gpp;audio/3gpp2;video/dv;audio/dv;audio/opus;audio/vnd.dts;audio/vnd.dts.hd;audio/x-adpcm;application/x-cue;audio/m3u; + X-KDE-Protocols=ftp,http,https,mms,rtmp,rtsp,sftp,smb,srt +Keywords=mpv;media;player;video;audio;tv; diff --git a/multimedia/video/mpv-player/pspec.xml b/multimedia/video/mpv-player/pspec.xml index 97b89b32ba..9ed8979fbf 100644 --- a/multimedia/video/mpv-player/pspec.xml +++ b/multimedia/video/mpv-player/pspec.xml @@ -12,8 +12,9 @@ app:gui mpv is based on mplayer2 mpv has Wayland support, Improved OpenGL output, Support for libavfilter (for video->video and audio->audio). This allows using most of FFmpeg's filters, which improve greatly on the old MPlayer filters in features, performance, and correctness.is a movie player that can run on many platforms. Improved OpenGL output. More correct color reproduction (color matrix generation), including support for BT.2020 (Ultra HD) and linear XYZ (Digital Cinema) inputs. - https://github.com/mpv-player/mpv/archive/v0.32.0.tar.gz + https://github.com/mpv-player/mpv/archive/v0.33.0.tar.gz + python3-devel libzimg-devel mesa-devel ffmpeg-devel @@ -138,6 +139,13 @@ + + 2021-01-17 + 0.33.0 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-10-05 0.32.0