summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-19 22:45:45 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-19 22:45:45 +0000
commit72e2faa464c6ae14c4d336d172996ea7e00e9941 (patch)
treecb59c74f5ad0ef4fe5c90fe950abc6cdf80473d6
parent7377fc1cfebd48adb4033310112d51b16c4a14e0 (diff)
downloadopenembedded-core-72e2faa464c6ae14c4d336d172996ea7e00e9941.tar.gz
openembedded-core-72e2faa464c6ae14c4d336d172996ea7e00e9941.tar.bz2
openembedded-core-72e2faa464c6ae14c4d336d172996ea7e00e9941.tar.xz
openembedded-core-72e2faa464c6ae14c4d336d172996ea7e00e9941.zip
wv: Fix DEPENDS and pkgconfig file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4084 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/wv/wv-1.2.0/pkgconfig.patch13
-rw-r--r--meta/packages/wv/wv_1.2.0.bb7
2 files changed, 17 insertions, 3 deletions
diff --git a/meta/packages/wv/wv-1.2.0/pkgconfig.patch b/meta/packages/wv/wv-1.2.0/pkgconfig.patch
new file mode 100644
index 000000000..136d89341
--- /dev/null
+++ b/meta/packages/wv/wv-1.2.0/pkgconfig.patch
@@ -0,0 +1,13 @@
+Index: wv-1.2.0/wv-1.0.pc.in
+===================================================================
+--- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000
++++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000
+@@ -6,5 +6,6 @@
+ Name: wvWare
+ Description: Word Document Filter library and utilities
+ Version: @VERSION@
+-Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm
+-Cflags: -I${includedir}/wv @GSF_CFLAGS@
++Requires: libgsf-1
++Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm
++Cflags: -I${includedir}/wv
diff --git a/meta/packages/wv/wv_1.2.0.bb b/meta/packages/wv/wv_1.2.0.bb
index 5b0a484a6..7f06f587c 100644
--- a/meta/packages/wv/wv_1.2.0.bb
+++ b/meta/packages/wv/wv_1.2.0.bb
@@ -1,10 +1,11 @@
DESCRIPTION = "Programs for accessing Microsoft Word documents"
HOMEPAGE = "http://wvware.sourceforge.net/"
LICENSE = "GPLv2"
-DEPENDS = "libgsf"
-PR = "r2"
+DEPENDS = "libgsf glib-2.0"
+PR = "r3"
-SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \
+ file://pkgconfig.patch;patch=1"
inherit autotools pkgconfig