-
Notifications
You must be signed in to change notification settings - Fork 24
/
libgda.rb
58 lines (51 loc) · 2.15 KB
/
libgda.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
class Libgda < Formula
desc "Provides unified data access to the GNOME project"
homepage "http://www.gnome-db.org/"
url "https://download.gnome.org/sources/libgda/5.2/libgda-5.2.4.tar.xz"
sha256 "2cee38dd583ccbaa5bdf6c01ca5f88cc08758b9b144938a51a478eb2684b765e"
revision 2
bottle do
sha256 sierra: "e165830cedc3a0955989746145b310cc03fe96b84f18b33c4c3f2b827bdd473c"
sha256 el_capitan: "7809bb97ebcd233a740c1e5b5cb0f291a902639a6479d5e53fdcfedd928b6582"
sha256 yosemite: "01e46f8673fcf3fad0bccdd70e9bd6fac08f0f5b7035e85318a3add4db329a9b"
end
bottle do
rebuild 1
root_url "https://github.com/Shopify/homebrew-shopify/releases/download/bag-of-holding"
sha256 catalina: "fe62586e3751f33162cdc975ac027f27a89743fb6299a7ae27dfdfa91348b357"
end
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "itstool" => :build
depends_on "gettext"
depends_on "glib"
depends_on "readline"
depends_on "libgcrypt"
depends_on "sqlite"
depends_on "openssl"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--disable-binreloc",
"--disable-gtk-doc",
"--without-java"
system "make"
system "make", "install"
end
if MacOS.version >= :high_sierra
patch do
url "https://raw.githubusercontent.com/bai/formula-patches/a089089f6657bec65cad85dd2a4f105027682db6/libgda/0001-Convert-files-to-Unicode.patch"
sha256 "2e25ee9ca86b3767485b26b19317e5188641e2dbfa6202bb204b16e332cca3a4"
end
patch do
url "https://raw.githubusercontent.com/bai/formula-patches/e248bb75e2d481d312f31dccf8b5acbfee9adbec/libgda/glib-2.54-ftbfs.patch"
sha256 "73f65147b1d7d3b78982c9ac562816e855db1b20d7ff346d9fd1ecb013864afc"
end
patch do
url "https://raw.githubusercontent.com/bai/formula-patches/53ea4e47b0d799227e1de832f7af02038ed1499c/libgda/mysqlpatch.patch"
sha256 "3b49117a8671ee6c8a599873a95f692b76720635b1c991f107540a84bc355abc"
end
end
end