summaryrefslogtreecommitdiff
path: root/recipes/giblib
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vzapolskiy@gmail.com>2010-06-21 01:52:31 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2010-06-22 00:20:41 +0400
commitdc60f73cc5357629ddc527dad1fa6573602c4174 (patch)
tree29464b0b63a56f1fb35cf9b16014e0b2dc9e1cb0 /recipes/giblib
parent87879f6f6d50ef6fb97a73be2ae675c48cdddb74 (diff)
giblib: fix giblib.pc.in badness
This change fixes sanity check error in generated pkgconfig file. Required libraries shall be described in requires and private sections. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/giblib')
-rw-r--r--recipes/giblib/giblib-1.2.4/giblib.pc.patch12
-rw-r--r--recipes/giblib/giblib_1.2.4.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes/giblib/giblib-1.2.4/giblib.pc.patch b/recipes/giblib/giblib-1.2.4/giblib.pc.patch
new file mode 100644
index 0000000000..968765623a
--- /dev/null
+++ b/recipes/giblib/giblib-1.2.4/giblib.pc.patch
@@ -0,0 +1,12 @@
+--- a/giblib.pc.in 2004-09-04 18:40:40.000000000 +0400
++++ b/giblib.pc.in 2010-06-21 01:04:26.749564951 +0400
+@@ -6,6 +6,6 @@
+ Name: giblib
+ Description: wrapper library for imlib2, and other stuff
+ Version: @VERSION@
+-Libs: -L${libdir} -lgiblib @LDFLAGS@ @IMLIB_LIBS@
+-Cflags: -I${includedir} -I${includedir}/giblib @IMLIB_CFLAGS@
+-
++Requires: imlib2
++Libs: -L${libdir} -lgiblib
++Cflags: -I${includedir} -I${includedir}/giblib
diff --git a/recipes/giblib/giblib_1.2.4.bb b/recipes/giblib/giblib_1.2.4.bb
index 34cf25a218..1a5ae91eea 100644
--- a/recipes/giblib/giblib_1.2.4.bb
+++ b/recipes/giblib/giblib_1.2.4.bb
@@ -1,6 +1,8 @@
require giblib.inc
-PR = "r1"
+PR = "r2"
+
+SRC_URI += "file://giblib.pc.patch"
SRC_URI[md5sum] = "c810ef5389baf24882a1caca2954385e"
SRC_URI[sha256sum] = "176611c4d88d742ea4013991ad54c2f9d2feefbc97a28434c0f48922ebaa8bac"