From bd571a29933fd617d02a20309e43095d65cc68e2 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 8 Mar 2018 17:56:18 +0100 Subject: [PATCH] New package: kexi-3.1.0 [ci skip] --- srcpkgs/kexi/patches/musl.patch | 40 +++++++++++++++++++++++++++++++++ srcpkgs/kexi/template | 22 ++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 srcpkgs/kexi/patches/musl.patch create mode 100644 srcpkgs/kexi/template diff --git a/srcpkgs/kexi/patches/musl.patch b/srcpkgs/kexi/patches/musl.patch new file mode 100644 index 0000000000..29565dacaa --- /dev/null +++ b/srcpkgs/kexi/patches/musl.patch @@ -0,0 +1,40 @@ +--- src/migration/mdb/3rdparty/mdbtools/libmdb/catalog.c 2018-03-06 22:46:18.503349370 +0100 ++++ - 2018-03-08 17:46:06.180713979 +0100 +@@ -17,6 +17,7 @@ + */ + + #include "mdbtools.h" ++#include + + #ifdef DMALLOC + #include "dmalloc.h" +--- src/migration/mdb/3rdparty/mdbtools/libmdb/data.c 2018-03-06 22:46:18.503349370 +0100 ++++ - 2018-03-08 17:48:39.415096470 +0100 +@@ -18,6 +18,7 @@ + + #include + #include ++#include + #include "mdbtools.h" + + #ifdef DMALLOC +--- src/migration/mdb/3rdparty/mdbtools/libmdb/sargs.c 2018-03-06 22:46:18.507349448 +0100 ++++ - 2018-03-08 17:50:30.904907033 +0100 +@@ -27,6 +27,7 @@ + * a mdb_test_[type]() function and invoke it from mdb_test_sarg() + */ + ++#include + #include + #include "mdbtools.h" + #ifdef DMALLOC +--- src/migration/mdb/3rdparty/mdbtools/libmdb/table.c 2018-03-06 22:46:18.507349448 +0100 ++++ - 2018-03-08 17:52:10.360145846 +0100 +@@ -16,6 +16,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include + #include "mdbtools.h" + + #ifdef DMALLOC diff --git a/srcpkgs/kexi/template b/srcpkgs/kexi/template new file mode 100644 index 0000000000..05df5f3ef2 --- /dev/null +++ b/srcpkgs/kexi/template @@ -0,0 +1,22 @@ +# Template file for 'kexi' +pkgname=kexi +version=3.1.0 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules kdoctools doxygen pkg-config" +makedepends="ktexteditor-devel kdb-devel kreport-devel qt5-webkit-devel + breeze-icons postgresql-libs-devel libmysqlclient-devel marble5-devel" +depends="breeze-icons" +short_desc="Visual database applications creator" +maintainer="John " +license="GPL-2-or-later LGPL-2.0-or-later" +homepage="http://www.kexi-project.org/" +distfiles="https://download.kde.org/stable/kexi/src/kexi-${version}.tar.xz" +checksum=6d55cd4af177bcb060673a0977d52bc91cc2dd1b1420d008a78f9783312152fb + +if [ "$CROSS_BUILD" ];then + hostmakedepends+=" qt5-qmake qt5-host-tools python3 kcoreaddons" + configure_args+=" -DRUN_RESULT=0" + configure_args+=" -DRUN_RESULT__TRYRUN_OUTPUT=0" + configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" +fi