diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-13 02:48:49 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-01-12 14:18:07 +0100 |
commit | f1c14f509a934577cff01732f4f897649ee820fe (patch) | |
tree | 293bdd0c3de7981728d970abf13d8bf8926a473b /dev-db/kdb/kdb-3.2.0.ebuild | |
parent | app-office/kexi: Port away from kde5.eclass, update HOMEPAGE (diff) | |
download | gentoo-f1c14f509a934577cff01732f4f897649ee820fe.tar.gz gentoo-f1c14f509a934577cff01732f4f897649ee820fe.tar.bz2 gentoo-f1c14f509a934577cff01732f4f897649ee820fe.zip |
dev-db/kdb: Port away from kde5.eclass, add HOMEPAGE, python3_8, py27--
Fix build with PostgreSQL 12
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-db/kdb/kdb-3.2.0.ebuild')
-rw-r--r-- | dev-db/kdb/kdb-3.2.0.ebuild | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/dev-db/kdb/kdb-3.2.0.ebuild b/dev-db/kdb/kdb-3.2.0.ebuild index ede80bfcaf1e..b96351cf4d17 100644 --- a/dev-db/kdb/kdb-3.2.0.ebuild +++ b/dev-db/kdb/kdb-3.2.0.ebuild @@ -1,43 +1,54 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 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 +ECM_QTHELP="true" +ECM_TEST="true" +PYTHON_COMPAT=( python3_{6,7,8} ) +KFMIN=5.60.0 +QTMIN=5.12.3 +inherit ecm kde.org 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" +HOMEPAGE="https://community.kde.org/KDb" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz" + KEYWORDS="amd64 x86" +fi 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:= + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 mysql? ( dev-db/mysql-connector-c:= ) postgres? ( - $(add_qt_dep qtnetwork) + >=dev-qt/qtnetwork-${QTMIN}:5 dev-db/postgresql:* ) sqlite? ( dev-db/sqlite:3 ) " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-cmake-pg12.patch + "${FILESDIR}"/${P}-build-w-pg12.patch +) + pkg_setup() { python-any-r1_pkg_setup - kde5_pkg_setup + ecm_pkg_setup } src_configure() { @@ -48,5 +59,5 @@ src_configure() { $(cmake_use_find_package sqlite Sqlite) ) - kde5_src_configure + ecm_src_configure } |