git.iko.soy/typeable/nixpkgs
on master help sign in
gstreamer: 1.15.1 -> 1.16.0

Changes needed: * core: dbghelp disabled as it's not needed * core: Fixed script not being executable and skipped by patchShebangs * base: gtk_doc disabled because of wayland symbol error * ges: Patch removed that was merged upstream: https://bugzilla.gnome.org/show_bug.cgi?id=794856#c16

commit95bea558028292013173759554933310d7a0952e authorNiklas Hambüchen <mail@nh2.me> dateWed 1 May 2019, 16:10 (8 years ago) parent1a6e572
10 files changed+52−36
pkgs/development/libraries/gstreamer/bad/default.nix+2−2 pkgs/development/libraries/gstreamer/base/default.nix+9−2 pkgs/development/libraries/gstreamer/core/default.nix+14−5 pkgs/development/libraries/gstreamer/ges/default.nix+2−6 pkgs/development/libraries/gstreamer/good/default.nix+15−11 pkgs/development/libraries/gstreamer/libav/default.nix+2−2 pkgs/development/libraries/gstreamer/rtsp-server/default.nix+2−2 pkgs/development/libraries/gstreamer/ugly/default.nix+2−2 pkgs/development/libraries/gstreamer/vaapi/default.nix+2−2 pkgs/development/libraries/gstreamer/validate/default.nix+2−2
pkgs/development/libraries/gstreamer/bad/default.nix+2−2
@@ -49,7 +49,7 @@ let
4949in
5050stdenv.mkDerivation rec {
5151 name = "gst-plugins-bad-${version}";
52− version = "1.15.1";
52+ version = "1.16.0";
5353
5454 meta = with stdenv.lib; {
5555 description = "Gstreamer Bad Plugins";
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
7575
7676 src = fetchurl {
7777 url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
78− sha256 = "0dpky8a0pbwwkc5r8hawi5yizdqk65j9liwvhxkjwbnpv53n5y10";
78+ sha256 = "019b0yqjrcg6jmfd4cc336h1bz5p4wxl58yz1c4sdb96avirs4r2";
7979 };
8080
8181 outputs = [ "out" "dev" ];
pkgs/development/libraries/gstreamer/base/default.nix+9−2
@@ -15,7 +15,7 @@
1515
1616stdenv.mkDerivation rec {
1717 name = "gst-plugins-base-${version}";
18− version = "1.15.1";
18+ version = "1.16.0";
1919
2020 meta = with lib; {
2121 description = "Base plugins and helper libraries";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 src = fetchurl {
2929 url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.xz";
30− sha256 = "0qvyx9gs7z2ryhdxxzynn9r1gphfk4xfkhd6dma02sbda9c5jckf";
30+ sha256 = "1bmmdwbyy89ayb85xc48y217f6wdmpz96f30zm6v53z2a5xsm4s0";
3131 };
3232
3333 outputs = [ "out" "dev" ];
@@ -61,6 +61,13 @@ stdenv.mkDerivation rec {
6161 "-Dgl-graphene=disabled" # not packaged in nixpkgs as of writing
6262 # See https://github.com/GStreamer/gst-plugins-base/blob/d64a4b7a69c3462851ff4dcfa97cc6f94cd64aef/meson_options.txt#L15 for a list of choices
6363 "-Dgl_winsys=[${lib.concatStringsSep "," (lib.optional enableX11 "x11" ++ lib.optional enableWayland "wayland" ++ lib.optional enableCocoa "cocoa")}]"
64+ # We must currently disable gtk_doc API docs generation,
65+ # because it is not compatible with some features being disabled.
66+ # See for example
67+ # https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/38
68+ # for it failing because some Wayland symbols are missing.
69+ # This problem appeared between 1.15.1 and 1.16.0.
70+ "-Dgtk_doc=disabled"
6471 ]
6572 ++ lib.optional (!enableX11) "-Dx11=disabled"
6673 # TODO How to disable Wayland?
pkgs/development/libraries/gstreamer/core/default.nix+14−5
@@ -11,7 +11,7 @@
1111
1212stdenv.mkDerivation rec {
1313 name = "gstreamer-${version}";
14− version = "1.15.1";
14+ version = "1.16.0";
1515
1616 meta = with lib ;{
1717 description = "Open source multimedia framework";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 src = fetchurl {
2525 url = "${meta.homepage}/src/gstreamer/${name}.tar.xz";
26− sha256 = "05ri9y37qkgvkb2xjywf32c3k9479b0af0m6cjigx04pgwsf42kq";
26+ sha256 = "003wy1p1in85p9sr5jsyhbnwqaiwz069flwkhyx7qhxy31qjz3hf";
2727 };
2828
2929 patches = [
@@ -50,6 +50,7 @@ stdenv.mkDerivation rec {
5050 mesonFlags = [
5151 # Enables all features, so that we know when new dependencies are necessary.
5252 "-Dauto_features=enabled"
53+ "-Ddbghelp=disabled" # not needed as we already provide libunwind and libdw, and dbghelp is a fallback to those
5354 "-Dexamples=disabled" # requires many dependencies and probably not useful for our users
5455 ];
5556
@@ -60,9 +61,17 @@ stdenv.mkDerivation rec {
6061 done
6162 '';
6263
63− preConfigure= ''
64− patchShebangs .
65− '';
64+ preConfigure=
65+ # These files are not executable upstream, so we need to
66+ # make them executable for `patchShebangs` to pick them up.
67+ # Can be removed when this is merged and available:
68+ # https://gitlab.freedesktop.org/gstreamer/gstreamer/merge_requests/141
69+ ''
70+ chmod +x gst/parse/get_flex_version.py
71+ '' +
72+ ''
73+ patchShebangs .
74+ '';
6675
6776 preFixup = ''
6877 moveToOutput "share/bash-completion" "$dev"
pkgs/development/libraries/gstreamer/ges/default.nix+2−6
@@ -5,7 +5,7 @@
55
66stdenv.mkDerivation rec {
77 name = "gstreamer-editing-services-${version}";
8− version = "1.14.4";
8+ version = "1.16.0";
99
1010 meta = with stdenv.lib; {
1111 description = "Library for creation of audio/video non-linear editors";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 src = fetchurl {
1818 url = "${meta.homepage}/src/gstreamer-editing-services/${name}.tar.xz";
19− sha256 = "0pxk65jib3mqszjkyvlzklwia4kbdj6j2b6jw1d502b06mdx5lak";
19+ sha256 = "1las94jkx83sxmzi5w6b0xm89dqqwzpdsb6h9w9ixndhnbpzm8w2";
2020 };
2121
2222 outputs = [ "out" "dev" ];
@@ -26,10 +26,6 @@ stdenv.mkDerivation rec {
2626 propagatedBuildInputs = [ gst-plugins-base libxml2 ];
2727
2828 patches = [
29− (fetchpatch {
30− url = "https://bug794856.bugzilla-attachments.gnome.org/attachment.cgi?id=370413";
31− sha256 = "1xcgbs18g6n5p7z7kqj7ffakwmkxq7ijajyvhyl7p3zvqll9dc7x";
32− })
3329 ./fix_pkgconfig_includedir.patch
3430 ];
3531
pkgs/development/libraries/gstreamer/good/default.nix+15−11
@@ -6,6 +6,9 @@
66, libsoup, libpulseaudio, libintl
77, darwin, lame, mpg123, twolame
88, gtkSupport ? false, gtk3 ? null
9+# As of writing, jack2 incurs a Qt dependency (big!) via `ffado`.
10+# In the fuure we should probably split `ffado`.
11+, enableJack ? false
912, libXdamage
1013, libXext
1114, libXfixes
@@ -23,7 +26,7 @@ let
2326in
2427stdenv.mkDerivation rec {
2528 name = "gst-plugins-good-${version}";
26− version = "1.15.1";
29+ version = "1.16.0";
2730
2831 meta = with stdenv.lib; {
2932 description = "Gstreamer Good Plugins";
@@ -40,7 +43,7 @@ stdenv.mkDerivation rec {
4043
4144 src = fetchurl {
4245 url = "${meta.homepage}/src/gst-plugins-good/${name}.tar.xz";
43− sha256 = "15f6klr7wg6jlcyx0qspi13s8wmc9fij1bx1bbvy90a9a72v97rb";
46+ sha256 = "1zdhif1mhf0ihkjpjyrh65g2iz2cawkjjb3h5w8h9ml06grxwjk5";
4447 };
4548
4649 outputs = [ "out" "dev" ];
@@ -56,19 +59,20 @@ stdenv.mkDerivation rec {
5659 libdv libvpx speex flac taglib
5760 cairo gdk_pixbuf aalib libcaca
5861 libsoup libshout lame mpg123 twolame libintl
59− # TODO: Remove the comments once https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/commit/e234932dc703e51a0e1aa3b9c408f12758b12335
60− # is merged and available in nixpkgs.
61− libXdamage # present feature but undeclared in meson_options.txt, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/553
62− libXext # present feature but undeclared in meson_options.txt, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/553
63− libXfixes # present feature but undeclared in meson_options.txt, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/553
62+ libXdamage
63+ libXext
64+ libXfixes
6465 ncurses
65− xorg.libXfixes # present feature but undeclared in meson_options.txt, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/553
66− xorg.libXdamage # present feature but undeclared in meson_options.txt, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/553
66+ xorg.libXfixes
67+ xorg.libXdamage
6768 wavpack
6869 ]
6970 ++ optional gtkSupport gtk3 # for gtksink
7071 ++ optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ]
71− ++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 libgudev jack2 ];
72+ ++ optionals stdenv.isLinux [ libv4l libpulseaudio libavc1394 libiec61883 libgudev jack2 ]
73+ ++ optionals (stdenv.isLinux && enableJack) [
74+ jack2
75+ ];
7276
7377 mesonFlags = [
7478 # Enables all features, so that we know when new dependencies are necessary.
@@ -77,7 +81,7 @@ stdenv.mkDerivation rec {
7781 "-Dqt5=disabled" # not clear as of writing how to correctly pass in the required qt5 deps
7882 ]
7983 ++ optional (!gtkSupport) "-Dgtk3=disabled"
80− ++ optionals (!stdenv.isLinux) [
84+ ++ optionals (!stdenv.isLinux || !enableJack) [
8185 "-Djack=disabled" # unclear whether Jack works on Darwin
8286 ]
8387 ++ optionals (!stdenv.isLinux) [
pkgs/development/libraries/gstreamer/libav/default.nix+2−2
@@ -10,7 +10,7 @@ assert withSystemLibav -> libav != null;
1010
1111stdenv.mkDerivation rec {
1212 name = "gst-libav-${version}";
13− version = "1.15.1";
13+ version = "1.16.0";
1414
1515 meta = {
1616 homepage = https://gstreamer.freedesktop.org;
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 src = fetchurl {
2222 url = "${meta.homepage}/src/gst-libav/${name}.tar.xz";
23− sha256 = "0hq5y8zg6a3fliwip7k85hg6s6amsmbqgrjl6axzrr3y6akcvslk";
23+ sha256 = "16ixqpfrr7plaaz14n3vagr2q5xbfkv7gpmcsyndrkx98f813b6z";
2424 };
2525
2626 outputs = [ "out" "dev" ];
pkgs/development/libraries/gstreamer/rtsp-server/default.nix+2−2
@@ -6,7 +6,7 @@
66
77stdenv.mkDerivation rec {
88 name = "gst-rtsp-server-${version}";
9− version = "1.15.1";
9+ version = "1.16.0";
1010
1111 meta = with stdenv.lib; {
1212 description = "Gstreamer RTSP server";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 src = fetchurl {
2323 url = "${meta.homepage}/src/gst-rtsp-server/${name}.tar.xz";
24− sha256 = "0d0jaf7ir40dxpxs41wyb7m7riyl7wsqcb5qvd4vhwpz0dwxhpvl";
24+ sha256 = "069zy159izy50blci9fli1i2r8jh91qkmgrz1n0xqciy3bn9x3hr";
2525 };
2626
2727 outputs = [ "out" "dev" ];
pkgs/development/libraries/gstreamer/ugly/default.nix+2−2
@@ -8,7 +8,7 @@
88
99stdenv.mkDerivation rec {
1010 name = "gst-plugins-ugly-${version}";
11− version = "1.15.1";
11+ version = "1.16.0";
1212
1313 meta = with lib; {
1414 description = "Gstreamer Ugly Plugins";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 src = fetchurl {
2828 url = "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.xz";
29− sha256 = "17p9x30ywanz1lbk061kzd8bypcv5hkin6iyaqffp8alrwiak3qp";
29+ sha256 = "1hm46c1fy9vl1wfwipsj41zp79cm7in1fpmjw24j5hriy32n82g3";
3030 };
3131
3232 outputs = [ "out" "dev" ];
pkgs/development/libraries/gstreamer/vaapi/default.nix+2−2
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "gst-vaapi-${version}";
8− version = "1.15.1";
8+ version = "1.16.0";
99
1010 src = fetchurl {
1111 url = "${meta.homepage}/src/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.xz";
12− sha256 = "1aazan6r6p5aabb671znjkh8kmpxkz68wvaickqwzb1bz0ijcivc";
12+ sha256 = "07qpynamiz0lniqajcaijh3n7ixs4lfk9a5mfk50sng0dricwzsf";
1313 };
1414
1515 outputs = [ "out" "dev" ];
pkgs/development/libraries/gstreamer/validate/default.nix+2−2
@@ -4,7 +4,7 @@
44
55stdenv.mkDerivation rec {
66 name = "gst-validate-${version}";
7− version = "1.15.1";
7+ version = "1.16.0";
88
99 meta = {
1010 description = "Integration testing infrastructure for the GStreamer framework";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 src = fetchurl {
1717 url = "${meta.homepage}/src/gst-validate/${name}.tar.xz";
18− sha256 = "195hwblagfsnq1xn858al3f32jn5nynr4j5x395dpg3vl3c4k5v4";
18+ sha256 = "1jfnd0g9hmdbqfxsx96yc9vpf1w6m33hqwrr6lj4i83kl54awcck";
1919 };
2020
2121 outputs = [ "out" "dev" ];