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/libmspub/libmspub.xibuild | 31 +++++++++++++++++++++++++++++++ repo/libmspub/musl.patch | 12 ++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 repo/libmspub/libmspub.xibuild create mode 100644 repo/libmspub/musl.patch (limited to 'repo/libmspub') diff --git a/repo/libmspub/libmspub.xibuild b/repo/libmspub/libmspub.xibuild new file mode 100644 index 0000000..2fc5051 --- /dev/null +++ b/repo/libmspub/libmspub.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="libmspub" +DESC="Import filter and tools for MS Publisher files" + +MAKEDEPS="boost librevenge zlib icu libwpd libwpg doxygen" + +PKG_VER=0.1.4 +SOURCE="https://dev-www.libreoffice.org/src/libmspub/libmspub-$PKG_VER.tar.xz" + +ADDITIONAL=" +musl.patch +" + +prepare() { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} diff --git a/repo/libmspub/musl.patch b/repo/libmspub/musl.patch new file mode 100644 index 0000000..f800e2f --- /dev/null +++ b/repo/libmspub/musl.patch @@ -0,0 +1,12 @@ +diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h +index 9167f4f..4456c2a 100644 +--- a/src/lib/MSPUBMetaData.h ++++ b/src/lib/MSPUBMetaData.h +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include /* for uintX_t types */ + + #include + -- cgit v1.2.1