diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-db/kdb/kdb-3.2.0.ebuild | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-db/kdb/kdb-3.2.0.ebuild')
-rw-r--r-- | dev-db/kdb/kdb-3.2.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-db/kdb/kdb-3.2.0.ebuild b/dev-db/kdb/kdb-3.2.0.ebuild new file mode 100644 index 000000000000..a69d6f79b1d2 --- /dev/null +++ b/dev-db/kdb/kdb-3.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +KDE_QTHELP="true" +KDE_TEST="true" +PYTHON_COMPAT=( python2_7 python3_{6,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+" +SLOT="5/4" +KEYWORDS="~amd64 ~x86" +IUSE="debug mysql postgres sqlite" + +BDEPEND="${PYTHON_DEPS} + dev-qt/linguist-tools:5 +" +DEPEND=" + $(add_frameworks_dep kcoreaddons) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + dev-libs/icu:= + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( + $(add_qt_dep qtnetwork) + dev-db/postgresql:* + ) + sqlite? ( dev-db/sqlite:3 ) +" +RDEPEND="${DEPEND}" + +pkg_setup() { + python-any-r1_pkg_setup + kde5_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DKDB_DEBUG_GUI=$(usex debug) + $(cmake-utils_use_find_package mysql MySQL) + $(cmake-utils_use_find_package postgres PostgreSQL) + $(cmake-utils_use_find_package sqlite Sqlite) + ) + + kde5_src_configure +} |