Commit 211766b4 authored by lovedheart's avatar lovedheart Committed by Ed Reel

[glib] upgrade to 2.56.0 with pre-built binaries (#2175)

parent 0041d5f6
...@@ -3,24 +3,23 @@ require 'package' ...@@ -3,24 +3,23 @@ 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.54.3' version '2.56.0'
source_url 'https://ftp.gnome.org/pub/gnome/sources/glib/2.54/glib-2.54.3.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.0.tar.xz'
source_sha256 '963fdc6685dc3da8e5381dfb9f15ca4b5709b28be84d9d05a9bb8e446abac0a8' source_sha256 'ecef6e17e97b8d9150d0e8a4b3edee1ac37331213b8a2a87a083deea408a0fc7'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.54.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.56.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.54.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.56.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.54.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.56.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.54.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glib-2.56.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '533eee98c648b7af3086b3b5bd3afc59c97f937f82e49fe0fbbba682401f4ca3', aarch64: '422ea16181d61fe0b387291ed43c687309dedaa4e71eb940b0bff3ace1694156',
armv7l: '533eee98c648b7af3086b3b5bd3afc59c97f937f82e49fe0fbbba682401f4ca3', armv7l: '422ea16181d61fe0b387291ed43c687309dedaa4e71eb940b0bff3ace1694156',
i686: 'd016992203d3c04ed4330a2bdbbb740d5fb6a2bd1d79a18d7fd4bcd351fd518d', i686: '14fc4856cf169052c5a16fced1e121d1e8ec6fd0aaece663d4a3bea35c9fcdf1',
x86_64: 'e187d92566f91d8cf52a4896a6f21b1c612c1e2c84d77d33837b80e64e5ffba3', x86_64: '81f7387d0a0bda851dd8df7a09c8216f39f8813fd2824a134c4942a58f86fb84',
}) })
depends_on 'libffi' depends_on 'libffi'
depends_on 'gettext' depends_on 'gettext'
depends_on 'util_linux' depends_on 'util_linux'
...@@ -28,11 +27,16 @@ class Glib < Package ...@@ -28,11 +27,16 @@ class Glib < Package
depends_on 'python27' depends_on 'python27'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} --with-pcre" system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-pcre"
system "make" system "make"
end end
def self.install def self.install
system "pip install six"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "pip uninstall --yes six"
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