diff options
author | 2017-08-12 18:53:27 +1000 | |
---|---|---|
committer | 2017-08-12 18:54:18 +1000 | |
commit | 1a06047a1216d648189f078e1ab0cfe77b0118fb (patch) | |
tree | ce0c8fefafe2716d5b06d9dbf99a41a91af40c4e /dev-db/kdb/kdb-3.0.2.ebuild | |
parent | app-office/kmymoney: Fix build with cmake-3.9 (diff) | |
download | gentoo-1a06047a1216d648189f078e1ab0cfe77b0118fb.tar.gz gentoo-1a06047a1216d648189f078e1ab0cfe77b0118fb.tar.bz2 gentoo-1a06047a1216d648189f078e1ab0cfe77b0118fb.zip |
dev-db/kdb: version bump 3.0.2
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-db/kdb/kdb-3.0.2.ebuild')
-rw-r--r-- | dev-db/kdb/kdb-3.0.2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-db/kdb/kdb-3.0.2.ebuild b/dev-db/kdb/kdb-3.0.2.ebuild new file mode 100644 index 000000000000..0494882c2ee9 --- /dev/null +++ b/dev-db/kdb/kdb-3.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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? ( + $(add_qt_dep qtnetwork) + 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 +} |