summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-03-18 12:25:45 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-03-18 12:25:51 +1100
commit333b3f3be85b0790eabdd9245062bbf71ff46a5c (patch)
tree935d1222dc54286ff3032c5a893ea976f6fc020f /dev-db
parentdev-libs/kreport: version bump 3.1.0 (diff)
downloadgentoo-333b3f3be85b0790eabdd9245062bbf71ff46a5c.tar.gz
gentoo-333b3f3be85b0790eabdd9245062bbf71ff46a5c.tar.bz2
gentoo-333b3f3be85b0790eabdd9245062bbf71ff46a5c.zip
dev-db/kdb: version bump 3.1.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/kdb/Manifest1
-rw-r--r--dev-db/kdb/kdb-3.1.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-db/kdb/Manifest b/dev-db/kdb/Manifest
index 90a20f2f752..312a2fcc31a 100644
--- a/dev-db/kdb/Manifest
+++ b/dev-db/kdb/Manifest
@@ -1 +1,2 @@
DIST kdb-3.0.2.tar.xz 478576 BLAKE2B 66982ddae77eeca4238de5045729c049ab41a86471d896f8199af58c9ce6a88abffa1b65975b3e138579bb244e18095e95ddddd11c7c79008f18cbffa63a2076 SHA512 e2fcc09d9477b707bc5af23d23ebfedd21ee7445b0de8fa160969795eb608d712d74572618334fcef4aa06095fa69ce9861542851f5609e83287b23ef01fae90
+DIST kdb-3.1.0.tar.xz 543780 BLAKE2B d874765758e245fc939bf88312b064d2dcff3460b2c9e968277e0ce7b8821314273cb3086e821645f9d7605de1a4268e25d11c40f8bf847a8dc98c410bd4d9eb SHA512 f94f1ff87cb5133570f7e9b0ab48202a516eabe1c3f2ed750cd1794800d9b9936bbd62e1479ca6877c293f6473b7f4e2d4a144b928b5bc0f228af327131b43c2
diff --git a/dev-db/kdb/kdb-3.1.0.ebuild b/dev-db/kdb/kdb-3.1.0.ebuild
new file mode 100644
index 00000000000..48b27a46ee6
--- /dev/null
+++ b/dev-db/kdb/kdb-3.1.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_6 )
+
+inherit kde5 python-any-r1
+
+DESCRIPTION="Database connectivity and creation framework for various vendors"
+[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+SLOT="5/4"
+KEYWORDS="~amd64 ~x86"
+IUSE="mysql postgres sqlite"
+
+RDEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ dev-libs/icu:=
+ mysql? ( virtual/mysql )
+ postgres? (
+ $(add_qt_dep qtnetwork)
+ dev-db/postgresql:*
+ )
+ sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-qt/linguist-tools:5
+"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ kde5_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package mysql MySQL)
+ $(cmake-utils_use_find_package postgres PostgreSQL)
+ $(cmake-utils_use_find_package sqlite Sqlite)
+ )
+
+ kde5_src_configure
+}