Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpv: Added flag for cddaSupport to play Audio CDs #46035

Merged
merged 2 commits into from Sep 5, 2018
Merged

Conversation

oxzi
Copy link
Member

@oxzi oxzi commented Sep 4, 2018

Introduced cddaSupport for mpv which defaults to false. By enabling it, mpv will be compiled with cdda support (libcdio{,-paranoia}) to play audio CDs.

This commit also resorted the different support options alphabetically.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@infinisil
Copy link
Member

Can you split the new option and the sorting into 2 different commits?

Introduced `cddaSupport` for `mpv` which defaults to false. By enabling
it, `mpv` will be compiled with cdda support (`libcdio{,-paranoia}`) to
play audio CDs.
@oxzi
Copy link
Member Author

oxzi commented Sep 4, 2018

@infinisil: Thanks for your feedback, I divided the commit into two separated ones.

@oxij
Copy link
Member

oxij commented Sep 5, 2018 via email

@Mic92
Copy link
Member

Mic92 commented Sep 5, 2018

@GrahamcOfBorg build mpv

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: mpv

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0
shrinking /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0/bin/.mpv-wrapped
shrinking /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0/lib/libmpv.so.1.101.0
gzipping man pages under /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0/lib  /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0/bin
patching script interpreter paths in /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0
checking for references to /build in /nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0...
/nix/store/83jmd0ji7zf3j0bqhm69rh5s1vjqdqx8-mpv-0.29.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: mpv

Partial log (click to expand)

/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib
/nix/store/r1pvnhvfs39i6hrknv58qg2xr9c3cn6w-mpv-0.29.0/lib/libmpv.1.101.0.dylib: fixing dylib

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: mpv

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0
shrinking /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0/lib/libmpv.so.1.101.0
shrinking /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0/bin/.mpv-wrapped
gzipping man pages under /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0/lib  /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0/bin
patching script interpreter paths in /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0
checking for references to /build in /nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0...
/nix/store/7321hjw448d2kl6i53x527r7n9as5lyx-mpv-0.29.0

@Mic92 Mic92 merged commit e480328 into NixOS:master Sep 5, 2018
@oxzi oxzi deleted the mpv-cdda branch September 6, 2018 12:02
@oxzi oxzi restored the mpv-cdda branch March 10, 2019 21:32
@oxzi oxzi deleted the mpv-cdda branch March 10, 2019 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants