diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-05 17:09:41 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-05 17:09:41 -0500 |
commit | 93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9 (patch) | |
tree | 1773d0874f1118e5ca4c82d77c0d78e25af6afff /pkgs/development/libraries/libav/default.nix | |
parent | c9ca54199409324101bdee38f5b16e7656a16a22 (diff) | |
parent | 71186e73455a4e06e96a31da34b76f84e545ba1f (diff) | |
download | nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.tar nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.tar.gz nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.tar.bz2 nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.tar.lz nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.tar.xz nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.tar.zst nixlib-93cd0685c5ac4d8f21d8586d3e5c45cd7394fab9.zip |
Merge commit '71186e73455a4e06e96a31da34b76f84e545ba1f' into gcc-simplify-flags
Diffstat (limited to 'pkgs/development/libraries/libav/default.nix')
-rw-r--r-- | pkgs/development/libraries/libav/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libav/default.nix b/pkgs/development/libraries/libav/default.nix index 785e3599bf17..94ebaed9c2a1 100644 --- a/pkgs/development/libraries/libav/default.nix +++ b/pkgs/development/libraries/libav/default.nix @@ -13,6 +13,7 @@ , SDL # only for avplay in $bin, adds nontrivial closure to it , enableGPL ? true # ToDo: some additional default stuff may need GPL , enableUnfree ? faacSupport +, hostPlatform }: assert faacSupport -> enableUnfree; @@ -27,7 +28,7 @@ let inherit (stdenv.lib) optional optionals hasPrefix; in let result = { libav_0_8 = libavFun "0.8.20" "0c7a2417c3a01eb74072691bb93ce802ae1be08f"; - libav_11 = libavFun "11.9" "36ed1329099676ff3c970576e03c6a21f2da2e15"; + libav_11 = libavFun "11.10" "38db6721ca8423682e4d614c170eccc33ba32e00"; libav_12 = libavFun "12" "4ecde7274621c82a6882b7614d907b28de25cc4e"; }; @@ -107,17 +108,17 @@ let crossAttrs = { configurePlatforms = []; configureFlags = configureFlags ++ [ - "--cross-prefix=${stdenv.cross.config}-" + "--cross-prefix=${stdenv.cc.prefix}" "--enable-cross-compile" "--target_os=linux" - "--arch=${stdenv.cross.arch}" + "--arch=${hostPlatform.arch}" ]; }; passthru = { inherit vdpauSupport; }; meta = with stdenv.lib; { - homepage = http://libav.org/; + homepage = https://libav.org/; description = "A complete, cross-platform solution to record, convert and stream audio and video (fork of ffmpeg)"; license = with licenses; if enableUnfree then unfree #ToDo: redistributable or not? else if enableGPL then gpl2Plus else lgpl21Plus; |