nv-codec-headers: bring package to top-level

This commit is contained in:
Anton-Latukha 2019-01-05 03:31:43 +02:00
parent 6ebcbd0c97
commit 9f6e6f9b31
4 changed files with 4 additions and 10 deletions

View file

@ -7,7 +7,7 @@
# Main build tools
python2, pkgconfig, autoconf, automake, cmake, nasm, libtool, m4,
# Processing, video codecs, containers
ffmpeg-full, libogg, x264, x265, libvpx, libtheora,
ffmpeg-full, nv-codec-headers, libogg, x264, x265, libvpx, libtheora,
# Codecs, audio
libopus, lame, libvorbis, a52dec, speex, libsamplerate,
# Text processing
@ -28,12 +28,6 @@
useFdk ? false, fdk_aac ? null
}:
let
nv-codec-headers = callPackage ../../../development/libraries/ffmpeg-full/nv-codec-headers.nix { };
in
stdenv.mkDerivation rec {
version = "1.2.0";
name = "handbrake-${version}";

View file

@ -96,7 +96,7 @@
, libxcbshapeExtlib ? true # X11 grabbing shape rendering
, libXv ? null # Xlib support
, lzma ? null # xz-utils
, nvenc ? false, nvidia-video-sdk ? null # NVIDIA NVENC support
, nvenc ? false, nvidia-video-sdk ? null, nv-codec-headers ? null # NVIDIA NVENC support
, callPackage # needed for NVENC to access external ffmpeg nvidia headers
, openal ? null # OpenAL 1.1 capture support
#, opencl ? null # OpenCL code
@ -176,8 +176,6 @@
let
inherit (stdenv) isCygwin isFreeBSD isLinux;
inherit (stdenv.lib) optional optionals optionalString enableFeature;
nv-codec-headers = callPackage ./nv-codec-headers.nix { };
in
/*

View file

@ -11774,6 +11774,8 @@ in
ntrack = callPackage ../development/libraries/ntrack { };
nv-codec-headers = callPackage ../development/libraries/nv-codec-headers { };
nvidia-texture-tools = callPackage ../development/libraries/nvidia-texture-tools { };
nvidia-video-sdk = callPackage ../development/libraries/nvidia-video-sdk { };