summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-03-18 14:21:47 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-03-18 14:22:08 +1100
commit35bf3bfcf89ead3596e2a130ce5ab0e120c461bb (patch)
tree4388c8ccf13c22690f53e908d4b5ca49b00482d1 /app-office/kexi/kexi-3.1.0.ebuild
parentdev-db/kdb: revbump improves handling of debug USE flag (diff)
downloadgentoo-35bf3bfcf89ead3596e2a130ce5ab0e120c461bb.tar.gz
gentoo-35bf3bfcf89ead3596e2a130ce5ab0e120c461bb.tar.bz2
gentoo-35bf3bfcf89ead3596e2a130ce5ab0e120c461bb.zip
app-office/kexi: version bump 3.1.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-office/kexi/kexi-3.1.0.ebuild')
-rw-r--r--app-office/kexi/kexi-3.1.0.ebuild86
1 files changed, 86 insertions, 0 deletions
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..fa15f9b5f72d
--- /dev/null
+++ b/app-office/kexi/kexi-3.1.0.ebuild
@@ -0,0 +1,86 @@
+# 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(+)]
+"
+
+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_SCRIPTING_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)
+ )
+ kde5_src_configure
+}