Commit edc27858 authored by lovedheart's avatar lovedheart Committed by Ed Reel

[gtk3] Uprade to version 3.22.29, minor changes (#2128)

add command to generate missing gschemas.compiled
parent 9d396717
......@@ -3,32 +3,40 @@ require 'package'
class Gtk3 < Package
description 'Gtk3 is a cross-platform widget toolkit for creating graphical user interfaces.'
homepage 'https://developer.gnome.org/gtk3/3.0/'
version '3.22.26-0'
source_url 'https://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.26.tar.xz'
source_sha256 '61eef0d320e541976e2dfe445729f12b5ade53050ee9de6184235cb60cd4b967'
version '3.22.29'
source_url 'https://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.29.tar.xz'
source_sha256 'a07d64b939fcc034a066b7723fdf9b24e92c9cfb6a8497593f3471fe56fbbbf8'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.26-0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.26-0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.26-0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.26-0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.29-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.29-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.29-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtk3-3.22.29-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd28da624022f0b307f9ed465c8080822384fd0f487b0737e93e40d7fa6c66ca8',
armv7l: 'd28da624022f0b307f9ed465c8080822384fd0f487b0737e93e40d7fa6c66ca8',
i686: '19c2cd6f3f3f5dac6bf26b378fed28e090aa96277e386f9dc3ada77fdd8cbc93',
x86_64: 'e07a18dfb302dbfbf2e5c081873f48ac8d32757238fc4f9ef7060eff307ff90a',
aarch64: '24f0c109b0d19262a38b8a9e361b2a6e6a17516d21fee207ae7cbf957c85bee5',
armv7l: '24f0c109b0d19262a38b8a9e361b2a6e6a17516d21fee207ae7cbf957c85bee5',
i686: 'f8569ad221aa63560fa9bfb1db99ec399156053a6e9bcf0efdcedcb6912be0a7',
x86_64: '449303430fc73dfa177ef7880a02b3972cc65efbbda1256c598710330e9a6bf7',
})
depends_on 'gdk_pixbuf'
depends_on 'libepoxy'
depends_on 'graphene'
depends_on 'libxkbcommon'
depends_on 'at_spi2_atk'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-broadway-backend",
"--enable-x11-backend",
"--enable-wayland-backend"
system "make"
end
def self.install
......@@ -36,4 +44,8 @@ class Gtk3 < Package
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "pip uninstall --yes six"
end
def self.postinstall
system "glib-compile-schemas #{CREW_DEST_PREFIX}/share/glib-2.0/schemas" # generate gschemas.compiled
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