gtk+3 3.24.11

Closes #43840.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Tom Schoonjans 2019-09-04 07:39:57 +01:00 committed by FX Coudert
parent f11b127080
commit 5c261f1411

View file

@ -1,8 +1,8 @@
class Gtkx3 < Formula
desc "Toolkit for creating graphical user interfaces"
homepage "https://gtk.org/"
url "https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.10.tar.xz"
sha256 "35a8f107e2b90fda217f014c0c15cb20a6a66678f6fd7e36556d469372c01b03"
url "https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.11.tar.xz"
sha256 "dba7658d0a2e1bfad8260f5210ca02988f233d1d86edacb95eceed7eca982895"
bottle do
rebuild 1
@ -25,9 +25,6 @@ class Gtkx3 < Formula
depends_on "libepoxy"
depends_on "pango"
# submitted upstream as https://gitlab.gnome.org/GNOME/gtk/merge_requests/983
patch :DATA
def install
args = %W[
--prefix=#{prefix}
@ -122,28 +119,3 @@ class Gtkx3 < Formula
system "./test"
end
end
__END__
diff --git a/libgail-util/meson.build b/libgail-util/meson.build
index 90fe93c..82c8aa1 100644
--- a/libgail-util/meson.build
+++ b/libgail-util/meson.build
@@ -28,4 +28,5 @@ libgailutil = shared_library('gailutil-3',
'-DGTK_DISABLE_DEPRECATED',
] + common_cflags,
link_args: gailutil_link_args,
+ darwin_versions: ['1', '1.0'],
install: true)
diff --git a/meson.build b/meson.build
index c6f43d5..0f818ee 100644
--- a/meson.build
+++ b/meson.build
@@ -121,7 +121,8 @@ else
gail_library_version = '0.0.0'
endif
-gtk_osxversions = [(100 * gtk_minor_version) + 1, '@0@.@1@.0'.format((100 * gtk_minor_version) + 1, gtk_micro_version)]
+osx_current = gtk_binary_age - gtk_interface_age + 1
+gtk_osxversions = [osx_current, '@0@.@1@.0'.format(osx_current, gtk_interface_age)]
gtk_api_version = '@0@.0'.format(gtk_major_version)