gstreamer: 1.16.2 -> 1.18.0

Fixes #98769.

Important changes from https://gstreamer.freedesktop.org/releases/1.18/:

* `gst-validate` was renamed to `gst-devtools` upstream:

    > * the `gst-validate` tarball has been superseded by
    >   the `gst-devtools` tarball for consistency with the git module name.

* `gst-python` is now Python 3 only:

    > * Python 2.x is no longer supported
This commit is contained in:
Niklas Hambüchen
2020-10-02 00:31:58 +02:00
parent e186f0e161
commit 0672de5b89
17 changed files with 173 additions and 128 deletions

View File

@@ -16,25 +16,32 @@
, gst-plugins-bad
, nasm
, libvpx
, python
, python3
}:
stdenv.mkDerivation rec {
pname = "gstreamer-vaapi";
version = "1.16.2";
version = "1.18.0";
src = fetchurl {
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
sha256 = "00f6sx700qm1ximi1ag2c27m35dywwhhg6awhz85va34mfqff78r";
sha256 = "0ccyzv15jzf0pi0ndrmfww016cn4c0y4265bacdvnxbgff6fpvy6";
};
outputs = [ "out" "dev" ];
outputs = [
"out"
"dev"
# "devdoc" # disabled until `hotdoc` is packaged in nixpkgs
];
nativeBuildInputs = [
meson
ninja
pkgconfig
bzip2
# documentation
# TODO add hotdoc here
];
buildInputs = [
@@ -55,13 +62,19 @@ stdenv.mkDerivation rec {
libGLU
nasm
libvpx
python
python3
];
mesonFlags = [
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
];
postPatch = ''
patchShebangs \
scripts/extract-release-date-from-doap-file.py
'';
meta = with stdenv.lib; {
description = "Set of VAAPI GStreamer Plug-ins";
homepage = "https://gstreamer.freedesktop.org";