mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-db/kdb: Drop 3.2.0-r1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
From 6bba3130f8968abb2e904bda1e8b59f83dd43bdc Mon Sep 17 00:00:00 2001
|
||||
From: Pino Toscano <pino@kde.org>
|
||||
Date: Sat, 25 May 2019 06:59:44 +0200
|
||||
Subject: cmake: find PostgreSQL 12
|
||||
|
||||
---
|
||||
cmake/modules/FindPostgreSQL.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/modules/FindPostgreSQL.cmake b/cmake/modules/FindPostgreSQL.cmake
|
||||
index 8ec30db..74e6f6b 100644
|
||||
--- a/cmake/modules/FindPostgreSQL.cmake
|
||||
+++ b/cmake/modules/FindPostgreSQL.cmake
|
||||
@@ -86,7 +86,7 @@ set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache e
|
||||
set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4")
|
||||
|
||||
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
||||
- "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
+ "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
|
||||
# Define additional search paths for root directories.
|
||||
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
|
||||
--
|
||||
cgit v1.1
|
||||
@@ -1,25 +0,0 @@
|
||||
From fb5dafb01ffba27b5868eaeb99816f3e8c1cf91c Mon Sep 17 00:00:00 2001
|
||||
From: Pino Toscano <pino@kde.org>
|
||||
Date: Fri, 22 May 2020 18:59:11 +0200
|
||||
Subject: [PATCH] cmake: find PostgreSQL 13
|
||||
|
||||
---
|
||||
cmake/modules/FindPostgreSQL.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/modules/FindPostgreSQL.cmake b/cmake/modules/FindPostgreSQL.cmake
|
||||
index 74e6f6b4..90db33ba 100644
|
||||
--- a/cmake/modules/FindPostgreSQL.cmake
|
||||
+++ b/cmake/modules/FindPostgreSQL.cmake
|
||||
@@ -86,7 +86,7 @@ set(PostgreSQL_LIBRARY_DIR_MESSAGE "Set the PostgreSQL_LIBRARY_DIR cmake cache e
|
||||
set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to where PostgreSQL is found on the machine E.g C:/Program Files/PostgreSQL/8.4")
|
||||
|
||||
set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
|
||||
- "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
+ "13" "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
|
||||
|
||||
# Define additional search paths for root directories.
|
||||
foreach (suffix ${PostgreSQL_KNOWN_VERSIONS} )
|
||||
--
|
||||
2.31.1
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ECM_QTHELP="true"
|
||||
ECM_TEST="true"
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
KFMIN=5.60.0
|
||||
QTMIN=5.12.3
|
||||
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"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
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-qt/qtnetwork-${QTMIN}:5
|
||||
dev-db/postgresql:*
|
||||
)
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
# 3.2 branch
|
||||
"${FILESDIR}"/${P}-cmake-pg12.patch
|
||||
"${WORKDIR}"/${P}-patches/${P}-build-w-pg12.patch
|
||||
"${FILESDIR}"/${P}-cmake-pg13.patch
|
||||
"${WORKDIR}"/${P}-patches/${P}-qt-5.15.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
|
||||
}
|
||||
Reference in New Issue
Block a user