Merge pull request #48600 from lopsided98/gstreamer-update
gstreamer: 1.14.2 -> 1.14.4
This commit is contained in:
commit
0a898e5980
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, meson, ninja, gettext
|
||||
, pkgconfig, python, gst-plugins-base, orc
|
||||
, pkgconfig, python3, gst-plugins-base, orc
|
||||
, faacSupport ? false, faac ? null
|
||||
, faad2, libass, libkate, libmms, librdf, ladspaH
|
||||
, libnice, webrtc-audio-processing, lilv, lv2, serd, sord, sratom
|
||||
@ -18,7 +18,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-bad-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gstreamer Bad Plugins";
|
||||
@ -54,12 +54,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
|
||||
sha256 = "1bqy3dn7q4kdkd4lqznyly8fv854d0hhncv88jk6ai4rf3dbgyil";
|
||||
sha256 = "1r8dma3x127rbx42yab7kwq7q1bhkmvz2ykn0rnqnzl95q74w2wi";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig python gettext ];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig python3 gettext ];
|
||||
|
||||
buildInputs = [
|
||||
gst-plugins-base orc
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, fetchpatch, lib
|
||||
, pkgconfig, meson, ninja, gettext, gobjectIntrospection
|
||||
, python, gstreamer, orc, pango, libtheora
|
||||
, python3, gstreamer, orc, pango, libtheora
|
||||
, libintl, libopus
|
||||
, enableX11 ? stdenv.isLinux, libXv
|
||||
, enableWayland ? stdenv.isLinux, wayland
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-base-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Base plugins and helper libraries";
|
||||
@ -22,12 +22,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.xz";
|
||||
sha256 = "0z0wy0p0nxxqhsis3n517d6ykldm02g7rca9fhq9kxb9m05yidx4";
|
||||
sha256 = "0qbllw4kphchwhy4p7ivdysigx69i97gyw6q0rvkx1j81r4kjqfa";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python gettext gobjectIntrospection ]
|
||||
nativeBuildInputs = [ pkgconfig python3 gettext gobjectIntrospection ]
|
||||
|
||||
# Broken meson with Darwin. Should hopefully be fixed soon. Tracking
|
||||
# in https://bugzilla.gnome.org/show_bug.cgi?id=781148.
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gstreamer-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with lib ;{
|
||||
description = "Open source multimedia framework";
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gstreamer/${name}.tar.xz";
|
||||
sha256 = "029fi3v0vrravysgfwhfkrb3ndg64sjmigbb0iwr7wpkk5r15mjb";
|
||||
sha256 = "1izzhnlsy83rgr4zl3jcl1sryxqbbigrrqw3j4x3nnphqnb6ckzr";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gstreamer-editing-services-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library for creation of audio/video non-linear editors";
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gstreamer-editing-services/${name}.tar.xz";
|
||||
sha256 = "0d0zqvgxp51mmffz5vvscsdzqqw9mjsv6bnk6ivg2dxnkv8q1ch5";
|
||||
sha256 = "0pxk65jib3mqszjkyvlzklwia4kbdj6j2b6jw1d502b06mdx5lak";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -16,7 +16,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-good-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gstreamer Good Plugins";
|
||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-good/${name}.tar.xz";
|
||||
sha256 = "1bfa4n6xhr4v4wga8pv1y00rm1aka498snw6kgszy2w624l5wmy0";
|
||||
sha256 = "0y89qynb4b6fry3h43z1r99qslmi3m8xhlq0i5baq2nbc0r5b2sz";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -10,7 +10,7 @@ assert withSystemLibav -> libav != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-libav-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = {
|
||||
homepage = https://gstreamer.freedesktop.org;
|
||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-libav/${name}.tar.xz";
|
||||
sha256 = "1pknqpjxq1l3vlprdsmxxwk0lwqa555fqd543k9vphngqlwiqdca";
|
||||
sha256 = "1nk5g24z2xx5kaw5cg8dv8skdc516inahmkymcz8bxqxj28qbmyz";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-rtsp-server-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Gstreamer RTSP server";
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-rtsp-server/${name}.tar.xz";
|
||||
sha256 = "161c49hg21xpkdw5ppc7ljbg6kyslxd1y3v1shsg7ibarxapff7p";
|
||||
sha256 = "1wc4d0y57hpfvv9sykjg8mxj86dw60mf696fbqbiqq6dzlmcw3ix";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-plugins-ugly-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Gstreamer Ugly Plugins";
|
||||
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.xz";
|
||||
sha256 = "0s9xrz8knfv06fj1nbv3iq4xj7dj4cnzj3xvgb7zs89rv7crgq2m";
|
||||
sha256 = "08vd1xgwmapnviah47zv5h2r02qdd20y4f07rvv5zhv6y4vxh0mc";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -5,11 +5,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-vaapi-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz";
|
||||
sha256 = "12hdyfma2lnfj38dj6y891vsxnxrlbqjbd36xx13mgasgzi6843z";
|
||||
sha256 = "18yha6119v7mwz47idv2vykzfssqfmh6hc824wqqsshwjvzdn66f";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gst-validate-${version}";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
|
||||
meta = {
|
||||
description = "Integration testing infrastructure for the GStreamer framework";
|
||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/src/gst-validate/${name}.tar.xz";
|
||||
sha256 = "17zilvmwv13l6rbj0a7dnbg4kz5bwwa1gshaibpqbvvhahz457pa";
|
||||
sha256 = "1ismv4i7ldi04swq76pcpd5apxqd52yify5hvlyan2yw9flwrp0q";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -1,39 +1,53 @@
|
||||
{ buildPythonPackage, fetchurl, stdenv, meson, ninja, pkgconfig, python, pygobject3
|
||||
, gst-plugins-base, ncurses
|
||||
{ buildPythonPackage, fetchurl, meson, ninja, stdenv, pkgconfig, python, pygobject3
|
||||
, gobjectIntrospection, gst-plugins-base, isPy3k
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "gst-python";
|
||||
version = "1.14.2";
|
||||
version = "1.14.4";
|
||||
name = "${pname}-${version}";
|
||||
in buildPythonPackage rec {
|
||||
inherit pname version;
|
||||
format = "other";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"${meta.homepage}/src/gst-python/${name}.tar.xz"
|
||||
"mirror://gentoo/distfiles/${name}.tar.xz"
|
||||
];
|
||||
sha256 = "08nb011acyvlz48fqh8c084k0dlssz9b7wha7zzk797inidbwh6w";
|
||||
sha256 = "06ssx19fs6pg4d32p9ph9w4f0xwmxaw2dxfj17rqkn5njd7v5zfh";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig python ];
|
||||
|
||||
# XXX: in the Libs.private field of python3.pc
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dpygi-overrides-dir=${python.sitePackages}/gi/overrides"
|
||||
patches = [
|
||||
# Meson build does not support Python 2 at the moment
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=796092
|
||||
(fetchurl {
|
||||
name = "0002-meson-use-new-python-module.patch";
|
||||
url = https://bugzilla.gnome.org/attachment.cgi?id=371989;
|
||||
sha256 = "1k46nvw175c1wvkqnx783i9d4w9vn431spcl48jb3y224jj3va08";
|
||||
})
|
||||
];
|
||||
|
||||
# TODO: First python_dep in meson.build needs to be removed
|
||||
postPatch = ''
|
||||
chmod +x scripts/pythondetector # patchShebangs requires executable file
|
||||
patchShebangs scripts/pythondetector
|
||||
substituteInPlace meson.build --replace python3 python${if isPy3k then "3" else "2"}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig python gobjectIntrospection ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dpython=python${if isPy3k then "3" else "2"}"
|
||||
"-Dpygi-overrides-dir=${placeholder "out"}/${python.sitePackages}/gi/overrides"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# TODO: Meson setup hook does not like buildPythonPackage
|
||||
# https://github.com/NixOS/nixpkgs/issues/47390
|
||||
installCheckPhase = "meson test --print-errorlogs";
|
||||
|
||||
propagatedBuildInputs = [ gst-plugins-base pygobject3 ];
|
||||
|
||||
meta = {
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff -Nru gst-python-1.2.0-orig/gi/overrides/Makefile.in gst-python-1.2.0/gi/overrides/Makefile.in
|
||||
--- gst-python-1.2.0-orig/gi/overrides/Makefile.in 2014-03-22 21:47:56.235364405 +0800
|
||||
+++ gst-python-1.2.0/gi/overrides/Makefile.in 2014-03-22 21:48:28.737958066 +0800
|
||||
@@ -356,7 +356,7 @@
|
||||
|
||||
# We install everything in the gi/overrides folder
|
||||
pygioverridesdir = $(PYGI_OVERRIDES_DIR)
|
||||
-pygioverrides_PYTHON = Gst.py GstPbutils.py
|
||||
+pygioverrides_PYTHON = Gst.py GstPbutils.py __init__.py
|
||||
pygioverridesexecdir = $(PYGI_OVERRIDES_DIR)
|
||||
EXTRA_DIST = Gst.py
|
||||
INCLUDES = $(PYTHON_INCLUDES)
|
||||
diff -Nru gst-python-1.2.0-orig/gi/overrides/__init__.py gst-python-1.2.0/gi/overrides/__init__.py
|
||||
--- gst-python-1.2.0-orig/gi/overrides/__init__.py 1970-01-01 08:00:00.000000000 +0800
|
||||
+++ gst-python-1.2.0/gi/overrides/__init__.py 2014-03-22 21:48:15.442124287 +0800
|
||||
@@ -0,0 +1,4 @@
|
||||
+from pkgutil import extend_path
|
||||
+
|
||||
+__path__ = extend_path(__path__, __name__)
|
||||
+print(__path__, __name__)
|
Loading…
x
Reference in New Issue
Block a user