commit:     7bcb5e5479119be212641e3a48af7fd684b65fde
Author:     Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org>
AuthorDate: Fri May 16 21:33:26 2025 +0000
Commit:     Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org>
CommitDate: Fri May 16 21:33:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7bcb5e54

dev-db/soci: add 4.1.1

Signed-off-by: Jan-Espen Oversand <sigsegv <AT> radiotube.org>

 dev-db/soci/Manifest          |  1 +
 dev-db/soci/soci-4.1.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-db/soci/Manifest b/dev-db/soci/Manifest
index 18796c726..22c2666ef 100644
--- a/dev-db/soci/Manifest
+++ b/dev-db/soci/Manifest
@@ -1 +1,2 @@
 DIST soci-4.0.3.tar.gz 1213452 BLAKE2B 
c0fe6d80e32a8df6de94d6fea5bafc1010b8f3e83a7132f95784e1dcc9b682e0037909621a5526c84dd78de60490016916d444f22dfb2a751c357c7a34ff6539
 SHA512 
1a3a00b8656a95d0e47256fe5ce5a26bc3fc6379b8cadfb12d4e604fb0168724d6cd7090b6b47ee329822593089386a59bdd040b081d873fcc31ad3555031bc6
+DIST soci-4.1.1.tar.gz 4378760 BLAKE2B 
871ec5e88e4f1fd7e4a6b54cbbf4c4eb113660f869f5cd8fb698048715efc7148317cd7510b1f8013fc178452743fb9d20df9fb3ceda365a5eae82ebf3d02e69
 SHA512 
8453e743d869db68cd7f905672dc050a6984aec1542ef4d13f581710b03505d3b46682c93c6b800863445dcaa310d5bd9c302243d7ab47a34eae3e2b30b8ff53

diff --git a/dev-db/soci/soci-4.1.1.ebuild b/dev-db/soci/soci-4.1.1.ebuild
new file mode 100644
index 000000000..08e514dd6
--- /dev/null
+++ b/dev-db/soci/soci-4.1.1.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
+}

Reply via email to