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 23, 2024
1 parent bced049 commit 151f435
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 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,9 +26,8 @@ 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
Expand All @@ -37,11 +36,9 @@ def install
-DFEATURE_sql_sqlite=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 151f435

Please sign in to comment.