gst_all_1.gst-libav: 1.24.10 → 1.26.0
- Update https://gstreamer.freedesktop.org/releases/1.26/ - Format expression - Use `finalAttrs` pattern - Move `outputs` above `src` for consistency with other GStreamer packages - Add `updateScript`
This commit is contained in:
@@ -1,29 +1,35 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, python3
|
||||
, gstreamer
|
||||
, gst-plugins-base
|
||||
, gettext
|
||||
, ffmpeg-headless
|
||||
# Checks meson.is_cross_build(), so even canExecute isn't enough.
|
||||
, enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, hotdoc
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
python3,
|
||||
gstreamer,
|
||||
gst-plugins-base,
|
||||
gettext,
|
||||
ffmpeg-headless,
|
||||
# Checks meson.is_cross_build(), so even canExecute isn't enough.
|
||||
enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform,
|
||||
hotdoc,
|
||||
directoryListingUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gst-libav";
|
||||
version = "1.24.10";
|
||||
version = "1.26.0";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-TPLi2CBOVLqK+VGai5t/+m6VGnCHr6Df6DwSXUm7tfs=";
|
||||
url = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-cHqLaH/1/dzuWwJBXi7JtxtKxE0Leuw7R3Nkzuy/Hs8=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@@ -49,6 +55,10 @@ stdenv.mkDerivation rec {
|
||||
scripts/extract-release-date-from-doap-file.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = directoryListingUpdater { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "FFmpeg plugin for GStreamer";
|
||||
homepage = "https://gstreamer.freedesktop.org";
|
||||
@@ -56,4 +66,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user