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/libfreehand/libfreehand.xibuild | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 repo/libfreehand/libfreehand.xibuild (limited to 'repo/libfreehand/libfreehand.xibuild') 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 +} + -- cgit v1.2.1