summary refs log tree commit diff
path: root/pkgs/applications/video/mpv/default.nix
Commit message (Collapse)AuthorAge
...
* mpv: install mpv_identify.shJosé Romildo Malaquias2020-09-21
| | | | | It is file identification script. It is used in mc default actions for video files.
* treewide: ffmpeg_4 -> ffmpegzowoq2020-06-16
|
* mpvScripts.simple-mpv-webui: init at 1.0.0Matías Lang2020-06-06
|
* mpv: disable samba support by defaultMatías Lang2020-05-31
| | | | | | | | samba support will be dropped in mpv upstream in its next release (see https://github.com/mpv-player/mpv/commit/3b8b7cb9d481828953f105f92bacc07a3cb2f332). Also, using it triggered segmentation faults when using luasocket. Closes #88584
* mpv: Move all wrappings to a single wrapper Nix functionDoron Behar2020-05-24
| | | | | | | | | | | | | | Inspired by `wrapNeovim`, write a wrapMpv Nix function that creates a derivation that has all of the environment that was added if needed at the unwrapped version. Add derivations to all-packages.nix in an almost compatible way and make `mpv-with-scripts` throw a message implying to switch to `wrapMpv` which has an incompatible signature. Add to vapoursynth a new passthru attribute `python3` that is used in passed down to the wrapper to ensure ABI compatibility with `PYTHONPATH`.
* mpv: fix lua pathMatías Lang2020-05-19
| | | | | | mpv uses lua without directly executing the "lua" binary, so prefixing $PATH wasn't enough. Without this change, lua scripts were unable to import luasocket.
* mpv: Enable archive support by defaultadisbladis2020-04-14
|
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-10
|
* mpv: fix cocoa backendMario Rodas2020-03-26
|
* mpv: call with frameworksDaiderd Jordan2020-02-07
| | | | | Referencing darwin.* directly makes overriding dependencies very awkward.
* mpv: add flag for swift on darwinDaiderd Jordan2020-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we currently don't have a pure swift build on macOS it's possible to build mpv using the swift compiler from CLT. eg. self: super: let CommandLineTools = "/Library/Developer/CommandLineTools"; in { swift = super.stdenv.mkDerivation { name = "swift-CommandLineTools-0.0.0"; phases = [ "installPhase" "fixupPhase" ]; propagatedBuildInputs = [ self.darwin.DarwinTools ]; installPhase = '' mkdir -p $out/bin $out/lib ln -s ${CommandLineTools}/usr/bin/swift $out/bin ln -s ${CommandLineTools}/usr/lib/swift $out/lib ln -s ${CommandLineTools}/SDKs $out ''; setupHook = builtins.toFile "hook" '' addCommandLineTools() { echo >&2 echo "WARNING: this is impure and unreliable, make sure the CommandLineTools are installed!" >&2 echo " $ xcode-select --install" >&2 echo >&2 [ -d ${CommandLineTools} ] export NIX_LDFLAGS+=" -L@out@/lib/swift/macosx" export SWIFT=swift export SWIFT_LIB_DYNAMIC=@out@/lib/swift/macosx export MACOS_SDK_VERSION=$(sw_vers -productVersion | awk -F. '{print $1 "." $2}') export MACOS_SDK=@out@/SDKs/MacOSX$MACOS_SDK_VERSION.sdk } prePhases+=" addCommandLineTools" ''; __impureHostDeps = [ CommandLineTools ]; }; mpv = super.mpv.override { swiftSupport = true; }; }
* mpv: use waf from distribution and wafHook helperBenjamin Hipple2020-02-02
| | | | | | This cleans up our dependency footprint by ensuring a consistent version, and also avoids duplicating the logic for how to build a waf package by deferring to the `wafHook` helper for the `configurePhase`, `buildPhase`, and `installPhase`.
* mpv: 0.31.0 -> 0.32.0Maximilian Bosch2020-01-26
| | | | https://github.com/mpv-player/mpv/releases/tag/v0.32.0
* treewide: Remove myself from maintainers on some packages (#78027)Ivan Kozik2020-01-19
|
* mpv: 0.30.0 -> 0.31.0Tadeo Kondrak2019-12-28
|
* treewide: update which packages I'm currently maintainingMaximilian Bosch2019-12-26
| | | | | | | | | | | | | | | | | | Idea shamelessly stolen from 4e60b0efae56cc8e1a8a606a5a89462c38aba305. I realized that I don't really know anymore where I'm listed as maintainer and what I'm actually (co)-maintaining which means that I can't proactively take care of packages I officially maintain. As I don't have the time, energy and motivation to take care of stuff I was interested in 1 or 2 years ago (or packaged for someone else in the past), I decided that I make this explicit by removing myself from several packages and adding myself in some other stuff I'm now interested in. I've seen it several times now that people remove themselves from a package without removing the package if it's unmaintained after that which is why I figured that it's fine in my case as the affected pkgs are rather low-prio and were pretty easy to maintain.
* Remove myself (fuuzetsu) from maintainer listsMateusz Kowalczyk2019-12-05
| | | | | | I haven't been doing any maintenance for a long time now and not only do I get notified, it also creates a fake impression that all these packages had at least one maintainer when in practice they had none.
* treewide: Get rid of libGLU_combinedadisbladis2019-11-18
|
* mpv: disable samba support on darwinMario Rodas2019-11-13
|
* mpv: enable openal support by defaultJan Malakhovski2019-10-29
| | | | See the previous commit.
* mpv: 0.29.1 -> 0.30.0Tadeo Kondrak2019-10-25
|
* mpv, ffmpeg: use addOpenGLRunpath to fix CUDA-accelerated playbackIvan Kozik2019-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes #67780. Currently, using `mpv --hwdec=nvdec --msg-level=vd=debug` on NVIDIA results in: ``` [vd] Opening decoder hevc [vd] Looking at hwdec hevc-nvdec... Cannot load libcuda.so.1 [vd] Could not create device. [vd] No hardware decoding available for this codec. ``` With just mpv patched, ffmpeg cannot load libnvcuvid.so.1: ``` [vd] Opening decoder hevc [vd] Looking at hwdec hevc-nvdec... [vd] Trying hardware decoding via hevc-nvdec. [vd] Selected codec: hevc (HEVC (High Efficiency Video Coding)) [vd] Pixel formats supported by decoder: vaapi_vld cuda yuv420p10le [vd] Codec profile: Main 10 (0x2) [vd] Requesting pixfmt 'cuda' from decoder. [ffmpeg/video] hevc: Cannot load libnvcuvid.so.1 [ffmpeg/video] hevc: Failed loading nvcuvid. [ffmpeg/video] hevc: Failed setup for format cuda: hwaccel initialisation returned error. ``` With both mpv and ffmpeg patched, it works: ``` [vd] Opening decoder hevc [vd] Looking at hwdec hevc-nvdec... [vd] Trying hardware decoding via hevc-nvdec. [vd] Selected codec: hevc (HEVC (High Efficiency Video Coding)) [vd] Pixel formats supported by decoder: vaapi_vld cuda yuv420p10le [vd] Codec profile: Main 10 (0x2) [vd] Requesting pixfmt 'cuda' from decoder. Using hardware decoding (nvdec). [vd] Decoder format: 3840x2160 cuda[p010] bt.2020-ncl/bt.2020/pq/limited/auto SP=10.000000 CL=unknown (auto 0.000000/0.000000/0.000000) ```
* Merge branch 'master' into staging-nextVladimír Čunát2019-08-24
|\ | | | | | | | | | | | | | | | | | | There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
| * treewide: update globin's maintained drvsRobin Gloster2019-08-20
| |
* | treewide: name -> pname (easy cases) (#66585)volth2019-08-15
|/ | | | | | | | | treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
* mpv: fix darwin buildMario Rodas2019-05-06
|
* Merge pull request #54392 from ivan/nv-codecSilvan Mosberger2019-03-29
|\ | | | | ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
| * ffmpeg, mpv: enable hardware-accelerated decoding with CUDAIvan Kozik2019-02-11
| | | | | | | | | | NVIDIA users can now use `mpv --hwdec=nvdec` to play videos that the software decoders cannot keep up with.
* | mpv: move defaults to package fileJan Malakhovski2019-02-03
|/
* Add checkPhase for neovim (disabled by default) (#55266)Matthieu Coudron2019-02-05
| | | | | | | | | | | | * neovim-unwrapped: now use lua environments * mpv: use lua environments * luaPackages.inspect: init at 3.1.1-0 * luaPackages.lgi: mark as a lua module * luaPackages.vicious: mark as a lua module
* mpv: Enable javascript support through mujsadisbladis2019-01-19
|
* mpv: Add vulkan supportadisbladis2019-01-19
|
* mpv: 0.29.0 -> 0.29.1 (#47689)Vladyslav M2018-10-03
|
* mpv: add cddaSupport-flag to play Audio CDsgeistesk2018-09-04
| | | | | | Introduced `cddaSupport` for `mpv` which defaults to false. By enabling it, `mpv` will be compiled with cdda support (`libcdio{,-paranoia}`) to play audio CDs.
* mpv: resorted support options alphabeticallygeistesk2018-09-04
|
* mpv: build and install macOS App BundleMichael Hoang2018-08-04
|
* mpv: Fix mpv 0.29.0 on macOS and disable OpenALMichael Hoang2018-08-03
|
* Added optional lcms2 support to mpv.d3rped2018-07-30
|
* mpv: 0.28.2 -> 0.29.0Vladyslav Mykhailichenko2018-07-22
|
* pkgs/*: remove unreferenced function argumentsvolth2018-07-21
|
* mpv: use wrapper for scripts and add mpris scriptJohannes Frankenau2018-07-19
|
* mpv: add Cocoa support for macOSMichael Hoang2018-07-16
| | | | | | Only enable X11 Support on Linux by default. Add CoreFoundation first in the list of buildInputs to ensure that it is loaded before CF-osx allowing it to provide <CoreFoundation/CFAttributedString.h>.
* mpv: Fix X11 support by adding libXrandraszlig2018-07-05
| | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up to 6b404b944a5f041b47fa1d57b74bb72f563a5014, which fixed the build after SDL no longer leaks through X libraries. However the commit didn't actually pass all the required dependencies to mpv, because the configure phase of mpv still disabled X support: Checking for X11 err: Package xrandr was not found in the pkg-config search path. Perhaps you should add the directory containing `xrandr.pc' to the PKG_CONFIG_PATH environment variable No package 'xrandr' found So by adding libXrandr, we finally have support for X again. Trivia: While I'm usually very pesky about line lengths this is one of the very rare occasions where I didn't break the lines after 79 characters because it would have messed up the overall style of the file. Signed-off-by: aszlig <aszlig@nix.build> Cc: @AndersonTorres, @fuuzetsu, @fpletz, @orivej
* mpv: fix build with wayland after #41902Orivej Desh2018-07-03
|
* Merge pull request #40289 from yegortimoshenko/mpv-bumpxeji2018-05-10
|\ | | | | mpv: 0.27.2 -> 0.28.2
| * mpv: 0.27.2 -> 0.28.2Yegor Timoshenko2018-05-10
| |
* | treewide: http to httpsRyan Mulligan2018-04-30
|/
* mpv: Add openal supportSvein Ove Aas2018-03-26
|
* mpv: 0.27.0 -> 0.27.2Bart Brouns2018-03-15
|
* Merge branch 'master'Vladimír Čunát2018-03-05
|\