From 29390beb46cbf3c8d8fd61728730a984aa1400b1 Mon Sep 17 00:00:00 2001
From: ptrcnull <git@ptrcnull.me>
Date: Tue, 12 Jul 2022 20:31:49 +0200
Subject: [PATCH] testing/mariadb-connector-odbc: upgrade to 3.1.16

---
 testing/mariadb-connector-odbc/APKBUILD | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/testing/mariadb-connector-odbc/APKBUILD b/testing/mariadb-connector-odbc/APKBUILD
index 50aa9fe03e1f..d2c93b142c7b 100644
--- a/testing/mariadb-connector-odbc/APKBUILD
+++ b/testing/mariadb-connector-odbc/APKBUILD
@@ -1,14 +1,14 @@
 # Contributor: Joe Searle <joe@jsearle.net>
 # Maintainer: Joe Searle <joe@jsearle.net>
 pkgname=mariadb-connector-odbc
-pkgver=3.1.14
+pkgver=3.1.16
 pkgrel=0
 pkgdesc="MariaDB Connector/ODBC database driver"
 url="https://github.com/MariaDB/mariadb-connector-odbc"
 arch="all"
 license="LGPL-2.1-only"
 options="!check" # 'test' directory not included in releases
-makedepends="cmake unixodbc-dev mariadb-connector-c-dev mariadb-static"
+makedepends="cmake samurai openssl-dev unixodbc-dev mariadb-connector-c-dev"
 source="$pkgname-$pkgver.tar.gz::https://github.com/MariaDB/mariadb-connector-odbc/archive/$pkgver.tar.gz"
 
 build() {
@@ -17,23 +17,23 @@ build() {
 	fi
 	# Link to /usr/include/mysql necessary when using system installed mariadb-connector-c
 	CFLAGS="$CFLAGS -I/usr/include/mysql" \
-		cmake -B build \
+		cmake -G Ninja -B build \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DBUILD_SHARED_LIBS=True \
 		-DCMAKE_BUILD_TYPE=None \
 		-DUSE_SYSTEM_INSTALLED_LIB=True \
 		-DWITH_SSL=OPENSSL \
 		$CMAKE_CROSSOPTS .
-	make -C build
+	cmake --build build
 }
 
 package() {
-	make -C build DESTDIR="$pkgdir" install
+	DESTDIR="$pkgdir" cmake --install build
 
 	# Remove license files
 	rm -rf "$pkgdir"/usr/docs
 }
 
 sha512sums="
-8b45f38e6b6a78ee2c68f09917cbf23fd11b0f452d8920fbe8fdbe31b1126f8584188895b19c978bc0e6a7030e02b1b04c2e2238ed70684aee9ef72ed3baa932  mariadb-connector-odbc-3.1.14.tar.gz
+f61041bcc14bcaf6caeb5b0b5c25edbdd8a9dacedb4e1c34c76c7d5c41a1bc89d90a2055c152d83b76531bd31d35ea96ed95854dac25cc55304827d3fe7dda46  mariadb-connector-odbc-3.1.16.tar.gz
 "
-- 
GitLab