summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-11-10 00:11:48 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-11-10 00:14:17 +1100
commitd8a96e68ff5ccbe80ab8c409c35d798bac13827f (patch)
treee58f6d173d4ebd8ccb969f36ed1c37e4ef8b2178 /dev-db
parentkde-frameworks/breeze-icons-rcc: new package (diff)
downloadgentoo-d8a96e68ff5ccbe80ab8c409c35d798bac13827f.tar.gz
gentoo-d8a96e68ff5ccbe80ab8c409c35d798bac13827f.tar.bz2
gentoo-d8a96e68ff5ccbe80ab8c409c35d798bac13827f.zip
dev-db/kdb: new package
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/kdb/Manifest1
-rw-r--r--dev-db/kdb/kdb-3.0.0.ebuild42
-rw-r--r--dev-db/kdb/metadata.xml8
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-db/kdb/Manifest b/dev-db/kdb/Manifest
new file mode 100644
index 00000000000..8ce005ea24f
--- /dev/null
+++ b/dev-db/kdb/Manifest
@@ -0,0 +1 @@
+DIST kdb-3.0.0.tar.xz 478500 SHA256 b7dcc4f90a6adf069faa725bb2182639b59ff4f570f7fd1b790c3012c68913a0 SHA512 68fbb9e13c3bd702f398ae554d9b436973aab29d9ce71fb350b962cc9ab9bfdf096e718d46d1b8ea69f265ee8e7094df9923aebfaa1609fda45d54bd9cf0723e WHIRLPOOL bbc471b5818f3b28f1aafd636996e4c4d6460541557dc3d5b2231e0c1dff622b4b69834e432d226f3aaa411e9c0d2ad30f1f1a2b2bc3976bfde239d823f1a456
diff --git a/dev-db/kdb/kdb-3.0.0.ebuild b/dev-db/kdb/kdb-3.0.0.ebuild
new file mode 100644
index 00000000000..59c4ba25567
--- /dev/null
+++ b/dev-db/kdb/kdb-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+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+"
+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? ( dev-db/postgresql:* )
+ sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+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
+}
diff --git a/dev-db/kdb/metadata.xml b/dev-db/kdb/metadata.xml
new file mode 100644
index 00000000000..2fdbf33d963
--- /dev/null
+++ b/dev-db/kdb/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>