diff options
author | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-15 20:02:02 +0100 |
commit | d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch) | |
tree | 684a17eebf446aa1adab1097616f1882c8d51568 /repo/libmspub | |
parent | d1fc3393cca72e8e432f827f7624e38734fad6dc (diff) |
added deps for qemu
Diffstat (limited to 'repo/libmspub')
-rw-r--r-- | repo/libmspub/libmspub.xibuild | 31 | ||||
-rw-r--r-- | repo/libmspub/musl.patch | 12 |
2 files changed, 43 insertions, 0 deletions
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 <map> + #include <utility> + #include <vector> ++#include <sys/types.h> /* for uintX_t types */ + + #include <librevenge/librevenge.h> + |