gst_all_1.gst-vaapi: 1.16.0 -> 1.16.1
This commit is contained in:
parent
2ef14fa9eb
commit
7dff4003ba
@ -1,49 +1,70 @@
|
|||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gst-plugins-base, bzip2, libva, wayland
|
{ stdenv
|
||||||
, libdrm, udev, xorg, libGLU_combined, gstreamer, gst-plugins-bad, nasm
|
, fetchurl
|
||||||
, libvpx, python, fetchpatch
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkgconfig
|
||||||
|
, gst-plugins-base
|
||||||
|
, bzip2
|
||||||
|
, libva
|
||||||
|
, wayland
|
||||||
|
, libdrm
|
||||||
|
, udev
|
||||||
|
, xorg
|
||||||
|
, libGLU_combined
|
||||||
|
, gstreamer
|
||||||
|
, gst-plugins-bad
|
||||||
|
, nasm
|
||||||
|
, libvpx
|
||||||
|
, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gstreamer-vaapi";
|
pname = "gstreamer-vaapi";
|
||||||
version = "1.16.0";
|
version = "1.16.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
url = "${meta.homepage}/src/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "07qpynamiz0lniqajcaijh3n7ixs4lfk9a5mfk50sng0dricwzsf";
|
sha256 = "0fk0nymvbfc04fv63fj2r6q9vvi431svhkrwpr7kdjvq3rphymyb";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# See: https://mail.gnome.org/archives/distributor-list/2019-September/msg00000.html
|
|
||||||
# Note that the patch has now been actually accepted upstream.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/commit/a90daabb84f983d2fa05ff3159f7ad59aa648b55.patch";
|
|
||||||
sha256 = "0p2qygq6b5h6nxjdfnlzbsyih43hjq5c94ag8sbyyb8pmnids9rb";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig bzip2 ];
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
buildInputs = [
|
ninja
|
||||||
gstreamer gst-plugins-base gst-plugins-bad libva wayland libdrm udev
|
pkgconfig
|
||||||
xorg.libX11 xorg.libXext xorg.libXv xorg.libXrandr xorg.libSM
|
bzip2
|
||||||
xorg.libICE libGLU_combined nasm libvpx python
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
buildInputs = [
|
||||||
export GST_PLUGIN_PATH_1_0=$out/lib/gstreamer-1.0
|
gstreamer
|
||||||
mkdir -p $GST_PLUGIN_PATH_1_0
|
gst-plugins-base
|
||||||
'';
|
gst-plugins-bad
|
||||||
|
libva
|
||||||
|
wayland
|
||||||
|
libdrm
|
||||||
|
udev
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXext
|
||||||
|
xorg.libXv
|
||||||
|
xorg.libXrandr
|
||||||
|
xorg.libSM
|
||||||
|
xorg.libICE
|
||||||
|
libGLU_combined
|
||||||
|
nasm
|
||||||
|
libvpx
|
||||||
|
python
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://gstreamer.freedesktop.org;
|
description = "Set of VAAPI GStreamer Plug-ins";
|
||||||
license = stdenv.lib.licenses.lgpl21Plus;
|
homepage = "https://gstreamer.freedesktop.org";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
maintainers = with maintainers; [ tstrobel ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user