git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #11491 from bjornfor/pitivi-0.95

gstreamer 1.4 -> 1.6 and pitivi 0.94 -> 0.95

commitc03b26ee0807e9654a308fe92347cb054abf87c6 authorSou Bunnbu <iyzsong@member.fsf.org> dateFri 11 Dec 2015, 21:00 (11 years ago) parent873096a1eaf571
13 files changed+72−30
pkgs/applications/video/pitivi/default.nix+6−6 pkgs/development/libraries/gstreamer/bad/default.nix+2−2 pkgs/development/libraries/gstreamer/base/default.nix+2−2 pkgs/development/libraries/gstreamer/core/default.nix+2−2 pkgs/development/libraries/gstreamer/default.nix+4 pkgs/development/libraries/gstreamer/ges/default.nix+4−4 pkgs/development/libraries/gstreamer/good/default.nix+2−2 pkgs/development/libraries/gstreamer/libav/default.nix+5−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+33 pkgs/development/python-modules/pygobject/3.nix+3−3 pkgs/top-level/all-packages.nix+5−3
pkgs/applications/video/pitivi/default.nix+6−6
@@ -1,16 +1,16 @@
11{ stdenv, fetchurl, pkgconfig, intltool, itstool, makeWrapper
2−, python3Packages, gst, clutter-gtk, hicolor_icon_theme
2+, python3Packages, gst, gtk3, hicolor_icon_theme
33, gobjectIntrospection, librsvg, gnome3, libnotify
44}:
55
66let
7− version = "0.94";
7+ version = "0.95";
88in stdenv.mkDerivation rec {
99 name = "pitivi-${version}";
1010
1111 src = fetchurl {
1212 url = "mirror://gnome/sources/pitivi/${version}/${name}.tar.xz";
13− sha256 = "1v7s0qsibwykkmknspjhpdrj80s987pvbl01kh34k4aspi1hcapm";
13+ sha256 = "04ykw619aikhxk5wj7z44pvwl52053d1kamcxpscw0ixrh5j45az";
1414 };
1515
1616 meta = with stdenv.lib; {
@@ -29,15 +29,15 @@ in stdenv.mkDerivation rec {
2929 nativeBuildInputs = [ pkgconfig intltool itstool makeWrapper ];
3030
3131 buildInputs = [
32− gobjectIntrospection clutter-gtk librsvg gnome3.gnome_desktop
32+ gobjectIntrospection gtk3 librsvg gnome3.gnome_desktop
3333 gnome3.defaultIconTheme
3434 gnome3.gsettings_desktop_schemas libnotify
3535 ] ++ (with gst; [
3636 gstreamer gst-editing-services
3737 gst-plugins-base gst-plugins-good
38− gst-plugins-bad gst-plugins-ugly gst-libav
38+ gst-plugins-bad gst-plugins-ugly gst-libav gst-validate
3939 ]) ++ (with python3Packages; [
40− python pygobject3 gst-python pyxdg numpy pycairo sqlite3
40+ python pygobject3 gst-python pyxdg numpy pycairo sqlite3 matplotlib
4141 ]);
4242
4343 preFixup = ''
pkgs/development/libraries/gstreamer/bad/default.nix+2−2
@@ -14,7 +14,7 @@ let
1414 inherit (stdenv.lib) optional optionalString;
1515in
1616stdenv.mkDerivation rec {
17− name = "gst-plugins-bad-1.4.5";
17+ name = "gst-plugins-bad-1.6.1";
1818
1919 meta = with stdenv.lib; {
2020 description = "Gstreamer Bad Plugins";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 src = fetchurl {
3434 url = "${meta.homepage}/src/gst-plugins-bad/${name}.tar.xz";
35− sha256 = "0g4q9yqq71z32pz7zj54wigkcf438a2mcv5kvvwp4gb8a1rasbqm";
35+ sha256 = "0rjla9zcal9b5ynagq7cscjs53qrd9bafjkjssrp8s2z2apsjxp1";
3636 };
3737
3838 nativeBuildInputs = [ pkgconfig python ];
pkgs/development/libraries/gstreamer/base/default.nix+2−2
@@ -4,7 +4,7 @@
44}:
55
66stdenv.mkDerivation rec {
7− name = "gst-plugins-base-1.4.5";
7+ name = "gst-plugins-base-1.6.1";
88
99 meta = {
1010 description = "Base plugins and helper libraries";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 src = fetchurl {
1818 url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.xz";
19− sha256 = "07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp";
19+ sha256 = "18sbyjcp281zb3bsqji3pglsdsxi0s6ai7rx90sx8cpflkxdqcwm";
2020 };
2121
2222 nativeBuildInputs = [
pkgs/development/libraries/gstreamer/core/default.nix+2−2
@@ -3,7 +3,7 @@
33}:
44
55stdenv.mkDerivation rec {
6− name = "gstreamer-1.4.5";
6+ name = "gstreamer-1.6.1";
77
88 meta = {
99 description = "Open source multimedia framework";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 src = fetchurl {
1717 url = "${meta.homepage}/src/gstreamer/${name}.tar.xz";
18− sha256 = "1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020";
18+ sha256 = "172w1bpnkn6mm1wi37n03apdbb6cdkykhzjf1vfxchcd7hhkyflp";
1919 };
2020
2121 nativeBuildInputs = [
pkgs/development/libraries/gstreamer/default.nix+4
@@ -15,7 +15,11 @@ rec {
1515
1616 gnonlin = callPackage ./gnonlin { inherit gst-plugins-base; };
1717
18+ # TODO: gnonlin is deprecated in gst-editing-services, better switch to nle
19+ # (Non Linear Engine).
1820 gst-editing-services = callPackage ./ges { inherit gnonlin; };
1921
2022 gst-vaapi = callPackage ./vaapi { inherit gst-plugins-base gstreamer gst-plugins-bad; };
23+
24+ gst-validate = callPackage ./validate { inherit gst-plugins-base; };
2125}
pkgs/development/libraries/gstreamer/ges/default.nix+4−4
@@ -1,9 +1,9 @@
11{ stdenv, fetchurl, pkgconfig, python, gobjectIntrospection
2−, gnonlin, libxml2
2+, gnonlin, libxml2, flex, perl
33}:
44
55stdenv.mkDerivation rec {
6− name = "gstreamer-editing-services-1.4.0";
6+ name = "gstreamer-editing-services-1.6.1";
77
88 meta = with stdenv.lib; {
99 description = "Library for creation of audio/video non-linear editors";
@@ -15,10 +15,10 @@ stdenv.mkDerivation rec {
1515
1616 src = fetchurl {
1717 url = "${meta.homepage}/src/gstreamer-editing-services/${name}.tar.xz";
18− sha256 = "1cwbh244an6zsxsscvg6xjnb34ylci34g9zx59xjbv5wnw7vj86c";
18+ sha256 = "1lkvkrsipn35341hwwkhwn44n90y49sjwra1r5pazbjgn1yykxzm";
1919 };
2020
21− nativeBuildInputs = [ pkgconfig python gobjectIntrospection ];
21+ nativeBuildInputs = [ pkgconfig python gobjectIntrospection flex perl ];
2222
2323 propagatedBuildInputs = [ gnonlin libxml2 ];
2424}
pkgs/development/libraries/gstreamer/good/default.nix+2−2
@@ -10,7 +10,7 @@ let
1010 inherit (stdenv.lib) optionals optionalString;
1111in
1212stdenv.mkDerivation rec {
13− name = "gst-plugins-good-1.4.5";
13+ name = "gst-plugins-good-1.6.1";
1414
1515 meta = with stdenv.lib; {
1616 description = "Gstreamer Good Plugins";
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727
2828 src = fetchurl {
2929 url = "${meta.homepage}/src/gst-plugins-good/${name}.tar.xz";
30− sha256 = "0hg6qzdpib9nwn3hdxv0d4rvivi1c4bmxsq2a9hqmamwyzrvbcbr";
30+ sha256 = "0darc3058kbnql3mnlpizl0sq0hhli7vkm0rpqb7nywz14abim46";
3131 };
3232
3333 nativeBuildInputs = [ pkgconfig python ];
pkgs/development/libraries/gstreamer/libav/default.nix+5−2
@@ -3,10 +3,13 @@
33, withSystemLibav ? true, libav ? null
44}:
55
6+# Note that since gst-libav-1.6, libav is actually ffmpeg. See
7+# http://gstreamer.freedesktop.org/releases/1.6/ for more info.
8+
69assert withSystemLibav -> libav != null;
710
811stdenv.mkDerivation rec {
9− name = "gst-libav-1.4.5";
12+ name = "gst-libav-1.6.1";
1013
1114 meta = {
1215 homepage = "http://gstreamer.freedesktop.org";
@@ -17,7 +20,7 @@ stdenv.mkDerivation rec {
1720
1821 src = fetchurl {
1922 url = "${meta.homepage}/src/gst-libav/${name}.tar.xz";
20− sha256 = "1g7vg9amh3cc3nmc415h6g2rqxqi4wgwqi08hxfbpwq48ri64p30";
23+ sha256 = "1a9pc7zp5rg0cvpx8gqkr21w73i6p9xa505a34day9f8p3lfim94";
2124 };
2225
2326 configureFlags = stdenv.lib.optionalString withSystemLibav
pkgs/development/libraries/gstreamer/ugly/default.nix+2−2
@@ -5,7 +5,7 @@
55}:
66
77stdenv.mkDerivation rec {
8− name = "gst-plugins-ugly-1.4.5";
8+ name = "gst-plugins-ugly-1.6.1";
99
1010 meta = with stdenv.lib; {
1111 description = "Gstreamer Ugly Plugins";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323
2424 src = fetchurl {
2525 url = "${meta.homepage}/src/gst-plugins-ugly/${name}.tar.xz";
26− sha256 = "0rwhljn3f8mp2pfchzfcx4pvps1546dndw9mr56lz50qyqffimaw";
26+ sha256 = "0mvasl1pwq70w2kmrkcrg77kggl5q7jqybi7fkvy3vr28c7gkhqc";
2727 };
2828
2929 nativeBuildInputs = [ pkgconfig python ];
pkgs/development/libraries/gstreamer/vaapi/default.nix+2−2
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "gst-vaapi-${version}";
8− version = "0.6.0";
8+ version = "0.6.1";
99
1010 src = fetchurl {
1111 url = "${meta.homepage}/software/vaapi/releases/gstreamer-vaapi/gstreamer-vaapi-${version}.tar.bz2";
12− sha256 = "1f3ji0h0x49w4wpqc0widraa9kvq0b47idrdxq4znjb8c1bwd97n";
12+ sha256 = "1cv7zlz5wj6b3acv0pr5cq5wqzd5vcs1lrrlvyl9wrzcnzz8mz1n";
1313 };
1414
1515 nativeBuildInputs = with stdenv.lib; [ pkgconfig bzip2 ];
pkgs/development/libraries/gstreamer/validate/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchurl, pkgconfig, gstreamer, gst-plugins-base
2+, python, gobjectIntrospection
3+}:
4+
5+stdenv.mkDerivation rec {
6+ name = "gst-validate-1.6.0";
7+
8+ meta = {
9+ description = "Integration testing infrastructure for the GStreamer framework";
10+ homepage = "http://gstreamer.freedesktop.org";
11+ license = stdenv.lib.licenses.lgpl2Plus;
12+ platforms = stdenv.lib.platforms.unix;
13+ maintainers = with stdenv.lib.maintainers; [ iyzsong ];
14+ };
15+
16+ src = fetchurl {
17+ url = "${meta.homepage}/src/gst-validate/${name}.tar.xz";
18+ sha256 = "1vmg5mh068zrvhgrjsbnb7y4k632akyhm8ql0g196cinnp3zibiv";
19+ };
20+
21+ nativeBuildInputs = [
22+ pkgconfig gobjectIntrospection
23+ ];
24+
25+ buildInputs = [
26+ python
27+ ];
28+
29+ propagatedBuildInputs = [ gstreamer gst-plugins-base ];
30+
31+ enableParallelBuilding = true;
32+}
33+
pkgs/development/python-modules/pygobject/3.nix+3−3
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, python, pkgconfig, glib, gobjectIntrospection, pycairo, cairo }:
22
33stdenv.mkDerivation rec {
4− name = "pygobject-3.12.1";
4+ name = "pygobject-3.18.2";
55
66 src = fetchurl {
7− url = "mirror://gnome/sources/pygobject/3.12/${name}.tar.xz";
8− sha256 = "0dfsjsa95ix8bx3h8w4bhnz7rymgl2paclvbn93x6qp8b53y0pys";
7+ url = "mirror://gnome/sources/pygobject/3.18/${name}.tar.xz";
8+ sha256 = "0prc3ky7g50ixmfxbc7zf43fw6in4hw2q07667hp8swi2wassg1a";
99 };
1010
1111 buildInputs = [ python pkgconfig glib gobjectIntrospection ];
pkgs/top-level/all-packages.nix+5−3
@@ -2632,8 +2632,10 @@ let
26322632 parted = callPackage ../tools/misc/parted { hurd = null; };
26332633
26342634 pitivi = callPackage ../applications/video/pitivi {
2635− gst = gst_all_1;
2636− clutter-gtk = clutter_gtk;
2635+ gst = gst_all_1 //
2636+ { gst-plugins-bad = gst_all_1.gst-plugins-bad.overrideDerivation
2637+ (attrs: { nativeBuildInputs = attrs.nativeBuildInputs ++ [ gtk3 ]; });
2638+ };
26372639 };
26382640
26392641 p0f = callPackage ../tools/security/p0f { };
@@ -6544,7 +6546,7 @@ let
65446546 gperftools = callPackage ../development/libraries/gperftools { };
65456547
65466548 gst_all_1 = recurseIntoAttrs(callPackage ../development/libraries/gstreamer {
6547− callPackage = pkgs.newScope (pkgs // { inherit (pkgs) libav; });
6549+ callPackage = pkgs.newScope (pkgs // { libav = pkgs.ffmpeg; });
65486550 });
65496551
65506552 gst_all = {