From patchwork Thu Apr 21 18:10:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-gnome, 02/10] wv: import from oe-core rev 0a6f77f549c095692045825f4b5c4c5a2edff73c Date: Thu, 21 Apr 2011 18:10:44 -0000 From: Koen Kooi X-Patchwork-Id: 2589 Message-Id: <1303409452-19263-2-git-send-email-koen@dominion.thruhere.net> To: openembedded-core@lists.openembedded.org Cc: Koen Kooi Signed-off-by: Koen Kooi --- .../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 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 = ""