mesa: re-enable video-codecs
The release disables some codecs 7d969fe9e9
.
Since we are not Fedora, we should probably enable them https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/M4LTGLHY5JX42IHC45WNWB5FH2JIFMAS/.
This commit is contained in:
parent
445887f636
commit
b4b99f16da
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
, enableGalliumNine ? stdenv.isLinux
|
, enableGalliumNine ? stdenv.isLinux
|
||||||
, enableOSMesa ? stdenv.isLinux
|
, enableOSMesa ? stdenv.isLinux
|
||||||
, enableOpenCL ? stdenv.isLinux && stdenv.isx86_64
|
, enableOpenCL ? stdenv.isLinux && stdenv.isx86_64
|
||||||
|
, enablePatentEncumberedCodecs ? true
|
||||||
, libclc
|
, libclc
|
||||||
, jdupes
|
, jdupes
|
||||||
}:
|
}:
|
||||||
|
@ -117,7 +118,8 @@ self = stdenv.mkDerivation {
|
||||||
] ++ optionals enableOpenCL [
|
] ++ optionals enableOpenCL [
|
||||||
"-Dgallium-opencl=icd" # Enable the gallium OpenCL frontend
|
"-Dgallium-opencl=icd" # Enable the gallium OpenCL frontend
|
||||||
"-Dclang-libdir=${llvmPackages.clang-unwrapped.lib}/lib"
|
"-Dclang-libdir=${llvmPackages.clang-unwrapped.lib}/lib"
|
||||||
];
|
] ++ optional enablePatentEncumberedCodecs
|
||||||
|
"-Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec";
|
||||||
|
|
||||||
buildInputs = with xorg; [
|
buildInputs = with xorg; [
|
||||||
expat llvmPackages.libllvm libglvnd xorgproto
|
expat llvmPackages.libllvm libglvnd xorgproto
|
||||||
|
|
Loading…
Reference in a new issue