Skip to content

Commit

Permalink
qt-unixodbc 6.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Dec 24, 2024
1 parent b89936f commit 0a4a7bd
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Formula/q/qt-unixodbc.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0a4a7bd

Please sign in to comment.