summaryrefslogtreecommitdiff
path: root/repo/libfreehand/libfreehand.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/libfreehand/libfreehand.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/libfreehand/libfreehand.xibuild')
-rw-r--r--repo/libfreehand/libfreehand.xibuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/repo/libfreehand/libfreehand.xibuild b/repo/libfreehand/libfreehand.xibuild
new file mode 100644
index 0000000..779bfca
--- /dev/null
+++ b/repo/libfreehand/libfreehand.xibuild
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+NAME="libfreehand"
+DESC="Import filter and tools for Adobe FreeHand documents"
+
+MAKEDEPS="libxml2 lcms2 icu gperf perl doxygen librevenge zlib"
+
+PKG_VER=0.1.2
+SOURCE="https://dev-www.libreoffice.org/src/libfreehand/libfreehand-$PKG_VER.tar.xz"
+
+ADDITIONAL="
+fix-build.patch
+parentheses-gcc8-fix.patch
+"
+
+prepare() {
+ apply_patches
+}
+
+build() {
+ export CXXFLAGS="$CXXFLAGS -Wno-error=deprecated-copy"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+