Commit 4aa964ba authored by satmandu's avatar satmandu Committed by GitHub

glib: use CREW_MESON_OPTIONS (#4639)

* glib: use CREW_MESON_OPTIONS

* Bump version

* update to 2.67
parent f6ab2d96
...@@ -3,34 +3,33 @@ require 'package' ...@@ -3,34 +3,33 @@ require 'package'
class Glib < Package class Glib < Package
description 'GLib provides the core application building blocks for libraries and applications written in C.' description 'GLib provides the core application building blocks for libraries and applications written in C.'
homepage 'https://developer.gnome.org/glib' homepage 'https://developer.gnome.org/glib'
version '2.66.3' version '2.67.0'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/sources/glib/2.66/glib-2.66.3.tar.xz' source_url 'https://download.gnome.org/sources/glib/2.67/glib-2.67.0.tar.xz'
source_sha256 '79f31365a99cb1cc9db028625635d1438890702acde9e2802eae0acebcf7b5b1' source_sha256 '0b15e57ab6c2bb90ced4e24a1b0d8d6e9a13af8a70266751aa3a45baffeed7c1'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.66.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.66.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.66.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.66.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1450f0c7ef950948050399c1f451e6cc5b59b1f6c5c451914e5a131106bac578',
armv7l: '1450f0c7ef950948050399c1f451e6cc5b59b1f6c5c451914e5a131106bac578',
i686: '1d02625673d3e8d8b7bbc18bbac153d4c1a39058427df6aa0dbf1d1a38ea20bf',
x86_64: '1565316bfa555fb78a492202678c7715bf458dfc68da0d22b9e78f36ca16421e',
})
depends_on 'pcre2'
depends_on 'libffi'
depends_on 'gettext'
depends_on 'shared_mime_info'
depends_on 'util_linux' depends_on 'util_linux'
depends_on 'six' depends_on 'six'
ENV['CFLAGS'] = "-fno-stack-protector"
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} -Dinternal_pcre=true -Diconv=external builddir" system "meson #{CREW_MESON_OPTIONS} \
system "ninja -C builddir" -Dselinux=disabled \
-Dsysprof=enabled \
-Dman=false \
-Dgtk_doc=false \
-Diconv=external \
-Dinternal_pcre=true \
build"
system "meson configure build"
system "ninja -C build"
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment