22 # Checks meson.is_cross_build(), so even canExecute isn't enough.
23 , enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform, hotdoc
26 stdenv.mkDerivation rec {
27 pname = "gstreamer-vaapi";
31 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
32 hash = "sha256-IVk9veXGvNz+mRld7748P02gHLhfjsEKrpQ4h9Odikw=";
47 ] ++ lib.optionals enableDocumentation [
68 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
76 "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
77 (lib.mesonEnable "doc" enableDocumentation)
82 scripts/extract-release-date-from-doap-file.py
86 description = "Set of VAAPI GStreamer Plug-ins";
87 homepage = "https://gstreamer.freedesktop.org";
88 license = licenses.lgpl21Plus;
89 platforms = platforms.linux;