git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #40553 from Anton-Latukha/handbrake-platforms-cmake

handbrake: platforms: linux -> unix; rm cmake dep

commitb54f76e86286b9c1ca58496e789f16508b61a771 authorMatthew Justin Bauer <mjbauer95@gmail.com> dateTue 15 May 2018, 14:27 (9 years ago) parent4046c491eea58e
1 file changed+4−7
pkgs/applications/video/handbrake/default.nix+4−7
pkgs/applications/video/handbrake/default.nix+4−7
@@ -3,11 +3,9 @@
33# Derivation patches HandBrake to use our closure.
44#
55
6−# TODO: Release 1.2.0 would switch LibAV to FFmpeg.
7−
86{ stdenv, lib, fetchurl,
97 python2, pkgconfig, yasm, harfbuzz, zlib,
10− autoconf, automake, cmake, libtool, m4, jansson,
8+ autoconf, automake, libtool, m4, jansson,
119 libass, libiconv, libsamplerate, fribidi, libxml2, bzip2,
1210 libogg, libopus, libtheora, libvorbis, libdvdcss, a52dec,
1311 lame, libdvdread, libdvdnav, libbluray,
@@ -21,6 +19,7 @@
2119}:
2220
2321stdenv.mkDerivation rec {
22+ # TODO: Release 1.2.0 would switch LibAV to FFmpeg.
2423 version = "1.1.0";
2524 name = "handbrake-${version}";
2625
@@ -40,7 +39,7 @@ stdenv.mkDerivation rec {
4039 });
4140
4241 nativeBuildInputs = [
43− cmake python2 pkgconfig yasm autoconf automake libtool m4
42+ python2 pkgconfig yasm autoconf automake libtool m4
4443 ] ++ lib.optionals useGtk [ intltool wrapGAppsHook ];
4544
4645 buildInputs = [
@@ -55,8 +54,6 @@ stdenv.mkDerivation rec {
5554 ] ++ (if useFfmpeg then [ ffmpeg ] else [ patched_libav_12 ])
5655 ++ lib.optional useFdk fdk_aac;
5756
58− dontUseCmakeConfigure = true;
59−
6057 enableParallelBuilding = true;
6158
6259 preConfigure = ''
@@ -103,6 +100,6 @@ stdenv.mkDerivation rec {
103100 '';
104101 license = licenses.gpl2;
105102 maintainers = with maintainers; [ Anton-Latukha wmertens ];
106− platforms = platforms.linux;
103+ platforms = with platforms; unix;
107104 };
108105}