Skip to content

Commit

Permalink
qt-postgresql 6.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
branchvincent committed Dec 24, 2024
1 parent 5c553a3 commit b89936f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Formula/q/qt-postgresql.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class QtPostgresql < 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 @@ -23,22 +23,20 @@ class QtPostgresql < Formula
depends_on "qt"

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=OFF
-DFEATURE_sql_psql=ON
-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 b89936f

Please sign in to comment.