public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c++/
Date: Mon, 31 Oct 2022 01:43:15 +0000 (UTC)	[thread overview]
Message-ID: <1667180545.682a757b02ab1705e081a1dcc86bea731f655b79.sam@gentoo> (raw)

commit:     682a757b02ab1705e081a1dcc86bea731f655b79
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 31 01:38:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 01:42:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682a757b

dev-db/mysql-connector-c++: add 8.0.31

Closes: https://bugs.gentoo.org/805530
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/mysql-connector-c++/Manifest                |  1 +
 .../mysql-connector-c++-8.0.31.ebuild              | 58 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-db/mysql-connector-c++/Manifest b/dev-db/mysql-connector-c++/Manifest
index 9060af922044..c3b54b2f9ed0 100644
--- a/dev-db/mysql-connector-c++/Manifest
+++ b/dev-db/mysql-connector-c++/Manifest
@@ -1,2 +1,3 @@
 DIST mysql-connector-c++-1.1.12.tar.gz 518615 BLAKE2B 386a4753ca3f03999a49a89507da1b1172b3db89797c38403fee4eea86e7108a5e4f91f24a17de86d585c2a3d9e5742a117fa84d9b14aad649f938a597f3dae9 SHA512 d7e132dbc2efda4a77f8ae00c24006a1ade1d0a50f22d89ece453505e6d206427ee7988df29c0d6ef8b396ad6b8d326b6d263a1d4fa08ef5db0966fb4f1479f4
 DIST mysql-connector-c++-8.0.27-src.tar.gz 4004836 BLAKE2B e581c679d8d9a31d2570b9cf1968b4e793cfccbd4cafdc5a9c9d17a465c16faa1492b2da7bdc1679d97474c27b6353274a390668f77d3cb47f72598eb3a967fa SHA512 3da7109efd2d1af813931b923218de9a85afe20d23e2654eecfa5524431f5b11ebdb8421b14563300b66ab61714e284cc15407a3b28a87922c9a8c79b2804bf3
+DIST mysql-connector-c++-8.0.31-src.tar.gz 4201904 BLAKE2B 48385db732572ccf2ba91edca0fbdecf94b3ac5ca6c095e1e2e525e5f9b17749b9cb1ed9732253f9239296d364a69a91d56f60958eb4cf399f16db38f6bd76a8 SHA512 a088936e207926031b6bafe45925bf0c9d2acede9477b605adb09dc875c87965e58e3ecd0332168021122c9def831f0dfdb837ad2c4ea2f140b07b43c9f8bb3c

diff --git a/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.31.ebuild b/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.31.ebuild
new file mode 100644
index 000000000000..87c9e7f9ce8e
--- /dev/null
+++ b/dev-db/mysql-connector-c++/mysql-connector-c++-8.0.31.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake
+
+URI_DIR="Connector-C++"
+DESCRIPTION="MySQL database connector for C++ (mimics JDBC 4.0 API)"
+HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
+SRC_URI="https://dev.mysql.com/get/Downloads/${URI_DIR}/${P}-src.tar.gz"
+S="${WORKDIR}/${P}-src"
+
+LICENSE="Artistic GPL-2"
+SLOT="0"
+# -ppc, -sparc for bug #711940
+KEYWORDS="~amd64 ~arm ~arm64 -ppc ~ppc64 -sparc ~x86"
+IUSE="+legacy"
+
+RDEPEND="
+	app-arch/lz4:=
+	app-arch/zstd:=
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	sys-libs/zlib
+	legacy? (
+		dev-libs/boost:=
+		>=dev-db/mysql-connector-c-8.0.27:=
+	)
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-8.0.27-mysqlclient_r.patch
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUNDLE_DEPENDENCIES=OFF
+		-DWITH_PROTOBUF=system
+		-DWITH_LZ4=system
+		-DWITH_SSL=system
+		-DWITH_ZLIB=system
+		-DWITH_ZSTD=system
+		-DWITH_JDBC=$(usex legacy)
+	)
+
+	if use legacy ; then
+		mycmakeargs+=(
+			-DWITH_BOOST="${ESYSROOT}"/usr
+			-DMYSQLCLIENT_STATIC_BINDING=0
+			-DMYSQLCLIENT_STATIC_LINKING=0
+		)
+	fi
+
+	cmake_src_configure
+}


             reply	other threads:[~2022-10-31  1:43 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31  1:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-01 12:47 [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-connector-c++/ Eli Schwartz
2024-08-01  7:05 Eli Schwartz
2024-04-27 13:08 Petr Vaněk
2023-12-19 17:01 Arthur Zamarin
2023-12-19  5:26 Sam James
2023-12-19  5:23 Sam James
2023-12-19  5:23 Sam James
2023-10-14  8:34 Sam James
2023-05-06 14:01 Arthur Zamarin
2023-05-06 14:01 Arthur Zamarin
2023-05-06 14:01 Arthur Zamarin
2023-04-02 19:30 Arthur Zamarin
2023-01-13 15:02 Arthur Zamarin
2023-01-13 15:02 Arthur Zamarin
2022-12-02 20:25 Arthur Zamarin
2022-12-02  8:02 Arthur Zamarin
2022-07-29  2:47 Sam James
2022-07-02 21:20 David Seifert
2022-03-03 21:22 David Seifert
2022-02-27 22:25 Sam James
2022-01-13  4:18 Sam James
2022-01-13  4:18 Sam James
2022-01-11 21:40 Sam James
2021-10-16  6:32 Sam James
2021-10-16  3:42 Sam James
2021-09-19 12:36 Andreas K. Hüttel
2021-05-24 13:05 Agostino Sarubbo
2021-05-24  1:19 Thomas Deutschmann
2021-05-15 18:02 Sam James
2021-05-11 10:03 Agostino Sarubbo
2021-05-11 10:02 Agostino Sarubbo
2021-05-03  8:18 Mikle Kolyada
2021-04-26  1:03 Thomas Deutschmann
2021-02-03 14:30 Agostino Sarubbo
2021-02-03 14:28 Agostino Sarubbo
2021-01-21 22:32 Thomas Deutschmann
2020-12-15 10:37 Sam James
2020-12-03  7:30 Sam James
2020-12-02  3:06 Thomas Deutschmann
2020-08-07 11:53 Agostino Sarubbo
2020-08-07 11:44 Agostino Sarubbo
2020-08-06  2:10 Sam James
2020-07-26  1:46 Thomas Deutschmann
2020-02-17 11:45 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2020-02-15 12:16 Mikle Kolyada
2019-11-27 13:36 Mikle Kolyada
2019-11-12 15:08 Agostino Sarubbo
2019-11-12 10:45 Agostino Sarubbo
2019-11-12 10:13 Agostino Sarubbo
2019-11-12 10:05 Agostino Sarubbo
2019-09-08 18:35 Thomas Deutschmann
2019-08-28 11:17 Thomas Deutschmann
2019-08-24 10:30 Thomas Deutschmann
2019-03-04 15:45 Thomas Deutschmann
2019-02-20 12:56 Mikle Kolyada
2019-02-20 12:55 Mikle Kolyada
2019-02-18 19:48 Sergei Trofimovich
2019-02-17 22:35 Thomas Deutschmann
2019-02-17 17:14 Sergei Trofimovich
2019-02-17 17:08 Sergei Trofimovich
2019-02-16 22:48 Thomas Deutschmann
2018-11-14 21:51 Sergei Trofimovich
2018-09-16 23:41 Brian Evans
2018-07-28 11:52 Markus Meier
2018-07-15 10:25 Sergei Trofimovich
2018-06-23 10:37 Mikle Kolyada
2018-06-17 23:29 Thomas Deutschmann
2018-06-07 21:33 Patrice Clement
2017-10-19 17:23 Jonas Stein
2017-08-28 20:44 Alexis Ballier
2017-06-12 16:44 Brian Evans
2017-01-28 20:11 Brian Evans
2016-01-12 13:21 Ian Delaney
2015-10-17 10:56 Markus Meier
2015-10-11 12:02 Mikle Kolyada
2015-10-06  6:18 Jeroen Roovers
2015-09-25 14:13 Agostino Sarubbo
2015-09-25  3:26 Ian Delaney
2015-09-24 10:36 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1667180545.682a757b02ab1705e081a1dcc86bea731f655b79.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox