mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-07 00:05:47 +03:00
dev-db/soci: drop 4.0.3-r5
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST soci-4.0.3.tar.gz 1213452 BLAKE2B c0fe6d80e32a8df6de94d6fea5bafc1010b8f3e83a7132f95784e1dcc9b682e0037909621a5526c84dd78de60490016916d444f22dfb2a751c357c7a34ff6539 SHA512 1a3a00b8656a95d0e47256fe5ce5a26bc3fc6379b8cadfb12d4e604fb0168724d6cd7090b6b47ee329822593089386a59bdd040b081d873fcc31ad3555031bc6
|
||||
DIST soci-4.1.2.tar.gz 4380345 BLAKE2B 9c2036fcf8a5021a4906384fceb4b9b0e7284a0daff6392d919a80c9d28d9bacb94346c0d5dffad571c8cb5da60d7e479dd4bc5cadcdd7a88e3918a714a35b45 SHA512 45fe481809abd9c22c609dd9488bf4c2d3fd9df20e5973be7898647061f52dbff260940f218337c351c2d33d1bcd10b811436bae4cbd03bcab827b76e41ac566
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- soci-4.0.3/CMakeLists.txt.orig 2025-05-25 10:58:59.233104228 +0200
|
||||
+++ soci-4.0.3/CMakeLists.txt 2025-05-25 11:02:52.179087165 +0200
|
||||
@@ -10,7 +10,7 @@
|
||||
###############################################################################
|
||||
# General settings
|
||||
###############################################################################
|
||||
-cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
|
||||
|
||||
project(SOCI)
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
option(SOCI_VISIBILITY "Enable hiding private symbol using ELF visibility if supported by the platform" ON)
|
||||
|
||||
if (SOCI_LTO)
|
||||
- cmake_minimum_required(VERSION 3.9)
|
||||
+ cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
# Check and enable lto support
|
||||
include(CheckIPOSupported)
|
||||
@@ -13,9 +13,6 @@
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cxx11">Enable c++11 support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">soci</remote-id>
|
||||
</upstream>
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="SOCI - The C++ Database Access Library"
|
||||
HOMEPAGE="https://sourceforge.net/projects/soci/"
|
||||
SRC_URI="https://sourceforge.net/projects/soci/files/soci/${P}/${P}.tar.gz/download -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="+cxx11 mysql odbc oracle postgres sqlite static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}"-cmake-4.patch
|
||||
)
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
soci_odbc_test_mssql
|
||||
soci_odbc_test_mssql_static
|
||||
soci_odbc_test_mysql
|
||||
soci_odbc_test_mysql_static
|
||||
soci_odbc_test_postgresql
|
||||
soci_odbc_test_postgresql_static
|
||||
soci_postgresql_test
|
||||
soci_postgresql_test_static
|
||||
soci_mysql_test
|
||||
soci_mysql_test_static
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.85.0-r1
|
||||
mysql? ( dev-db/mysql:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
oracle? ( dev-db/oracle-instantclient:=[sdk] )
|
||||
postgres? ( dev-db/postgresql:= )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSOCI_STATIC="$(usex static-libs)"
|
||||
-DSOCI_TESTS="$(usex test)"
|
||||
-DSOCI_CXX11="$(usex cxx11)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user