Files
gentoo/dev-db/soci/metadata.xml
Jan-Espen Oversand f54a845b49 dev-db/soci: fix relying on backend auto magic
Parameters SOCI_* disables/enables backends. This is straight forward
for most of the backends. The mysql backend can either use
mysql-connector-c or mariadb-connector-c. Which one of them is decided
by the find_package mysql script provided by upstream. That does not
work since we need to respect the use flags by the user and declare a
dependency to the correct connector. Most of the complexity of this is
due to mysql/mariadb and that is solved by providing a FindMySQL.cmake
that takes parameters for mysql libs and headers. The cmake scripts do
not call find_package for disabled backends, passing
CMAKE_DISABLE_FIND_PACKAGE_*=TRUE in addition to SOCI_*=off will
therefore produce cmake warnings.

Signed-off-by: Jan-Espen Oversand <sigsegv@radiotube.org>
Closes: https://bugs.gentoo.org/968287
Part-of: https://github.com/gentoo/gentoo/pull/45248
Closes: https://github.com/gentoo/gentoo/pull/45248
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
2026-01-06 13:08:21 -05:00

23 lines
720 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>concord@gentoo.org</email>
<name>Kenton Groombridge</name>
</maintainer>
<maintainer type="person" proxied="yes">
<email>sigsegv@radiotube.org</email>
<name>Jan-Espen Oversand</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">soci</remote-id>
</upstream>
<use>
<flag name="mariadb">Enable mysql plugin with <pkg>dev-db/mariadb-connector-c</pkg> as the client library</flag>
</use>
</pkgmetadata>