From 64791078dc5c9ae514c33b3b886a9f9d1a0f0e31 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 8 Mar 2018 16:02:14 +0100 Subject: [PATCH] New package: kdb-3.1.0 --- common/shlibs | 7 +++++++ srcpkgs/kdb-devel | 1 + srcpkgs/kdb/template | 30 ++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 120000 srcpkgs/kdb-devel create mode 100644 srcpkgs/kdb/template diff --git a/common/shlibs b/common/shlibs index a9e309ea1c7..a81687846ae 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2725,6 +2725,13 @@ libkmm_mymoney.so.5 kmymoney-5.0.0_1 libpayeeidentifier_nationalAccount.so.5 kmymoney-5.0.0_1 libpayeeidentifier_iban_bic.so.5 kmymoney-5.0.0_1 libkmm_payeeidentifier.so.5 kmymoney-5.0.0_1 +libKDb3.so.4 kdb-3.1.0_1 +libKPropertyWidgets3.so.4 kproperty-3.1.0_1 +libKPropertyCore3.so.4 kproperty-3.1.0_1 +libKReport3.so.4 kreport-3.1.0_1 +libKPropertyWidgets3.so.4 kproperty-3.1.0_1 +libKPropertyCore3.so.4 kproperty-3.1.0_1 +libKReport3.so.4 kreport-3.1.0_1 libbotan-2.so.4 botan-2.4.0_1 libswipl.so.7.6 swi-prolog-7.6.0_1 libpcre2-16.so.0 libpcre2-10.22_1 diff --git a/srcpkgs/kdb-devel b/srcpkgs/kdb-devel new file mode 120000 index 00000000000..28dcbcb729e --- /dev/null +++ b/srcpkgs/kdb-devel @@ -0,0 +1 @@ +kdb \ No newline at end of file diff --git a/srcpkgs/kdb/template b/srcpkgs/kdb/template new file mode 100644 index 00000000000..71e4f5d8a41 --- /dev/null +++ b/srcpkgs/kdb/template @@ -0,0 +1,30 @@ +# Template file for 'kdb' +pkgname=kdb +version=3.1.0 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules doxygen pkg-config" +makedepends="kcoreaddons-devel postgresql-libs-devel libmariadbclient-devel + sqlite-devel" +short_desc="Database connectivity and creation framework" +maintainer="John " +license="LGPL-2.0-or-later" +homepage="http://www.kexi-project.org/" +distfiles="https://download.kde.org/stable/kdb/src/kdb-${version}.tar.xz" +checksum=175645a149ae4d758ff2746900f6eabe4734b2bdac4d8c95893c650be4f929f2 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-qmake qt5-host-tools python3" +fi + +kdb-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/lib/cmake + vmove usr/lib/qt5/mkspecs + vmove "usr/lib/*.so" + } +}