Files
Sevan Janiyan 7b575cc49e sqlitebrowser 3.9.1
v3.9.1 is the last version which support Qt 4. Qt 5.x is required
from v3.10.0 onwards.
Need something other than GCC 4.0/4.2 on Tiger.
Compiles fine on Leopard with GCC 4.2.
2025-09-08 02:10:44 +01:00

27 lines
775 B
Ruby

class Sqlitebrowser < Formula
desc "Visual tool to create, design, and edit SQLite databases"
homepage "http://sqlitebrowser.org"
url "https://github.com/sqlitebrowser/sqlitebrowser/archive/refs/tags/v3.9.1.tar.gz"
sha256 "d0d2e06a69927ba1d0b955f3261ce70c61befc5bd5ddaa06752dae8bb4219ed8"
head "https://github.com/sqlitebrowser/sqlitebrowser.git"
bottle do
cellar :any
end
# GCC 4.0 C++ support is lacking.
fails_with :gcc_4_0
# GCC 4.2 on Tiger struggles with 10.4u SDK "error: stdarg.h: No such file or directory"
fails_with :gcc if MacOS.version == :tiger
depends_on "qt"
depends_on "cmake" => :build
depends_on "sqlite" => "with-functions"
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
end