gst_all_1.gstreamer: 1.20.3 -> 1.22.2
This commit is contained in:
parent
41baeb5a9b
commit
4b859ee802
3 changed files with 16 additions and 15 deletions
|
@ -20,9 +20,11 @@
|
||||||
, tremor # provides 'virbisidec'
|
, tremor # provides 'virbisidec'
|
||||||
, libGL
|
, libGL
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
|
, hotdoc
|
||||||
, enableX11 ? stdenv.isLinux
|
, enableX11 ? stdenv.isLinux
|
||||||
, libXv
|
|
||||||
, libXext
|
, libXext
|
||||||
|
, libXi
|
||||||
|
, libXv
|
||||||
, enableWayland ? stdenv.isLinux
|
, enableWayland ? stdenv.isLinux
|
||||||
, wayland
|
, wayland
|
||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
|
@ -41,7 +43,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "gst-plugins-base";
|
pname = "gst-plugins-base";
|
||||||
version = "1.20.3";
|
version = "1.22.2";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
@ -49,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
inherit (finalAttrs) pname version;
|
inherit (finalAttrs) pname version;
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-fjCz3YGnA4D/dVT5mEcdaZb/drvm/FRHCW+FHiRHPJ8=";
|
hash = "sha256-62USDE7nm3oVPDwZctXAFYwhUYd8xR7Hclu6V0lnnUk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
@ -65,9 +67,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
orc
|
orc
|
||||||
glib
|
glib
|
||||||
gstreamer
|
gstreamer
|
||||||
# docs
|
|
||||||
# TODO add hotdoc here
|
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
|
||||||
|
# documentation
|
||||||
|
hotdoc
|
||||||
] ++ lib.optional enableWayland wayland;
|
] ++ lib.optional enableWayland wayland;
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -91,6 +94,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
alsa-lib
|
alsa-lib
|
||||||
] ++ lib.optionals enableX11 [
|
] ++ lib.optionals enableX11 [
|
||||||
libXext
|
libXext
|
||||||
|
libXi
|
||||||
libXv
|
libXv
|
||||||
] ++ lib.optionals enableWayland [
|
] ++ lib.optionals enableWayland [
|
||||||
wayland
|
wayland
|
||||||
|
@ -104,7 +108,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||||
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
|
|
||||||
# See https://github.com/GStreamer/gst-plugins-base/blob/d64a4b7a69c3462851ff4dcfa97cc6f94cd64aef/meson_options.txt#L15 for a list of choices
|
# See https://github.com/GStreamer/gst-plugins-base/blob/d64a4b7a69c3462851ff4dcfa97cc6f94cd64aef/meson_options.txt#L15 for a list of choices
|
||||||
"-Dgl_winsys=${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}"
|
"-Dgl_winsys=${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}"
|
||||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
|
|
|
@ -8,13 +8,14 @@
|
||||||
, flex
|
, flex
|
||||||
, python3
|
, python3
|
||||||
, glib
|
, glib
|
||||||
|
, hotdoc
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, libcap
|
, libcap
|
||||||
, libunwind
|
, libunwind
|
||||||
, darwin
|
|
||||||
, elfutils # for libdw
|
, elfutils # for libdw
|
||||||
, bash-completion
|
, bash-completion
|
||||||
, lib
|
, lib
|
||||||
|
, Cocoa
|
||||||
, CoreServices
|
, CoreServices
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, testers
|
, testers
|
||||||
|
@ -22,22 +23,19 @@
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "gstreamer";
|
pname = "gstreamer";
|
||||||
version = "1.20.3";
|
version = "1.22.2";
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
"bin"
|
"bin"
|
||||||
"out"
|
"out"
|
||||||
"dev"
|
"dev"
|
||||||
# "devdoc" # disabled until `hotdoc` is packaged in nixpkgs, see:
|
|
||||||
# - https://github.com/NixOS/nixpkgs/pull/98767
|
|
||||||
# - https://github.com/NixOS/nixpkgs/issues/98769#issuecomment-702296551
|
|
||||||
];
|
];
|
||||||
|
|
||||||
src = let
|
src = let
|
||||||
inherit (finalAttrs) pname version;
|
inherit (finalAttrs) pname version;
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-YH2vZLu9X7GK+dF+IcDSLE1wL//oOyPLItGxryyiOio=";
|
hash = "sha256-sq/nNgOSHGCLpIlp27fXQ3dnRL/l2AWeziQRN7f4jiE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
depsBuildBuild = [
|
depsBuildBuild = [
|
||||||
|
@ -59,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
|
||||||
# documentation
|
# documentation
|
||||||
# TODO add hotdoc here
|
hotdoc
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
libcap # for setcap binary
|
libcap # for setcap binary
|
||||||
];
|
];
|
||||||
|
@ -72,6 +70,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
libunwind
|
libunwind
|
||||||
elfutils
|
elfutils
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
Cocoa
|
||||||
CoreServices
|
CoreServices
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -82,7 +81,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those
|
"-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those
|
||||||
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||||
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
|
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
# darwin.libunwind doesn't have pkg-config definitions so meson doesn't detect it.
|
# darwin.libunwind doesn't have pkg-config definitions so meson doesn't detect it.
|
||||||
"-Dlibunwind=disabled"
|
"-Dlibunwind=disabled"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
gstreamer = callPackage ./core { inherit CoreServices; };
|
gstreamer = callPackage ./core { inherit Cocoa CoreServices; };
|
||||||
|
|
||||||
gstreamermm = callPackage ./gstreamermm { };
|
gstreamermm = callPackage ./gstreamermm { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue