gst_all_1.gst-plugins-good: 1.20.3 -> 1.22.2

This commit is contained in:
Lily Foster 2023-04-13 12:43:12 -04:00
parent 4b859ee802
commit 3028bf5ea3
No known key found for this signature in database
GPG key ID: 49340081E484C893

View file

@ -31,6 +31,7 @@
, twolame
, gtkSupport ? false, gtk3
, qt5Support ? false, qt5
, qt6Support ? false, qt6
, raspiCameraSupport ? false, libraspberrypi
, enableJack ? true, libjack2
, libXdamage
@ -43,19 +44,20 @@
, libgudev
, wavpack
, glib
, hotdoc
}:
assert raspiCameraSupport -> (stdenv.isLinux && stdenv.isAarch64);
stdenv.mkDerivation rec {
pname = "gst-plugins-good";
version = "1.20.3";
version = "1.22.2";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-+PPCBr9c2rwAlTkgtHs1da8O8V6fhxwLaWb20KpYaLc=";
hash = "sha256-fIzFlCXysjL2DKfRPlbt1hXaT3Eec90Bp8/6Rua8DN0=";
};
strictDeps = true;
@ -72,8 +74,14 @@ stdenv.mkDerivation rec {
orc
libshout
glib
# documentation
hotdoc
] ++ lib.optionals qt5Support (with qt5; [
qtbase
]) ++ lib.optionals qt6Support (with qt6; [
qtbase
qttools
]) ++ lib.optionals stdenv.isLinux [
wayland-protocols
];
@ -114,6 +122,10 @@ stdenv.mkDerivation rec {
qtdeclarative
qtwayland
qtx11extras
]) ++ lib.optionals qt6Support (with qt6; [
qtbase
qtdeclarative
qtwayland
]) ++ lib.optionals stdenv.isDarwin [
Cocoa
] ++ lib.optionals stdenv.isLinux [
@ -129,10 +141,11 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
"-Dglib-asserts=disabled" # asserts should be disabled on stable releases
] ++ lib.optionals (!qt5Support) [
"-Dqt5=disabled"
] ++ lib.optionals (!qt6Support) [
"-Dqt6=disabled"
] ++ lib.optionals (!gtkSupport) [
"-Dgtk3=disabled"
] ++ lib.optionals (!enableJack) [