gst_all_1.gst-plugins-base: 1.24.10 → 1.26.0

- Update https://gstreamer.freedesktop.org/releases/1.26/
- Use `finalAttrs` pattern
- Add `updateScript`
This commit is contained in:
Jan Tojnar
2025-03-27 06:59:08 +01:00
parent 361dfd3fba
commit 9d2cae69ef
@@ -44,21 +44,23 @@
# Checks meson.is_cross_build(), so even canExecute isn't enough.
, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform
, hotdoc
, directoryListingUpdater
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gst-plugins-base";
version = "1.24.10";
version = "1.26.0";
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
];
separateDebugInfo = true;
src = let
inherit (finalAttrs) pname version;
in fetchurl {
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-69V7G+kkxuJPMn3VW6udj7quvl4dyPynhBgqsrEtI+s=";
src = fetchurl {
url = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${finalAttrs.version}.tar.xz";
hash = "sha256-4jGJ++0uxIZpA4LRBVwZ7q9arj6V4ldvxMiE2WqQ5p4=";
};
strictDeps = true;
@@ -160,6 +162,8 @@ stdenv.mkDerivation (finalAttrs: {
# vs what was built) and to make them easier to search for.
glEnabled = enableGl;
waylandEnabled = enableWayland;
updateScript = directoryListingUpdater { };
};
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;