diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-11-10 00:13:51 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-11-10 00:14:17 +1100 |
commit | 7f84e297041c6e688c299ef2d8542c6486a02f20 (patch) | |
tree | dfa5e1248e5830e11f2a983df3094f47e22c9f56 /app-office | |
parent | dev-libs/kreport: new package (diff) | |
download | gentoo-7f84e297041c6e688c299ef2d8542c6486a02f20.tar.gz gentoo-7f84e297041c6e688c299ef2d8542c6486a02f20.tar.bz2 gentoo-7f84e297041c6e688c299ef2d8542c6486a02f20.zip |
app-office/kexi: new package
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/kexi/Manifest | 1 | ||||
-rw-r--r-- | app-office/kexi/kexi-3.0.0.ebuild | 79 | ||||
-rw-r--r-- | app-office/kexi/metadata.xml | 13 |
3 files changed, 93 insertions, 0 deletions
diff --git a/app-office/kexi/Manifest b/app-office/kexi/Manifest new file mode 100644 index 000000000000..01d5e2627239 --- /dev/null +++ b/app-office/kexi/Manifest @@ -0,0 +1 @@ +DIST kexi-3.0.0.tar.xz 3678724 SHA256 8acfdf9f933139544aa8a8f53b04f5266c1cec6b3844963d04404e8b7f72ffe0 SHA512 c42b50aaa0878171c0a238226b47774a3370f6ca4411c344a7d31e78ee3cb5b930be4a493290a887dc239146d49c7d7da71028587aabbf8e5497704dab7bf826 WHIRLPOOL 0c4ae66e3985cd36d4687ca0ffcfeac6a19aa838a765cc0211efe4d11fc7be661c1beb8792b83f8f54cabbc274e7d8859dbcb2a294c173712e2df3271806aa95 diff --git a/app-office/kexi/kexi-3.0.0.ebuild b/app-office/kexi/kexi-3.0.0.ebuild new file mode 100644 index 000000000000..f4beb9d534a3 --- /dev/null +++ b/app-office/kexi/kexi-3.0.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# KDE_HANDBOOK="true" +KDE_TEST="forceoptional" +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="marble mdb mysql postgres sqlite webkit" + +COMMON_DEPEND=" + $(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[mysql?,postgres?,sqlite?] + dev-libs/kproperty + dev-libs/kreport + marble? ( $(add_kdeapps_dep marble) ) + mdb? ( dev-libs/glib:2 ) + mysql? ( virtual/libmysqlclient ) + postgres? ( + dev-db/postgresql:* + dev-libs/libpqxx + ) + webkit? ( $(add_qt_dep qtwebkit) ) +" +DEPEND="${COMMON_DEPEND} + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + $(add_frameworks_dep breeze-icons-rcc) + !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=( + $(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 KexiPostgreSQL) + ) + kde5_src_configure +} diff --git a/app-office/kexi/metadata.xml b/app-office/kexi/metadata.xml new file mode 100644 index 000000000000..a7106e621be4 --- /dev/null +++ b/app-office/kexi/metadata.xml @@ -0,0 +1,13 @@ +<?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="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> |