From 0a4a7bd3d3f49a975e58949b56946be678cbb712 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Mon, 23 Dec 2024 11:36:28 -0800 Subject: [PATCH] qt-unixodbc 6.8.1 --- Formula/q/qt-unixodbc.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Formula/q/qt-unixodbc.rb b/Formula/q/qt-unixodbc.rb index cce5a13d5a878..78715c5e8ad30 100644 --- a/Formula/q/qt-unixodbc.rb +++ b/Formula/q/qt-unixodbc.rb @@ -1,8 +1,8 @@ class QtUnixodbc < Formula desc "Qt SQL Database Driver" homepage "https://www.qt.io/" - url "https://download.qt.io/official_releases/qt/6.7/6.7.3/submodules/qtbase-everywhere-src-6.7.3.tar.xz" - sha256 "8ccbb9ab055205ac76632c9eeddd1ed6fc66936fc56afc2ed0fd5d9e23da3097" + url "https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtbase-everywhere-src-6.8.1.tar.xz" + sha256 "40b14562ef3bd779bc0e0418ea2ae08fa28235f8ea6e8c0cb3bce1d6ad58dcaf" license any_of: ["GPL-2.0-only", "GPL-3.0-only", "LGPL-3.0-only"] livecheck do @@ -26,22 +26,20 @@ class QtUnixodbc < Formula because: "qt-unixodbc and qt-libiodbc install the same binaries" def install - args = std_cmake_args + %W[ + args = %W[ -DCMAKE_STAGING_PREFIX=#{prefix} - -DFEATURE_sql_ibase=OFF -DFEATURE_sql_mysql=OFF -DFEATURE_sql_oci=OFF -DFEATURE_sql_odbc=ON -DFEATURE_sql_psql=OFF -DFEATURE_sql_sqlite=OFF + -DQT_GENERATE_SBOM=OFF ] - cd "src/plugins/sqldrivers" do - system "cmake", ".", *args - system "cmake", "--build", "." - system "cmake", "--install", "." - end + system "cmake", "-S", "src/plugins/sqldrivers", "-B", "build", *args, *std_cmake_args + system "cmake", "--build", "build" + system "cmake", "--install", "build" end test do