aboutsummaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-10-08 10:48:15 +0200
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-10-08 17:58:15 +0200
commit14b2de93ec69ba8e09ff77af390b6a589e90c56f (patch)
treee74859101618d2ef9daf12383467c0dc83ce4039 /dev-db
parentkde-apps/kdb: pkgmove to dev-db/kdb (diff)
downloadkde-14b2de93ec69ba8e09ff77af390b6a589e90c56f.tar.gz
kde-14b2de93ec69ba8e09ff77af390b6a589e90c56f.tar.bz2
kde-14b2de93ec69ba8e09ff77af390b6a589e90c56f.zip
dev-db/kdb: Add first release 3.0.0
Package-Manager: portage-2.3.0
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/kdb-9999.ebuild2
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-db/kdb/Manifest b/dev-db/kdb/Manifest
new file mode 100644
index 0000000000..8ce005ea24
--- /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 0000000000..59c4ba2556
--- /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/kdb-9999.ebuild b/dev-db/kdb/kdb-9999.ebuild
index 5204d80fd1..7cc6ef2abf 100644
--- a/dev-db/kdb/kdb-9999.ebuild
+++ b/dev-db/kdb/kdb-9999.ebuild
@@ -9,6 +9,8 @@ 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=""
IUSE="mysql postgres sqlite"