summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/galago/libgalago-0.5.2/pkgconfig.patch14
-rw-r--r--meta/packages/galago/libgalago_0.5.2.bb8
2 files changed, 18 insertions, 4 deletions
diff --git a/meta/packages/galago/libgalago-0.5.2/pkgconfig.patch b/meta/packages/galago/libgalago-0.5.2/pkgconfig.patch
new file mode 100644
index 000000000..33d4daaba
--- /dev/null
+++ b/meta/packages/galago/libgalago-0.5.2/pkgconfig.patch
@@ -0,0 +1,14 @@
+Index: libgalago-0.5.2/libgalago.pc.in
+===================================================================
+--- libgalago-0.5.2.orig/libgalago.pc.in 2006-05-17 08:53:26.000000000 +0100
++++ libgalago-0.5.2/libgalago.pc.in 2008-03-19 22:34:16.000000000 +0000
+@@ -6,6 +6,7 @@
+ Name: libgalago
+ Description: Galago Association/Presence Communication Library
+ Version: @VERSION@
+-Libs: -L${libdir} -lgalago @PACKAGE_LIBS@
+-Cflags: -I${includedir} @PACKAGE_CFLAGS@
++Requires: dbus-1 glib-2.0 dbus-glib-1
++Libs: -L${libdir} -lgalago
++Cflags: -I${includedir}
+
diff --git a/meta/packages/galago/libgalago_0.5.2.bb b/meta/packages/galago/libgalago_0.5.2.bb
index 18801cab4..18603b189 100644
--- a/meta/packages/galago/libgalago_0.5.2.bb
+++ b/meta/packages/galago/libgalago_0.5.2.bb
@@ -3,14 +3,14 @@ HOMEPAGE = "http://www.galago-project.org/"
LICENSE = "LGPL"
DEPENDS = "gettext dbus glib-2.0"
-SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz "
+SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz \
+ file://pkgconfig.patch;patch=1 "
+PR = "r1"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-tests --disable-check"
do_stage() {
- autotools_stage_includes
- install -d ${STAGING_LIBDIR}
- install -m 755 libgalago/.libs/libgalago.so.3.0.0 ${STAGING_LIBDIR}/libgalago.so
+ autotools_stage_all
}