1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

grilo: enable grl-net

This commit is contained in:
Luca Bruno 2014-04-20 15:50:38 +02:00
parent f6159b9095
commit 0f74c36e3b

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, libxml2, gnome3, gobjectIntrospection }:
{ stdenv, fetchurl, pkgconfig, file, intltool, glib
, libxml2, gnome3, gobjectIntrospection, libsoup }:
stdenv.mkDerivation rec {
name = "grilo-0.2.10";
@ -8,16 +9,17 @@ stdenv.mkDerivation rec {
sha256 = "559a2470fe541b0090bcfdfac7a33e92dba967727bbab6d0eca70e5636a77b25";
};
configureFlags = [ "--enable-grl-pls" ];
configureFlags = [ "--enable-grl-pls" "--enable-grl-net" ];
preConfigure = ''
for f in src/Makefile.in libs/pls/Makefile.in; do
for f in src/Makefile.in libs/pls/Makefile.in libs/net/Makefile.in; do
substituteInPlace $f --replace @INTROSPECTION_GIRDIR@ "$out/share/gir-1.0/"
substituteInPlace $f --replace @INTROSPECTION_TYPELIBDIR@ "$out/lib/girepository-1.0"
done
'';
buildInputs = [ pkgconfig file intltool glib libxml2 gnome3.totem-pl-parser gobjectIntrospection ];
buildInputs = [ pkgconfig file intltool glib libxml2 libsoup
gnome3.totem-pl-parser gobjectIntrospection ];
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/action/show/Projects/Grilo;