
- #Plex media player for mac how to#
- #Plex media player for mac install#
- #Plex media player for mac generator#
- #Plex media player for mac download#
comment set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype) with #. locate Qt5CoreConfigExtras.cmake of your Qt build/installation. Sometimes, PMP's cmake run mysteriously fails. If you want, you can wipe the ~/pmp/ directory, as the PMP installation does not depend on it. Normally, the Ninja generator (via -GNinja) is preferred, but cmake + ninja support appears to be broken on Ubuntu 16.04. If you use your distro's Qt, use -DQTROOT=/usr or similar. You should now be able to start PMP as plexmediaplayer from the terminal.
cmake -DCMAKE_BUILD_TYPE=Debug -DQTROOT=/opt/Qt5.9.5/5.9/gcc_64/ -DCMAKE_INSTALL_PREFIX=/usr/local/. git clone git:///plexinc/plex-media-player. Building plex-media-playerĪssuming that everything else has installed correctly, building Plex Media Player should now be fairly straightforward: You can also attempt to skip the installation step, and change the paths in the PMP build step to the build directory, but this is more complicated. (The FFmpeg libraries are statically linked in libmpv when using mpv-build.) In particular, it does not install or use FFmpeg libraries. With this, libmpv should have been installed to /usr/local/. rebuild -j4 (this steps checks out all sources and compiles them and takes a while)
you can also add echo -disable-cplayer > mpv_options to prevent mpv CLI from being built. echo -enable-libmpv-shared > mpv_options. First you need to install some build prerequisites: Here are instructions how to build them locally. It's recommended to build a current version, or to get them from 3rd party sources (some are listed on ). While most distros have FFmpeg and mpv packages, they're often outdated. (Untested whether this works reliably.) Building mpv and ffmpeg
On Windows and OSX, you can omit the -DQTROOT argument to use the Qt built by Plex.
Otherwise, download a supported Qt version from qt.io. If your distro provides a Qt 5.9.5 package, try to use it. Systems not based on Debian/Ubuntu will have similar packages, but you'll need to figure out their names yourself.
sudo apt install autoconf automake libtool libharfbuzz-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrandr-dev libvdpau-dev libva-dev mesa-common-dev libegl1-mesa-dev yasm libasound2-dev libpulse-dev libuchardet-dev zlib1g-dev libfribidi-dev git libgnutls28-dev libgl1-mesa-dev libsdl2-dev cmake. They were tested on a fresh install without extra options and with auto-updates applied. These instructions are for Ubuntu 16.04 LTS and up. Downgrading a system Qt will cause issues in other applications depending on a newer Qt version. Please consider building PMP within a dedicated VM or Docker container if your system has a Qt version installed newer than 5.9.5. However, Qt 5.11.0 and 5.11.1 versions are incompatible and should be avoided. Our users have indicated that Qt 5.10 and Qt 5.11 also builds correctly. Plex Media Player officially requires Qt 5.9.5.
Or if you prefer working in Xcode, run CMake for the xcode build):
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=output. Install mpv and other dependencies with homebrew:. If you're happy just building from the command line then run CMake for the ninja build tool:
This repository is preserved as it was when last developed. Note: Plex is no longer actively maintaining Plex Media Player.