[MacPorts] #40844: Please add port "mpv"
#40844: Please add port "mpv" -------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: -------------------------+-------------------------------- Please add the port [http://mpv.io mpv]. It's a media player derived from mplayer and mplayer2. It fixes some long-standing issues of its ancestors and is more compatible to OSX. Minimal Portfile attached. -- Ticket URL: <https://trac.macports.org/ticket/40844> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ryandesign@…): Should the port name be mpv or mpv-player? If the former, the `name mpv- player` line should be removed. If the latter, the `name mpv-player` line should be moved after the `github.setup` line. Why fetch from git instead of from the release tarball? -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by kurtjaeke@…): Replying to [comment:1 ryandesign@…]:
Should the port name be mpv or mpv-player? mpv. See updated Portfile.
Why fetch from git instead of from the release tarball? Why not? What are the options?
-- Ticket URL: <https://trac.macports.org/ticket/40844#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by kurtjaeke@…): I did some reading. Please see the attached new [attachment:Portfile.2 Portfile], which uses the release tarball instead of git. -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ctreleaven@…): Following is a minimally working Portfile, at least on OS X 10.9. mpg installs and will play 1080i mpeg files. Using mplayer2 as a guide, I've added an extensive list of configure flags. Right now, a couple of obvious bits are disabled (libass and vda) because they seem to cause the build to fall over. It is a start, at least. There also may be an issue in that SDL and SDL2 are installed at the same time. The player indicates that this could be a problem. -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by ionic@…): And with this, ladies and gentlemen, I present to you the fully worked out mpv Portfile. It features all customizations I could think of and is just a little bit more extensive than the previously suggested solutions. Please give it a spin, enjoy VDA decoding acceleration and whatnot. -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+---------------------- Changes (by devans@…): * status: new => assigned * owner: macports-tickets@… => devans@… -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+---------------------- Comment (by ionic@…): Just as a heads up, this is my most favourite ~/.mpv/config file: {{{ # Write your default config options here! [default] vo=opengl-hq:backend=cocoa ao=coreaudio sub-scale=3 af=scaletempo softvol=yes softvol-max=500 framedrop=yes hwdec=vda alang=en,eng,de,ger cache=16384 }}} Personally, I like building mpv with +bundle+caca+lirc+mp3+network+opengl+osd+portaudio+screenshot+smb+x11 And what I like best about it (besides the HW acceleration features) is running stuff like this: {{{ mpv https://www.youtube.com/watch?v=4I5Q3UXkGd0 }}} :) -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+---------------------- Comment (by ionic@…): Updated to 0.4.1. The other patch is now obsolete. -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+---------------------- Comment (by ionic@…): Updated to 0.4.2. -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+---------------------- Comment (by mf2k@…): I've added my tweaked Portfile (including a renamed patchfile to appease lint). -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------+---------------------- Comment (by ionic@…): I've included your suggestions and added: * automatic `python` variant generation, currently for `2.7`, `3.2`, `3.3` and `3.4`, also getting rid of the former `py32-docutils` patch * `nodvd` changed to `dvd` and made default * added own config file in `${prefix}/share/examples/mpv/config- maintainer` and `notes` describing how to use it (interesting for users with hardware acceleration, pretty much everything past 10.6.3) * workaround a compile warning by patching the source to not use `#include <GL/gl3.h>` but only `<GL/gl.h>` (mpv doesn't make use of OpenGL 3 and up anyway) with respective comments as to why -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40844: Please add port "mpv" --------------------------+---------------------- Reporter: kurtjaeke@… | Owner: devans@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: mpv | --------------------------+---------------------- Changes (by mf2k@…): * status: assigned => closed * version: 2.2.0 => * resolution: => fixed * port: => mpv Comment: r123689. Thanks for your patience. -- Ticket URL: <https://trac.macports.org/ticket/40844#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts