summary refs log tree commit diff
path: root/pkgs/applications/video/handbrake
diff options
context:
space:
mode:
authorAnton-Latukha <anton.latukha@gmail.com>2018-05-10 11:14:04 +0300
committerAnton-Latukha <anton.latukha@gmail.com>2018-05-10 11:14:04 +0300
commitf154aa32fc1d94eb6f564b120b284f4ae13e38e3 (patch)
treebf7f2f9918fc251cee7c8acd32a85318aef6aab0 /pkgs/applications/video/handbrake
parent67a8c66f68d9703cd2bf0a706c683de6c362f0d8 (diff)
downloadnixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.tar
nixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.tar.gz
nixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.tar.bz2
nixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.tar.lz
nixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.tar.xz
nixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.tar.zst
nixpkgs-f154aa32fc1d94eb6f564b120b284f4ae13e38e3.zip
handbrake: updated notes
Diffstat (limited to 'pkgs/applications/video/handbrake')
-rw-r--r--pkgs/applications/video/handbrake/default.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/applications/video/handbrake/default.nix b/pkgs/applications/video/handbrake/default.nix
index d13995f6e9b..9f1dfb2d6b0 100644
--- a/pkgs/applications/video/handbrake/default.nix
+++ b/pkgs/applications/video/handbrake/default.nix
@@ -1,13 +1,9 @@
-# Handbrake normally uses its own copies of the libraries it uses, for better
-# control over library patches.
+# Upstream distributes HandBrake with bundle of according versions of libraries and patches to them.
 #
-# This derivation patches HB so it doesn't do that. The relevant patches
-# are added to the Nix packages and proposed upstream instead. In several cases
-# upstream already incorporated these patches.
-# This has the benefits of providing improvements to other packages,
-# making licenses more clear and reducing compile time/install size.
+# Derivation patches HandBrake to use our closure.
 #
-# Only tested on Linux
+
+# TODO: Release 1.2.0 would switch LibAV to FFmpeg.
 
 { stdenv, lib, fetchurl,
   python2, pkgconfig, yasm, harfbuzz, zlib,
@@ -34,7 +30,7 @@ stdenv.mkDerivation rec {
   };
 
   patched_libav_12 = libav_12.overrideAttrs (super: {
-    # 2018-04-26: HandBrake compilation (1.1.0) requires a patch of LibAV (12.3) from HandBrake team. This patch not went LibAV upstream.
+    # NOTE: 2018-04-26: HandBrake compilation (1.1.0) requires a patch of LibAV (12.3) from HandBrake team. This patch not went LibAV upstream.
     patches = (super.patches or []) ++ [(
       fetchurl {
         url = ''https://raw.githubusercontent.com/HandBrake/HandBrake/9e1f245708a157231c427c0ef9b91729d59a30e1/contrib/ffmpeg/A21-mp4-sdtp.patch'';
@@ -107,7 +103,6 @@ stdenv.mkDerivation rec {
     '';
     license = licenses.gpl2;
     maintainers = with maintainers; [ Anton-Latukha wmertens ];
-    # Not tested on anything else
     platforms = platforms.linux;
   };
 }