From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/librevenge/librevenge.xibuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 repo/librevenge/librevenge.xibuild (limited to 'repo/librevenge') diff --git a/repo/librevenge/librevenge.xibuild b/repo/librevenge/librevenge.xibuild new file mode 100644 index 0000000..3c5c224 --- /dev/null +++ b/repo/librevenge/librevenge.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="librevenge" +DESC="Base library for writing document import filters" + +MAKEDEPS="boost zlib cppunit doxygen" + +PKG_VER=0.0.4 +SOURCE="https://sourceforge.net/projects/libwpd/files/librevenge/librevenge-$PKG_VER/librevenge-$PKG_VER.tar.xz" + +build() { + # workaround for boost-1.59 + # http://sourceforge.net/p/libwpd/tickets/6/ + # http://sourceforge.net/p/libwpd/librevenge/ci/0beee70d1bf52f0d81b60ee8c373e477991fe546/ + export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY + + CXXFLAGS="$CXXFLAGS -Wno-error=implicit-fallthrough -Wno-error=parentheses" \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --enable-fast-install + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} + -- cgit v1.2.1