mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
parent
ff8f23ab26
commit
5861898fc2
|
@ -21,6 +21,7 @@
|
|||
, bs2bSupport ? false, libbs2b ? null
|
||||
# For screenshots
|
||||
, libpngSupport ? true, libpng ? null
|
||||
, libjpegSupport ? true, libjpeg ? null
|
||||
, useUnfreeCodecs ? false
|
||||
}:
|
||||
|
||||
|
@ -46,6 +47,7 @@ assert jackaudioSupport -> jack2 != null;
|
|||
assert pulseSupport -> pulseaudio != null;
|
||||
assert bs2bSupport -> libbs2b != null;
|
||||
assert libpngSupport -> libpng != null;
|
||||
assert libjpegSupport -> libjpeg != null;
|
||||
|
||||
let
|
||||
|
||||
|
@ -121,6 +123,7 @@ stdenv.mkDerivation rec {
|
|||
++ optional vdpauSupport libvdpau
|
||||
++ optional speexSupport speex
|
||||
++ optional libpngSupport libpng
|
||||
++ optional libjpegSupport libjpeg
|
||||
++ optional bs2bSupport libbs2b
|
||||
;
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
, bs2bSupport ? false, libbs2b ? null
|
||||
# For screenshots
|
||||
, libpngSupport ? true, libpng ? null
|
||||
, libjpegSupport ? true, libjpeg ? null
|
||||
, useUnfreeCodecs ? false
|
||||
}:
|
||||
|
||||
|
@ -32,6 +33,7 @@ assert jackaudioSupport -> jack2 != null;
|
|||
assert pulseSupport -> pulseaudio != null;
|
||||
assert bs2bSupport -> libbs2b != null;
|
||||
assert libpngSupport -> libpng != null;
|
||||
assert libjpegSupport -> libjpeg != null;
|
||||
|
||||
let
|
||||
|
||||
|
@ -96,6 +98,7 @@ stdenv.mkDerivation rec {
|
|||
++ optional speexSupport speex
|
||||
++ optional bs2bSupport libbs2b
|
||||
++ optional libpngSupport libpng
|
||||
++ optional libjpegSupport libjpeg
|
||||
;
|
||||
|
||||
nativeBuildInputs = [ yasm python3 ];
|
||||
|
|
Loading…
Reference in a new issue