librevenge0.0 0.0.2
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 21 Apr 2015 18:50:58 +0000 (13:50 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 21 Apr 2015 18:50:58 +0000 (13:50 -0500)
0.0.2-doxygen-vpath.patch [new file with mode: 0644]
librevenge0.0.cygport [new file with mode: 0644]

diff --git a/0.0.2-doxygen-vpath.patch b/0.0.2-doxygen-vpath.patch
new file mode 100644 (file)
index 0000000..6855243
--- /dev/null
@@ -0,0 +1,12 @@
+--- origsrc/librevenge-0.0.2/docs/doxygen/Makefile.am  2013-12-21 15:31:14.000000000 -0600
++++ src/librevenge-0.0.2/docs/doxygen/Makefile.am      2015-04-21 13:24:32.752834300 -0500
+@@ -21,7 +21,8 @@ all:
+       test -f footer.html.in || $(LN_S) $(srcdir)/footer.html.in ./
+       test -f style_paragraph_properties.cfg || $(LN_S) $(srcdir)/style_paragraph_properties.cfg ./
+       test -f style_text_properties.cfg || $(LN_S) $(srcdir)/style_text_properties.cfg ./
+-      doxygen $(srcdir)/doxygen.cfg
++      test -f doxygen.cfg || $(SED) -e "s|\.\./\.\./|$(top_srcdir)/|g" $(srcdir)/doxygen.cfg > doxygen.cfg
++      doxygen doxygen.cfg
+ else
diff --git a/librevenge0.0.cygport b/librevenge0.0.cygport
new file mode 100644 (file)
index 0000000..02c1328
--- /dev/null
@@ -0,0 +1,37 @@
+inherit python
+
+NAME="librevenge0.0"
+VERSION=0.0.2
+RELEASE=1
+CATEGORY="Libs"
+SUMMARY="Base library for document import filters"
+DESCRIPTION="librevenge is a base library for writing document import filters.
+It has interfaces for text documents, vector graphics, spreadsheets and
+presentations."
+HOMEPAGE="https://sourceforge.net/p/libwpd/wiki/librevenge/"
+SRC_URI="mirror://sourceforge/libwpd/librevenge-${VERSION}.tar.xz"
+SRC_DIR="librevenge-${VERSION}"
+PATCH_URI="0.0.2-doxygen-vpath.patch"
+
+PKG_NAMES="${NAME}_0 ${NAME}-devel ${NAME}-doc"
+librevenge0_0_0_CONTENTS="--exclude=html usr/bin/*-0.0-0.dll usr/share/doc/"
+librevenge0_0_devel_CONTENTS="usr/include/ usr/lib/"
+librevenge0_0_doc_CONTENTS="usr/share/doc/${NAME}/html/"
+librevenge0_0_debuginfo_CONTENTS+=" usr/share/librevenge/python/"
+
+CYGCONF_ARGS="--disable-werror --enable-pretty-printers"
+
+src_install() {
+       cd ${B}
+       cyginstall
+
+       dodir /usr/share/gdb/auto-load/usr/bin
+       mv ${D}/usr/share/gdb/auto-load/usr/lib/librevenge-0.0.py \
+          ${D}/usr/share/gdb/auto-load/usr/bin/cygrevenge-0.0-0.dll-gdb.py
+       mv ${D}/usr/share/gdb/auto-load/usr/lib/librevenge-stream-0.0.py \
+          ${D}/usr/share/gdb/auto-load/usr/bin/cygrevenge-stream-0.0-0.dll-gdb.py
+
+       python_optimize /usr/share/librevenge/python
+}
+
+KEEP_LA_FILES="none"
This page took 0.03011 seconds and 5 git commands to generate.