mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
Update/fix farstream: Gajim now at least builds
This commit is contained in:
parent
0d18d39e98
commit
8f897d2d39
|
@ -1,21 +1,21 @@
|
||||||
{ stdenv, fetchurl, libnice, pkgconfig, python, gstreamer, gst_plugins_base
|
{ stdenv, fetchurl, libnice, pkgconfig, python, gstreamer, gst-plugins-base
|
||||||
, pygobject, gst_python, gupnp_igd
|
, pygobject, gst-python, gupnp_igd
|
||||||
, gst_plugins_good, gst_plugins_bad, gst_ffmpeg
|
, gst-plugins-good, gst-plugins-bad, gst-libav
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "farstream-0.1.2";
|
name = "farstream-0.2.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";
|
url = "http://www.freedesktop.org/software/farstream/releases/farstream/${name}.tar.gz";
|
||||||
sha256 = "1nbkbvq959f70zhr03fwdibhs0sbf1k7zmbz9w99vda7gdcl0nps";
|
sha256 = "15h4qv30ql3rnmlm4ac3h7rplvj7125z14fbfh1zrkajjaa3bxdz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libnice python pygobject gupnp_igd libnice ];
|
buildInputs = [ libnice python pygobject gupnp_igd libnice ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ gstreamer gst_plugins_base gst_python
|
propagatedBuildInputs = [ gstreamer gst-plugins-base gst-python
|
||||||
gst_plugins_good gst_plugins_bad gst_ffmpeg
|
gst-plugins-good gst-plugins-bad gst-libav
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -12,4 +12,6 @@ rec {
|
||||||
gst-plugins-ugly = callPackage ./ugly { inherit gst-plugins-base; };
|
gst-plugins-ugly = callPackage ./ugly { inherit gst-plugins-base; };
|
||||||
|
|
||||||
gst-libav = callPackage ./libav { inherit gst-plugins-base; };
|
gst-libav = callPackage ./libav { inherit gst-plugins-base; };
|
||||||
|
|
||||||
|
gst-python = callPackage ./python { inherit gst-plugins-base gstreamer; };
|
||||||
}
|
}
|
||||||
|
|
34
pkgs/development/libraries/gstreamer/python/default.nix
Normal file
34
pkgs/development/libraries/gstreamer/python/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ fetchurl, stdenv, pkgconfig, python, gstreamer
|
||||||
|
, gst-plugins-base, pygtk, pygobject3
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gst-python-1.1.90";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
urls = [
|
||||||
|
"${meta.homepage}/src/gst-python/${name}.tar.bz2"
|
||||||
|
"mirror://gentoo/distfiles/${name}.tar.bz2"
|
||||||
|
];
|
||||||
|
sha256 = "1vsykx2l5360y19c0rxspa9nf1ilml2c1ybsv8cw8p696scryb2l";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ pkgconfig gst-plugins-base pygtk pygobject3 ]
|
||||||
|
;
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export configureFlags="$configureFlags --with-pygi-overrides-dir=$out/lib/${python.libPrefix}/site-packages/gi/overrides"
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ gstreamer python ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://gstreamer.freedesktop.org;
|
||||||
|
|
||||||
|
description = "Python bindings for GStreamer";
|
||||||
|
|
||||||
|
license = "LGPLv2+";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -4042,7 +4042,11 @@ let
|
||||||
|
|
||||||
farsight2 = callPackage ../development/libraries/farsight2 { };
|
farsight2 = callPackage ../development/libraries/farsight2 { };
|
||||||
|
|
||||||
farstream = callPackage ../development/libraries/farstream { };
|
farstream = callPackage ../development/libraries/farstream {
|
||||||
|
inherit (gst_all_1)
|
||||||
|
gstreamer gst-plugins-base gst-python gst-plugins-good gst-plugins-bad
|
||||||
|
gst-libav;
|
||||||
|
};
|
||||||
|
|
||||||
fcgi = callPackage ../development/libraries/fcgi { };
|
fcgi = callPackage ../development/libraries/fcgi { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue