telepathy-glib-0.17.5

Adjust .pc to our patched pkg-config

svn path=/nixpkgs/trunk/; revision=33042
This commit is contained in:
Yury G. Kudryashov 2012-03-13 19:06:38 +00:00
parent fb422d45dd
commit 23154538b7
2 changed files with 18 additions and 2 deletions

@ -1,16 +1,18 @@
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt }:
stdenv.mkDerivation rec {
name = "telepathy-glib-0.7.0";
name = "telepathy-glib-0.17.5";
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
sha256 = "0hf1jrgisr7skrji7djh66q0ic351vlsm65xqy982p5d0axzxkz5";
sha256 = "13gylgwgjp29zakzj5kb4h0j5zh30dsl8ch7hp3dp4nmy4vdj6h1";
};
propagatedBuildInputs = [dbus_glib glib python];
buildInputs = [pkgconfig libxslt];
patches = [ ./fix-pkgconfig.patch ];
meta = {
homepage = http://telepathy.freedesktop.org;

@ -0,0 +1,14 @@
Adjust telepathy-glib.pc to our version of pkg-config
diff --git a/telepathy-glib/telepathy-glib.pc.in b/telepathy-glib/telepathy-glib.pc.in
index e2ddf03..6038011 100644
--- a/telepathy-glib/telepathy-glib.pc.in
+++ b/telepathy-glib/telepathy-glib.pc.in
@@ -6,7 +6,6 @@ includedir=@includedir@
Name: Telepathy-GLib
Description: GLib utility library for the Telepathy framework
Version: @VERSION@
-Requires: pkg-config >= 0.21
-Requires.private: dbus-glib-1 >= 0.82, glib-2.0 >= 2.24, gobject-2.0 >= 2.24, gio-2.0 >= 2.24
+Requires: pkg-config >= 0.21 dbus-glib-1 >= 0.82, glib-2.0 >= 2.24, gobject-2.0 >= 2.24, gio-2.0 >= 2.24
Libs: -L${libdir} -ltelepathy-glib
Cflags: -I${includedir}/telepathy-1.0