Patchwork [meta-gnome,02/10] wv: import from oe-core rev 0a6f77f549c095692045825f4b5c4c5a2edff73c

login
register
mail settings
Submitter Koen Kooi
Date April 21, 2011, 6:10 p.m.
Message ID <1303409452-19263-2-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/2589/
State New, archived
Headers show

Comments

Koen Kooi - April 21, 2011, 6:10 p.m.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 .../recipes-gnome/wv/wv-1.2.0/pkgconfig.patch      |   13 +++++++++++++
 meta-gnome/recipes-gnome/wv/wv_1.2.0.bb            |   14 ++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch
 create mode 100644 meta-gnome/recipes-gnome/wv/wv_1.2.0.bb

Patch

diff --git a/meta-gnome/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch b/meta-gnome/recipes-gnome/wv/wv-1.2.0/pkgconfig.patch
new file mode 100644
index 0000000..136d893
--- /dev/null
+++ b/meta-gnome/recipes-gnome/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-gnome/recipes-gnome/wv/wv_1.2.0.bb b/meta-gnome/recipes-gnome/wv/wv_1.2.0.bb
new file mode 100644
index 0000000..c4c115b
--- /dev/null
+++ b/meta-gnome/recipes-gnome/wv/wv_1.2.0.bb
@@ -0,0 +1,14 @@ 
+DESCRIPTION = "Programs for accessing Microsoft Word documents"
+HOMEPAGE = "http://wvware.sourceforge.net/"
+LICENSE = "GPLv2"
+DEPENDS = "libgsf glib-2.0"
+PR = "r3"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \
+           file://pkgconfig.patch;patch=1"
+
+inherit autotools pkgconfig
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+EXTRA_OECONF = ""