commit: 711e9e8cd09a1234eef9d7f7ae75acb54969920e Author: Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org> AuthorDate: Sun May 18 11:35:19 2025 +0000 Commit: Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org> CommitDate: Sun May 18 11:35:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=711e9e8c
dev-db/soci: add 4.1.2 Signed-off-by: Jan-Espen Oversand <sigsegv <AT> radiotube.org> dev-db/soci/Manifest | 1 + dev-db/soci/soci-4.1.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-db/soci/Manifest b/dev-db/soci/Manifest index 22c2666ef..839d80dba 100644 --- a/dev-db/soci/Manifest +++ b/dev-db/soci/Manifest @@ -1,2 +1,3 @@ DIST soci-4.0.3.tar.gz 1213452 BLAKE2B c0fe6d80e32a8df6de94d6fea5bafc1010b8f3e83a7132f95784e1dcc9b682e0037909621a5526c84dd78de60490016916d444f22dfb2a751c357c7a34ff6539 SHA512 1a3a00b8656a95d0e47256fe5ce5a26bc3fc6379b8cadfb12d4e604fb0168724d6cd7090b6b47ee329822593089386a59bdd040b081d873fcc31ad3555031bc6 DIST soci-4.1.1.tar.gz 4378760 BLAKE2B 871ec5e88e4f1fd7e4a6b54cbbf4c4eb113660f869f5cd8fb698048715efc7148317cd7510b1f8013fc178452743fb9d20df9fb3ceda365a5eae82ebf3d02e69 SHA512 8453e743d869db68cd7f905672dc050a6984aec1542ef4d13f581710b03505d3b46682c93c6b800863445dcaa310d5bd9c302243d7ab47a34eae3e2b30b8ff53 +DIST soci-4.1.2.tar.gz 4380345 BLAKE2B 9c2036fcf8a5021a4906384fceb4b9b0e7284a0daff6392d919a80c9d28d9bacb94346c0d5dffad571c8cb5da60d7e479dd4bc5cadcdd7a88e3918a714a35b45 SHA512 45fe481809abd9c22c609dd9488bf4c2d3fd9df20e5973be7898647061f52dbff260940f218337c351c2d33d1bcd10b811436bae4cbd03bcab827b76e41ac566 diff --git a/dev-db/soci/soci-4.1.2.ebuild b/dev-db/soci/soci-4.1.2.ebuild new file mode 100644 index 000000000..08e514dd6 --- /dev/null +++ b/dev-db/soci/soci-4.1.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2024 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" +IUSE="odbc sqlite oracle postgres mysql static-libs test lto" +RESTRICT="!test? ( test )" + +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 + odbc? ( dev-db/unixODBC ) + sqlite? ( dev-db/sqlite ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + postgres? ( dev-db/postgresql ) + mysql? ( dev-db/mysql ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DSOCI_STATIC="$(usex static-libs)" + -DSOCI_TESTS="$(usex test)" + -DSOCI_LTO="$(usex lto)" + ) + cmake_src_configure +}
