diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-07 22:39:48 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-25 21:42:23 +0100 |
commit | 6821ff041ac691bd2afd97d4ebef0392b723b937 (patch) | |
tree | 9f34712cc8df3ab7c71c8b8c7c421195ee6259e6 /pkgs/applications/video | |
parent | aac1f0b25e6b04afad8e05dec5828f5c02398bd1 (diff) |
mpv: inline lib
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index 88204a47365a2..71fd52f35d885 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -99,21 +99,19 @@ in stdenv.mkDerivation rec { NIX_LDFLAGS = lib.optionalString x11Support "-lX11 -lXext "; - mesonFlags = let - inherit (lib) mesonOption mesonBool mesonEnable; - in [ - (mesonOption "default_library" "shared") - (mesonBool "libmpv" true) - (mesonEnable "libarchive" archiveSupport) - (mesonEnable "manpage-build" true) - (mesonEnable "cdda" cddaSupport) - (mesonEnable "dvbin" dvbinSupport) - (mesonEnable "dvdnav" dvdnavSupport) - (mesonEnable "openal" openalSupport) - (mesonEnable "sdl2" sdl2Support) + mesonFlags = [ + (lib.mesonOption "default_library" "shared") + (lib.mesonBool "libmpv" true) + (lib.mesonEnable "libarchive" archiveSupport) + (lib.mesonEnable "manpage-build" true) + (lib.mesonEnable "cdda" cddaSupport) + (lib.mesonEnable "dvbin" dvbinSupport) + (lib.mesonEnable "dvdnav" dvdnavSupport) + (lib.mesonEnable "openal" openalSupport) + (lib.mesonEnable "sdl2" sdl2Support) # Disable whilst Swift isn't supported - (mesonEnable "swift-build" swiftSupport) - (mesonEnable "macos-cocoa-cb" swiftSupport) + (lib.mesonEnable "swift-build" swiftSupport) + (lib.mesonEnable "macos-cocoa-cb" swiftSupport) ]; mesonAutoFeatures = "auto"; |