diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-db/kdb/kdb-3.2.0-r2.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-db/kdb/kdb-3.2.0-r2.ebuild')
-rw-r--r-- | dev-db/kdb/kdb-3.2.0-r2.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dev-db/kdb/kdb-3.2.0-r2.ebuild b/dev-db/kdb/kdb-3.2.0-r2.ebuild new file mode 100644 index 000000000000..caf82c0d8d8c --- /dev/null +++ b/dev-db/kdb/kdb-3.2.0-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="true" +ECM_TEST="true" +PYTHON_COMPAT=( python3_{8..10} ) +KFMIN=5.82.0 +QTMIN=5.15.2 +inherit ecm kde.org python-any-r1 + +DESCRIPTION="Database connectivity and creation framework for various vendors" +HOMEPAGE="https://community.kde.org/KDb" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/src/${P}.tar.xz + https://dev.gentoo.org/~asturm/distfiles/${P}-patches.tar.xz" + KEYWORDS="amd64 x86" +fi + +LICENSE="LGPL-2+" +SLOT="5/4" +IUSE="debug mysql postgres sqlite" + +DEPEND=" + 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? ( + dev-db/postgresql:* + >=dev-qt/qtnetwork-${QTMIN}:5 + ) + sqlite? ( dev-db/sqlite:3 ) +" +RDEPEND="${DEPEND}" +BDEPEND="${PYTHON_DEPS} + dev-qt/linguist-tools:5 +" + +PATCHES=( + # 3.2 branch + "${WORKDIR}"/${P}-patches/${P}-build-w-pg12.patch + "${WORKDIR}"/${P}-patches/${P}-qt-5.15.patch + "${WORKDIR}"/${P}-patches/${P}-cmake-pg15.patch + "${WORKDIR}"/${P}-patches/${P}-Q_REQUIRED_RESULT-placing.patch + "${WORKDIR}"/${P}-patches/${P}-gcc12.patch + # master + "${WORKDIR}"/${P}-patches/${P}-KDEInstallDirs.patch +) + +pkg_setup() { + python-any-r1_pkg_setup + ecm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DKDB_DEBUG_GUI=$(usex debug) + $(cmake_use_find_package mysql MySQL) + $(cmake_use_find_package postgres PostgreSQL) + $(cmake_use_find_package sqlite Sqlite) + ) + + ecm_src_configure +} |