treewide: drop gst-vaapi
Upstream dropped it and it no longer builds.
This commit is contained in:
@@ -36,7 +36,6 @@ stdenv.mkDerivation rec {
|
||||
# - We need "getLib" instead of default derivation, otherwise it brings gstreamer-bin;
|
||||
# - without gst-plugins-base it won't even show proper errors in logs;
|
||||
# - Without gst-plugins-bad it won't find element "vapostproc";
|
||||
# - gst-vaapi adds "VA-API" to "Encoder type";
|
||||
# Tip: "could not link appsrc to videoconvert1" can mean a lot of things, enable GST_DEBUG=2 for help.
|
||||
passthru.obsWrapperArguments =
|
||||
let
|
||||
@@ -48,7 +47,6 @@ stdenv.mkDerivation rec {
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-bad
|
||||
gst-vaapi
|
||||
];
|
||||
|
||||
# Fix output directory
|
||||
|
||||
@@ -91,7 +91,6 @@ let
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gst-vaapi
|
||||
];
|
||||
|
||||
gstPluginPath = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" gstPackages;
|
||||
|
||||
@@ -64,7 +64,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-vaapi
|
||||
gst_all_1.gstreamer
|
||||
libayatana-appindicator
|
||||
openssl
|
||||
|
||||
@@ -51,7 +51,7 @@ flutter338.buildFlutterApplication rec {
|
||||
mpv-unwrapped
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-vaapi
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gstreamer
|
||||
libunwind
|
||||
orc
|
||||
|
||||
@@ -59,7 +59,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gst-rtsp-server
|
||||
gst_all_1.gst-vaapi
|
||||
pipewire
|
||||
networkmanager
|
||||
json-glib
|
||||
|
||||
@@ -91,7 +91,6 @@ flutter.buildFlutterApplication {
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-vaapi
|
||||
gst_all_1.gstreamer
|
||||
libayatana-appindicator
|
||||
mpv-unwrapped
|
||||
|
||||
@@ -45,17 +45,13 @@ pythonPackages.buildPythonApplication (finalAttrs: {
|
||||
++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform qt5.qtwayland) [
|
||||
qt5.qtwayland
|
||||
]
|
||||
++ lib.optionals (pyqt5.multimediaEnabled) (
|
||||
[
|
||||
qt5.qtmultimedia.bin
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
]
|
||||
++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform gst_all_1.gst-vaapi) [
|
||||
gst_all_1.gst-vaapi
|
||||
]
|
||||
);
|
||||
++ lib.optionals (pyqt5.multimediaEnabled) [
|
||||
qt5.qtmultimedia.bin
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
];
|
||||
|
||||
pythonRelaxDeps = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Should be resolved in the next version
|
||||
|
||||
@@ -74,7 +74,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gst-vaapi
|
||||
glib-networking # For GIO_EXTRA_MODULES. Fixes "TLS support is not available"
|
||||
];
|
||||
|
||||
|
||||
@@ -56,7 +56,6 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
gst_all_1.gst-plugins-ugly
|
||||
(gst_all_1.gst-plugins-good.override { gtkSupport = true; })
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-vaapi
|
||||
];
|
||||
|
||||
doCheck = false; # there are no tests
|
||||
|
||||
@@ -159,7 +159,6 @@ effectiveBuildPythonApplication rec {
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
gst-libav
|
||||
gst-vaapi
|
||||
gst-plugins-ugly
|
||||
gst-plugins-bad
|
||||
gst-plugins-base
|
||||
|
||||
@@ -37,8 +37,6 @@ lib.makeScope newScope (
|
||||
|
||||
gst-editing-services = callPackage ./ges { };
|
||||
|
||||
gst-vaapi = callPackage ./vaapi { };
|
||||
|
||||
icamerasrc-ipu6 = callPackage ./icamerasrc { };
|
||||
icamerasrc-ipu6ep = callPackage ./icamerasrc {
|
||||
ipu6-camera-hal = ipu6ep-camera-hal;
|
||||
@@ -51,5 +49,6 @@ lib.makeScope newScope (
|
||||
}
|
||||
// lib.optionalAttrs config.allowAliases {
|
||||
gst-plugins-viperfx = throw "'gst_all_1.gst-plugins-viperfx' was removed as it is broken and not maintained upstream"; # Added 2024-12-16
|
||||
gst-vaapi = throw "'gst_all_1.gst-vaapi' has been removed in GStreamer 1.28. Users are recommended to switch to gst-plugins-bad, however it is not an in-place upgrade."; # Added 2026-06-28
|
||||
}
|
||||
)
|
||||
|
||||
@@ -1,120 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
gst-plugins-base,
|
||||
bzip2,
|
||||
libva,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
wayland-scanner,
|
||||
libdrm,
|
||||
udev,
|
||||
libxv,
|
||||
libxrandr,
|
||||
libxext,
|
||||
libx11,
|
||||
libsm,
|
||||
libice,
|
||||
libxcb,
|
||||
libGLU,
|
||||
libGL,
|
||||
gstreamer,
|
||||
gst-plugins-bad,
|
||||
nasm,
|
||||
libvpx,
|
||||
python3,
|
||||
# Checks meson.is_cross_build(), so even canExecute isn't enough.
|
||||
enableDocumentation ? stdenv.hostPlatform == stdenv.buildPlatform,
|
||||
hotdoc,
|
||||
directoryListingUpdater,
|
||||
apple-sdk_gstreamer,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gstreamer-vaapi";
|
||||
version = "1.26.11";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-8S+TAnPHodPg1/hblP+dE3nRYqzMky6Mo9OJk+0n/Kw=";
|
||||
};
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
bzip2
|
||||
wayland-scanner
|
||||
]
|
||||
++ lib.optionals enableDocumentation [
|
||||
hotdoc
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-bad
|
||||
libva
|
||||
wayland
|
||||
wayland-protocols
|
||||
libdrm
|
||||
udev
|
||||
libx11
|
||||
libxcb
|
||||
libxext
|
||||
libxv
|
||||
libxrandr
|
||||
libsm
|
||||
libice
|
||||
nasm
|
||||
libvpx
|
||||
]
|
||||
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
||||
libGL
|
||||
libGLU
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
apple-sdk_gstreamer
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||
(lib.mesonEnable "doc" enableDocumentation)
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs \
|
||||
scripts/extract-release-date-from-doap-file.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
moveToOutput "lib/gstreamer-1.0/pkgconfig" "$dev"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = directoryListingUpdater { odd-unstable = true; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Set of VAAPI GStreamer Plug-ins";
|
||||
homepage = "https://gstreamer.freedesktop.org";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ tmarkus ];
|
||||
};
|
||||
})
|
||||
@@ -89,7 +89,6 @@ let
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-libav
|
||||
gst-vaapi
|
||||
;
|
||||
};
|
||||
qtmqtt = callPackage ./modules/qtmqtt.nix { };
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
gst-plugins-base,
|
||||
gst-plugins-good,
|
||||
gst-libav,
|
||||
gst-vaapi,
|
||||
ffmpeg,
|
||||
libva,
|
||||
libpulseaudio,
|
||||
@@ -59,7 +58,6 @@ qtModule {
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-libav
|
||||
gst-vaapi
|
||||
];
|
||||
|
||||
patches = lib.optionals stdenv.hostPlatform.isMinGW [
|
||||
|
||||
Reference in New Issue
Block a user