Commit Graph

165 Commits

Author SHA1 Message Date
Doron Behar
fe560588a5 mpvScripts.mpris: 0.3 -> 0.4
Quote URL as well.
2020-02-10 19:55:23 +02:00
Daiderd Jordan
408f36923d
mpv: call with frameworks
Referencing darwin.* directly makes overriding dependencies very
awkward.
2020-02-07 22:09:23 +01:00
Daiderd Jordan
3987ea9a9d
mpv: add flag for swift on darwin
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; };
    }
2020-02-06 14:15:35 +01:00
Benjamin Hipple
542d758956 mpv: use waf from distribution and wafHook helper
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`.
2020-02-02 14:11:49 -05:00
Maximilian Bosch
499af6321f
mpv: 0.31.0 -> 0.32.0
https://github.com/mpv-player/mpv/releases/tag/v0.32.0
2020-01-26 22:32:13 +01:00
Ivan Kozik
76ab11518d treewide: Remove myself from maintainers on some packages (#78027) 2020-01-19 12:18:34 -05:00
Doron Behar
b763746404 mpvScripts.mpris: 0.2 -> 0.3 2019-12-31 15:08:05 +02:00
Tadeo Kondrak
85783b9eac
mpv: 0.30.0 -> 0.31.0 2019-12-28 09:10:30 -07:00
Maximilian Bosch
9842c4b107
treewide: update which packages I'm currently maintaining
Idea shamelessly stolen from 4e60b0efae.

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.
2019-12-26 15:27:47 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
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.
2019-12-05 16:29:48 +09:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Mario Rodas
3510e233dc
mpv: disable samba support on darwin 2019-11-13 22:57:29 -05:00
Jan Malakhovski
4d680f3f3d mpv: enable openal support by default
See the previous commit.
2019-10-29 17:38:07 +01:00
Tadeo Kondrak
b2256035a5
mpv: 0.29.1 -> 0.30.0 2019-10-25 09:54:46 -06:00
Ivan Kozik
46cbb8453a mpv, ffmpeg: use addOpenGLRunpath to fix CUDA-accelerated playback
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)
```
2019-09-06 23:18:26 +00:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
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
2019-08-24 08:55:37 +02:00
Robin Gloster
4e60b0efae
treewide: update globin's maintained drvs 2019-08-20 19:36:05 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Mario Rodas
20eda8246c
mpv: fix darwin build 2019-05-06 23:57:10 -05:00
Silvan Mosberger
a8e19088da
Merge pull request #54392 from ivan/nv-codec
ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
2019-03-29 19:57:13 +01:00
Ivan Kozik
de8f760fbd ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
NVIDIA users can now use `mpv --hwdec=nvdec` to play videos that the
software decoders cannot keep up with.
2019-02-11 00:32:43 +00:00
Matthieu Coudron
aaeaa6d1c6 Add checkPhase for neovim (disabled by default) (#55266)
* 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
2019-02-05 15:00:19 +00:00
Jan Malakhovski
763dff1e20 mpv: move defaults to package file 2019-02-03 15:33:13 +00:00
adisbladis
5cc392c5bb
mpv: Enable javascript support through mujs 2019-01-19 12:56:02 +00:00
adisbladis
dfe2453ce5
mpv: Add vulkan support 2019-01-19 00:53:49 +00:00
Jan Tojnar
a51a99c690
gobject-introspection: rename package
camelCase package name was a huge inconsistency in GNOME package set.
2018-12-02 12:42:29 +01:00
Vladyslav M
889c72032f mpv: 0.29.0 -> 0.29.1 (#47689) 2018-10-03 00:34:16 +02:00
geistesk
14837a8277 mpv: add cddaSupport-flag to play Audio CDs
Introduced `cddaSupport` for `mpv` which defaults to false. By enabling
it, `mpv` will be compiled with cdda support (`libcdio{,-paranoia}`) to
play audio CDs.
2018-09-04 18:46:31 +02:00
geistesk
7cdb44e793 mpv: resorted support options alphabetically 2018-09-04 18:44:01 +02:00
Johannes Frankenau
750dc39116 mpvScripts.mpris: 0.1 -> 0.2 2018-08-10 21:29:37 +02:00
Michael Hoang
f8fb13e64c mpv: build and install macOS App Bundle 2018-08-04 13:17:19 +10:00
Michael Hoang
69ed31a57b mpv: Fix mpv 0.29.0 on macOS and disable OpenAL 2018-08-03 09:20:55 +10:00
d3rped
4afacff73d Added optional lcms2 support to mpv. 2018-07-30 21:01:48 +02:00
Vladyslav Mykhailichenko
21ab38976d mpv: 0.28.2 -> 0.29.0 2018-07-22 22:25:33 +03:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Johannes Frankenau
402ee4e9ea mpv: use wrapper for scripts and add mpris script 2018-07-19 09:50:32 +02:00
Michael Hoang
152f6087b3 mpv: add Cocoa support for macOS
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>.
2018-07-16 03:58:15 +00:00
aszlig
7a19228215
mpv: Fix X11 support by adding libXrandr
This is a follow-up to 6b404b944a, 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
2018-07-05 00:44:26 +02:00
Orivej Desh
6b404b944a mpv: fix build with wayland after #41902 2018-07-03 12:32:41 +00:00
xeji
1463480edb
Merge pull request #40289 from yegortimoshenko/mpv-bump
mpv: 0.27.2 -> 0.28.2
2018-05-10 18:21:38 +02:00
Yegor Timoshenko
d691c8170a
mpv: 0.27.2 -> 0.28.2 2018-05-10 17:45:05 +03:00
Ryan Mulligan
038a0c9a60 treewide: http to https 2018-04-30 21:39:20 -07:00
Svein Ove Aas
c9ea1ff523 mpv: Add openal support 2018-03-26 13:24:17 +01:00
Bart Brouns
893b69a54c mpv: 0.27.0 -> 0.27.2 2018-03-15 13:05:29 +01:00
Vladimír Čunát
565bd805e6
Merge branch 'master' 2018-03-05 14:53:27 +01:00
rnhmjoj
0d9224bdc5 mpv: use mkvtoolnix-cli 2018-03-01 14:38:59 +01:00
rnhmjoj
ab59f0df8d
mpv: add luasocket path 2018-02-27 17:29:05 +01:00
rnhmjoj
41c1a62113
mpv: clean up options 2018-02-27 17:27:46 +01:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Profpatsch
53e790e7a8 maintainers: capitalize the Profpatsch attribute (vanity)
Since I’m already at it, this has been bothering me for a while.
2018-02-12 07:24:50 +01:00
Andreas Rammhold
95f4d6ba1c
mpv: fix CVE-2018-6460
Upstream has fixed this in a series of commits ontop of 0.28.0. Debian
has backported the fixes to 0.27.0.

Upstream issue: https://github.com/mpv-player/mpv/issues/5456
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888654#8
2018-02-07 10:01:16 +01:00
rnhmjoj
e5aae0f2d6
mpv: fix PYTHONPATH 2018-01-13 03:30:25 +01:00
Orivej Desh
745be0cb61 mpv: fix build with libva 2 2017-12-18 16:43:24 +00:00
Heitham Omar
dc60c1e3d0 mpv: enable dvb on Linux 2017-10-15 21:26:00 +01:00
dywedir
15002fbf7e mpv: 0.26.0 -> 0.27.0 2017-09-13 12:23:04 +02:00
Profpatsch
b35972b3fa mpvScripts.convert: fix for mpv >0.26.0
See https://gist.github.com/Zehkul/25ea7ae77b30af959be0#gistcomment-2189556
2017-08-31 01:23:11 +02:00
Franz Pletz
07106fb508
mpv: bump waf version to 1.9.8
The bootstrap.py file from mpv downloads this exact version.
2017-08-04 04:09:19 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Johannes Frankenau
7e62e8d036 mpv: 0.25.0 -> 0.26.0
Add option for archive support and fix dvdread and dvdnav support.
2017-07-23 11:00:00 +02:00
Cray Elliott
c49a454210 mpv, xpra: depend on ffmpeg instead of ffmpeg_3_2
effectively updates them to depend on ffmpeg_3_3
2017-04-30 16:52:49 -07:00
Peter Hoeg
229e3383f4 mpv: 0.24.0 -> 0.25.0 2017-04-24 15:42:55 +08:00
Franz Pletz
78d3a11384
mpv: 0.23.0 -> 0.24.0 2017-02-26 10:26:12 +01:00
Daiderd Jordan
bbc9b1ab2c
mpv: disable drmSupport on darwin 2017-02-25 21:34:54 +01:00
Stefan Götz
9280174493 mpv: 0.22.0 -> 0.23.0 2017-01-10 22:42:29 +01:00
Franz Pletz
1305691cec
mpv: 0.21.0 -> 0.22.0 2016-11-23 13:23:32 +01:00
Pascal Wittmann
f7e0bc2ae7
Make all meta.maintainers attributes lists 2016-11-20 18:06:03 +01:00
Franz Pletz
12088f2ba1
mpv: add support for drm, fixes vaapi 2016-11-03 12:54:26 +01:00
Stefan Goetz
9ed93637a3 mpv: 0.20.0 -> 0.21.0 (#19873) 2016-10-26 02:11:56 +02:00
Vincent Laporte
637412e373 mpv: fix on darwin 2016-09-12 14:42:38 +02:00
Kirill Boltaev
86557f9ffd mpv: 0.19.0 -> 0.20.0 (#18493)
Enable vaapiSupport by default.
2016-09-10 21:56:49 +02:00
rnhmjoj
6fabc515d0
mpv: add vapoursynth support 2016-09-04 22:27:10 +02:00
Franz Pletz
4f91c270d2 mpv: 0.18.1 -> 0.19.0 2016-08-25 01:56:35 +02:00
Louis Taylor
3e582d39ef mpv: 0.17.0 -> 0.18.1 2016-07-12 23:58:15 +01:00
Profpatsch
c7d288fd56 mpv: add script infrastructure & convert script
mpv’s functionality can be modified with lua scripts, by specifying them
on the command line.
`scripts` is a list of lua files that are appended to the default mpv
invocation. We also provide a `mpvScripts` attrset with the available
scripts in the top namespace.

`convert` is one such script, that extends mpv with a simple but very
convenient on-the-fly cropping and converting feature.

Closes #14040.
2016-05-28 15:16:12 +02:00
Franz Pletz
2af7b09e06 mpv: 0.16.0 -> 0.17.0 2016-04-12 15:51:32 +02:00
Eelco Dolstra
9c2a49e76a mpv: 0.15.0 -> 0.16.0 2016-04-05 23:27:27 +02:00
Théophane Hufschmitt
0bcf42aed3 mpv: added optional wayland support 2016-03-03 11:38:52 +01:00
Cole Mickens
e1a3b4128f mpv: 0.14.0 -> 0.15.0 2016-02-20 03:46:37 -08:00
Louis Taylor
010724bc6f mpv: 0.12.0 -> 0.14.0 2016-01-12 07:02:11 +00:00
AndersonTorres
5aad97b90b mpv: 0.9.2 -> 0.12.0 2015-11-02 16:35:00 -02:00
Eelco Dolstra
43f331a874 mpv: Don't enable JACK support by default
Packages should not depend on JACK by default to reduce dependency
bloat.

Issue #8990.
2015-07-26 22:45:39 +02:00
William A. Kennington III
7297255019 Convert all jack references to libjack2 2015-06-27 00:17:52 -07:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
codyopel
ba9867fb5b mpv: refactor & fix youtube-dl support 2015-05-28 09:30:36 -04:00
Mateusz Kowalczyk
4d867b0b08 mpv: update to 0.9.2 2015-05-23 01:56:39 +01:00
koral
387eaf74ef mpv: 0.8.3 -> 0.9.1 2015-05-09 09:37:34 +00:00
koral
ebba9e6681 mpv: 0.8.2 -> 0.8.3 2015-03-17 17:31:35 +00:00
koral
e8dd8ac456 mpv: 0.8.0 -> 0.8.2 2015-03-05 07:36:29 +00:00
AndersonTorres
5347a1c8a1 MPV: upgrade to 0.8.0 2015-02-23 23:43:59 -03:00
devhell
5c0be2f8c9 mpv: 0.7.2 -> 0.7.3; waf: 1.8.1 -> 1.8.5 2015-01-30 20:42:11 +00:00
Mateusz Kowalczyk
9b57b3d44b mpv: update from 0.7.1 to 0.7.2 2015-01-23 19:41:27 +00:00
Mateusz Kowalczyk
614ea25952 mpv: update to 0.7.1 2014-12-12 03:16:17 +00:00
AndersonTorres
8d248638bb MPV: update to 0.7.0
Now quvi support was dropped by upstream, and MPV uses Youtube-dl directly.
Another minor change is the update of Waf internal builder.
2014-11-27 00:27:53 -02:00
Cillian de Róiste
aa3ba007c1 mpv: update from 0.6.1 to 0.6.2 2014-11-18 21:52:47 +01:00
aszlig
fdd9d132ca
mpv: Remove waf script from buildInputs.
Since b23dbb1a5d, if buildInputs contains
a plain file it is used as a setup hook. The waf script which is used
here in mpv however isn't a setup hook and also shouldn't be included in
buildInputs as it was kind of a no-op before already.

Failed build log:

https://headcounter.org/hydra/build/582548/nixlog/1/raw

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-11-15 16:47:44 +01:00
AndersonTorres
76f6e8625f MPV: update to 0.6.1 2014-10-25 16:33:01 -02:00
AndersonTorres
9a6e559b9d mpv: update to 0.5.4
Also, a small update on internal let-waf expression

Closes #4306
2014-09-28 22:46:49 +01:00
AndersonTorres
b39e5ce957 Small style fixups
In this commit, I modified some files, conforming them to a
idiosyncratic standard - mainly, a template for meta attribs.
2014-09-10 21:34:50 -03:00
AndersonTorres
7a8cdc66a4 MPV: update to 0.5.0
Many thanks matejc for the commit!
2014-08-18 08:14:26 -03:00
Vladimír Čunát
6295a3ca36 Merge recent master into x-updates
Hydra: ?compare=1142825

Conflicts (easy):
	pkgs/applications/audio/lmms/default.nix
	pkgs/desktops/e18/enlightenment.nix
	pkgs/games/exult/default.nix
	pkgs/os-specific/linux/alsa-plugins/default.nix
2014-08-02 05:08:07 +02:00