gst_all_1.gst-plugins-bad: 1.18.5 → 1.20.0
This commit is contained in:
parent
3f8b8a8ebf
commit
500a98c8cc
@ -8,11 +8,13 @@
|
|||||||
, python3
|
, python3
|
||||||
, gst-plugins-base
|
, gst-plugins-base
|
||||||
, orc
|
, orc
|
||||||
|
, gstreamer
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, enableZbar ? false
|
, enableZbar ? false
|
||||||
, faacSupport ? false
|
, faacSupport ? false
|
||||||
, faac
|
, faac
|
||||||
, faad2
|
, faad2
|
||||||
|
, ldacbt
|
||||||
, libass
|
, libass
|
||||||
, libkate
|
, libkate
|
||||||
, libmms
|
, libmms
|
||||||
@ -27,7 +29,7 @@
|
|||||||
, sratom
|
, sratom
|
||||||
, libbs2b
|
, libbs2b
|
||||||
, libmodplug
|
, libmodplug
|
||||||
, mpeg2dec
|
, libmpeg2
|
||||||
, libmicrodns
|
, libmicrodns
|
||||||
, openjpeg
|
, openjpeg
|
||||||
, libopus
|
, libopus
|
||||||
@ -39,6 +41,7 @@
|
|||||||
, fdk_aac
|
, fdk_aac
|
||||||
, flite
|
, flite
|
||||||
, gsm
|
, gsm
|
||||||
|
, json-glib
|
||||||
, libaom
|
, libaom
|
||||||
, libdc1394
|
, libdc1394
|
||||||
, libde265
|
, libde265
|
||||||
@ -47,6 +50,7 @@
|
|||||||
, libdvdread
|
, libdvdread
|
||||||
, libgudev
|
, libgudev
|
||||||
, libofa
|
, libofa
|
||||||
|
, libqrencode
|
||||||
, libsndfile
|
, libsndfile
|
||||||
, libusb1
|
, libusb1
|
||||||
, neon
|
, neon
|
||||||
@ -88,6 +92,7 @@
|
|||||||
, CoreVideo
|
, CoreVideo
|
||||||
, Foundation
|
, Foundation
|
||||||
, MediaToolbox
|
, MediaToolbox
|
||||||
|
, enableGplPlugins ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -108,6 +113,7 @@ stdenv.mkDerivation rec {
|
|||||||
orc # for orcc
|
orc # for orcc
|
||||||
python3
|
python3
|
||||||
gettext
|
gettext
|
||||||
|
gstreamer # for gst-tester-1.0
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
wayland # for wayland-scanner
|
wayland # for wayland-scanner
|
||||||
@ -119,14 +125,14 @@ stdenv.mkDerivation rec {
|
|||||||
# gobject-introspection has to be in both nativeBuildInputs and
|
# gobject-introspection has to be in both nativeBuildInputs and
|
||||||
# buildInputs. The build tries to link against libgirepository-1.0.so
|
# buildInputs. The build tries to link against libgirepository-1.0.so
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
faad2
|
json-glib
|
||||||
|
ldacbt
|
||||||
libass
|
libass
|
||||||
libkate
|
libkate
|
||||||
libmms
|
libmms
|
||||||
webrtc-audio-processing # webrtc
|
webrtc-audio-processing # webrtc
|
||||||
libbs2b
|
libbs2b
|
||||||
libmodplug
|
libmodplug
|
||||||
mpeg2dec
|
|
||||||
libmicrodns
|
libmicrodns
|
||||||
openjpeg
|
openjpeg
|
||||||
libopenmpt
|
libopenmpt
|
||||||
@ -140,9 +146,9 @@ stdenv.mkDerivation rec {
|
|||||||
libde265
|
libde265
|
||||||
libdvdnav
|
libdvdnav
|
||||||
libdvdread
|
libdvdread
|
||||||
|
libqrencode
|
||||||
libsndfile
|
libsndfile
|
||||||
libusb1
|
libusb1
|
||||||
mjpegtools
|
|
||||||
neon
|
neon
|
||||||
openal
|
openal
|
||||||
opencv4
|
opencv4
|
||||||
@ -161,7 +167,6 @@ stdenv.mkDerivation rec {
|
|||||||
libGLU
|
libGLU
|
||||||
libgme
|
libgme
|
||||||
openssl
|
openssl
|
||||||
x265
|
|
||||||
libxml2
|
libxml2
|
||||||
libintl
|
libintl
|
||||||
srt
|
srt
|
||||||
@ -170,6 +175,11 @@ stdenv.mkDerivation rec {
|
|||||||
zbar
|
zbar
|
||||||
] ++ lib.optionals faacSupport [
|
] ++ lib.optionals faacSupport [
|
||||||
faac
|
faac
|
||||||
|
] ++ lib.optionals enableGplPlugins [
|
||||||
|
libmpeg2
|
||||||
|
mjpegtools
|
||||||
|
faad2
|
||||||
|
x265
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
bluez
|
bluez
|
||||||
libva # vaapi requires libva -> libdrm -> libpciaccess, which is Linux-only in nixpkgs
|
libva # vaapi requires libva -> libdrm -> libpciaccess, which is Linux-only in nixpkgs
|
||||||
@ -224,7 +234,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-Ddts=disabled" # required `libdca` library not packaged in nixpkgs as of writing, and marked as "BIG FAT WARNING: libdca is still in early development"
|
"-Ddts=disabled" # required `libdca` library not packaged in nixpkgs as of writing, and marked as "BIG FAT WARNING: libdca is still in early development"
|
||||||
"-Dzbar=${if enableZbar then "enabled" else "disabled"}"
|
"-Dzbar=${if enableZbar then "enabled" else "disabled"}"
|
||||||
"-Dfaac=${if faacSupport then "enabled" else "disabled"}"
|
"-Dfaac=${if faacSupport then "enabled" else "disabled"}"
|
||||||
"-Diqa=disabled" # required `dssim` library not packaging in nixpkgs as of writing
|
"-Diqa=disabled" # required `dssim` library not packaging in nixpkgs as of writing, also this is AGPL so update license when adding support
|
||||||
"-Dmagicleap=disabled" # required `ml_audio` library not packaged in nixpkgs as of writing
|
"-Dmagicleap=disabled" # required `ml_audio` library not packaged in nixpkgs as of writing
|
||||||
"-Dmsdk=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
"-Dmsdk=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
||||||
# As of writing, with `libmpcdec` in `buildInputs` we get
|
# As of writing, with `libmpcdec` in `buildInputs` we get
|
||||||
@ -250,6 +260,10 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dwasapi2=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
"-Dwasapi2=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
||||||
"-Dwpe=disabled" # required `wpe-webkit` library not packaged in nixpkgs as of writing
|
"-Dwpe=disabled" # required `wpe-webkit` library not packaged in nixpkgs as of writing
|
||||||
"-Dzxing=disabled" # required `zxing-cpp` library not packaged in nixpkgs as of writing
|
"-Dzxing=disabled" # required `zxing-cpp` library not packaged in nixpkgs as of writing
|
||||||
|
"-Dgs=disabled" # depends on `google-cloud-cpp`
|
||||||
|
"-Disac=disabled" # depends on `webrtc-audio-coding-1` not packaged in nixpkgs as of writing
|
||||||
|
"-Donnx=disabled" # depends on `libonnxruntime` not packaged in nixpkgs as of writing
|
||||||
|
"-Dopenaptx=disabled" # depends on older version of `libopenaptx` due to licensing conflict https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2235
|
||||||
]
|
]
|
||||||
++ lib.optionals (!stdenv.isLinux) [
|
++ lib.optionals (!stdenv.isLinux) [
|
||||||
"-Dva=disabled" # see comment on `libva` in `buildInputs`
|
"-Dva=disabled" # see comment on `libva` in `buildInputs`
|
||||||
@ -281,7 +295,17 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dapplemedia=disabled"
|
"-Dapplemedia=disabled"
|
||||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
"-Dintrospection=disabled"
|
"-Dintrospection=disabled"
|
||||||
];
|
] ++ (if enableGplPlugins then [
|
||||||
|
"-Dgpl=enabled"
|
||||||
|
] else [
|
||||||
|
"-Ddts=disabled"
|
||||||
|
"-Dfaad=disabled"
|
||||||
|
"-Diqa=disabled"
|
||||||
|
"-Dmpeg2enc=disabled"
|
||||||
|
"-Dmplex=disabled"
|
||||||
|
"-Dresindvd=disabled"
|
||||||
|
"-Dx265=disabled"
|
||||||
|
]);
|
||||||
|
|
||||||
# Argument list too long
|
# Argument list too long
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
@ -306,7 +330,7 @@ stdenv.mkDerivation rec {
|
|||||||
something - be it a good code review, some documentation, a set of tests,
|
something - be it a good code review, some documentation, a set of tests,
|
||||||
a real live maintainer, or some actual wide use.
|
a real live maintainer, or some actual wide use.
|
||||||
'';
|
'';
|
||||||
license = licenses.lgpl2Plus;
|
license = if enableGplPlugins then licenses.gpl2Plus else licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ matthewbauer ];
|
maintainers = with maintainers; [ matthewbauer ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user