template-glib 3.34.0
Closes #44088. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
7801714d36
commit
341f95ab4f
1 changed files with 2 additions and 41 deletions
|
@ -1,9 +1,8 @@
|
|||
class TemplateGlib < Formula
|
||||
desc "GNOME templating library for GLib"
|
||||
homepage "https://gitlab.gnome.org/GNOME/template-glib"
|
||||
url "https://download.gnome.org/sources/template-glib/3.32/template-glib-3.32.0.tar.xz"
|
||||
sha256 "39a334f5db404fa8b225224766684f2f63f5ec4cf4e971cfc513f1db35e81fbc"
|
||||
revision 1
|
||||
url "https://download.gnome.org/sources/template-glib/3.34/template-glib-3.34.0.tar.xz"
|
||||
sha256 "216bef6ac3607666b8ca72b936467f7020ce6421c02755c301d079576c9c3dfd"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -20,9 +19,6 @@ class TemplateGlib < Formula
|
|||
depends_on "glib"
|
||||
depends_on "gobject-introspection"
|
||||
|
||||
# submitted upstream at https://gitlab.gnome.org/GNOME/template-glib/merge_requests/5
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
mkdir "build" do
|
||||
system "meson", "--prefix=#{prefix}", "-Dwith_vapi=false", ".."
|
||||
|
@ -67,38 +63,3 @@ class TemplateGlib < Formula
|
|||
system "./test"
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 050c202..d705657 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -26,6 +26,8 @@ current = template_glib_version_minor * 100 + template_glib_version_micro - temp
|
||||
revision = template_glib_interface_age
|
||||
libversion = '@0@.@1@.@2@'.format(soversion, current, revision)
|
||||
|
||||
+darwin_versions = [current + 1, '@0@.@1@'.format(current + 1, revision)]
|
||||
+
|
||||
config_h = configuration_data()
|
||||
config_h.set_quoted('GETTEXT_PACKAGE', 'libtemplate_glib')
|
||||
config_h.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index 5adef72..b3eb57a 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -145,10 +145,11 @@ libtemplate_glib = library(
|
||||
'template_glib-' + apiversion,
|
||||
libtemplate_glib_sources,
|
||||
|
||||
- dependencies: libtemplate_glib_deps,
|
||||
- soversion: soversion,
|
||||
- version: libversion,
|
||||
- install: true,
|
||||
+ dependencies: libtemplate_glib_deps,
|
||||
+ soversion: soversion,
|
||||
+ version: libversion,
|
||||
+darwin_versions: darwin_versions,
|
||||
+ install: true,
|
||||
)
|
||||
|
||||
libtemplate_glib_dep = declare_dependency(
|
||||
|
|
Loading…
Reference in a new issue