summaryrefslogtreecommitdiff
path: root/app-office/kexi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-office/kexi
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-office/kexi')
-rw-r--r--app-office/kexi/Manifest4
-rw-r--r--app-office/kexi/files/kexi-3.1.0-qt-5.11.patch24
-rw-r--r--app-office/kexi/kexi-3.1.0.ebuild89
-rw-r--r--app-office/kexi/metadata.xml14
4 files changed, 131 insertions, 0 deletions
diff --git a/app-office/kexi/Manifest b/app-office/kexi/Manifest
new file mode 100644
index 000000000000..5a2237a86daa
--- /dev/null
+++ b/app-office/kexi/Manifest
@@ -0,0 +1,4 @@
+AUX kexi-3.1.0-qt-5.11.patch 724 BLAKE2B 8571c381220f163685017a5f6ed74cae80042e23836227e510160ffc1190e2172deb7c8280c3fadbec9b85d6f7469747e185e89414a5e2e508a4c6888442b17c SHA512 11817808ff2b0c86b52511c1f03941470beeebb61f63a6f1b5b29546de17371f9f3d771a49b2664e8c9fe07b5ffee65995d22ff19cc1aadf50af484cb2d43e17
+DIST kexi-3.1.0.tar.xz 3028492 BLAKE2B 8af7105ba570af225e7e2cbea2ab15d0c6e4997414c321654691af1329930754bea8a52c3ce5abb246c6a47e17473c462b9212eab8ef30fc23e4691f2ab8c9b2 SHA512 538b8b2c021bababb59a05cd477aa4414df76f84a9ae88244afe6f3dc29751257bfee2586279ee8ee7800d939702c3a81f71562039a6f97132f2cba4e9018118
+EBUILD kexi-3.1.0.ebuild 2422 BLAKE2B 483be8e6c86c840938282593edcf59e34519c929f3261333d43e7ed7861107308def7ea32ea52ad7e42b7cf5ba7ca53e2feb6bb8524e93d4e8808565c5bfcd6f SHA512 4eaf9190d1e45dbbd2efc4a85e5bc5a6729bd2f96ba53f50cee981696b2c4c13021437f67ab12b1e1cbb81167f237325daef40be838391e67910ce29b5de8874
+MISC metadata.xml 600 BLAKE2B 383b28f24ff8522330ed843789c30ac771b4ecb03f45f7f60503463ead5e6a6fd4480eea83be7904d3e0cfecaca73c6fc9d8d29214fbfb2082aa97c45ba607ff SHA512 fc7615150e90fb963d4ae2775b5d0dda7667c0fd975cdcd8e5d52a87d01935471c37c9256e894c68fe88268d61d7a3cde42f36171f9160dae20ce8140eaab22f
diff --git a/app-office/kexi/files/kexi-3.1.0-qt-5.11.patch b/app-office/kexi/files/kexi-3.1.0-qt-5.11.patch
new file mode 100644
index 000000000000..a879b2a46045
--- /dev/null
+++ b/app-office/kexi/files/kexi-3.1.0-qt-5.11.patch
@@ -0,0 +1,24 @@
+From c7b9215e7ae30a052fa11aa4199e7adea517c7e2 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue, 20 Mar 2018 00:06:46 +0100
+Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
+
+---
+ src/main/startup/KexiNewProjectAssistant.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/main/startup/KexiNewProjectAssistant.cpp b/src/main/startup/KexiNewProjectAssistant.cpp
+index 59e819acc..6568f1b5c 100644
+--- a/src/main/startup/KexiNewProjectAssistant.cpp
++++ b/src/main/startup/KexiNewProjectAssistant.cpp
+@@ -48,6 +48,7 @@
+ #include <KIconLoader>
+ #include <KStandardGuiItem>
+
++#include <QAction>
+ #include <QDebug>
+ #include <QLayout>
+ #include <QCheckBox>
+--
+2.16.2
+
diff --git a/app-office/kexi/kexi-3.1.0.ebuild b/app-office/kexi/kexi-3.1.0.ebuild
new file mode 100644
index 000000000000..16241347eb89
--- /dev/null
+++ b/app-office/kexi/kexi-3.1.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# KDE_HANDBOOK="true"
+KDE_TEST="forceoptional"
+QT_MINIMAL="5.8.0"
+inherit kde5
+
+DESCRIPTION="Visual database applications creator"
+HOMEPAGE="https://www.kde.org/applications/office/kexi/ http://www.kexi-project.org/"
+[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
+
+KEYWORDS="amd64 x86"
+IUSE="debug experimental marble mdb mysql postgres sqlite webkit"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep breeze-icons-rcc)
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcodecs)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep designer)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ >=dev-db/kdb-3.1.0-r1:5=[debug?,mysql?,postgres?,sqlite?]
+ >=dev-libs/kproperty-3.1.0:5=
+ >=dev-libs/kreport-3.1.0:5=[scripting]
+ marble? ( $(add_kdeapps_dep marble) )
+ mdb? (
+ dev-libs/glib:2
+ virtual/libiconv
+ )
+ mysql? ( virtual/libmysqlclient )
+ postgres? (
+ dev-db/postgresql:*
+ dev-libs/libpqxx
+ )
+ webkit? ( $(add_qt_dep qtwebkit) )
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+ !app-office/calligra:4[calligra_features_kexi]
+ !app-office/calligra-l10n:4[calligra_features_kexi(+)]
+"
+
+PATCHES=( "${FILESDIR}"/${P}-qt-5.11.patch )
+
+src_prepare() {
+ if ! use webkit; then
+ punt_bogus_dep Qt5 WebKit
+ punt_bogus_dep Qt5 WebKitWidgets
+ fi
+
+ kde5_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKEXI_MIGRATEMANAGER_DEBUG=$(usex debug)
+ -DKEXI_AUTORISE_TABBED_TOOLBAR=$(usex experimental)
+ -DKEXI_SCRIPTS_SUPPORT=$(usex experimental)
+ $(cmake-utils_use_find_package marble KexiMarble)
+ $(cmake-utils_use_find_package mdb GLIB2)
+ $(cmake-utils_use_find_package mysql MySQL)
+ $(cmake-utils_use_find_package postgres PostgreSQL)
+ )
+ use experimental && mycmakeargs+=( -DKEXI_SCRIPTING_DEBUG=$(usex debug) )
+
+ kde5_src_configure
+}
diff --git a/app-office/kexi/metadata.xml b/app-office/kexi/metadata.xml
new file mode 100644
index 000000000000..6b5e3bba39b1
--- /dev/null
+++ b/app-office/kexi/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="experimental">Enable features deemed experimental by upstream</flag>
+ <flag name="marble">Enable displaying of maps using <pkg>kde-apps/marble</pkg></flag>
+ <flag name="mdb">Enable support for Microsoft Access database</flag>
+ <flag name="webkit">Enable web form designer widget using <pkg>dev-qt/qtwebkit</pkg></flag>
+ </use>
+</pkgmetadata>