mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Fonts package updates (w/o reworking crew) + qemu -> 7.0 (also update qemu deps) (#7002)
* cp over packages from PR6938 * update glib * update libsdl2 * Add WIP qemu package * move patch to patch section * update libusb * update qemu patch * add qemu binaries
This commit is contained in:
@@ -3,7 +3,7 @@ require 'package'
|
||||
class Glib < Package
|
||||
description 'GLib provides the core application building blocks for libraries and applications written in C.'
|
||||
homepage 'https://developer.gnome.org/glib'
|
||||
@_ver = '2.71.3'
|
||||
@_ver = '2.72.1'
|
||||
@_ver_prelastdot = @_ver.rpartition('.')[0]
|
||||
version @_ver
|
||||
license 'LGPL-2.1'
|
||||
@@ -12,16 +12,16 @@ class Glib < Package
|
||||
git_hashtag @_ver
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.71.3_armv7l/glib-2.71.3-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.71.3_armv7l/glib-2.71.3-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.71.3_i686/glib-2.71.3-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.71.3_x86_64/glib-2.71.3-chromeos-x86_64.tar.zst'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.72.1_armv7l/glib-2.72.1-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.72.1_armv7l/glib-2.72.1-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.72.1_i686/glib-2.72.1-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.72.1_x86_64/glib-2.72.1-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'f790de63e82f702d061f2de152025f3f76294165c11b1412b914ef197876eed8',
|
||||
armv7l: 'f790de63e82f702d061f2de152025f3f76294165c11b1412b914ef197876eed8',
|
||||
i686: '9113fd3b36bbeba475fe1d02c30e3e5da480c1c0de9808a3ad3f0d4f4c2fe890',
|
||||
x86_64: 'd2fc753604c45fc397ebceadefca2b9db3aea42384c70237688df6d33e5b60d8'
|
||||
aarch64: '2c56eed09d770f2dcf68f47bdd26923ae00306cb3b8c0cbed41f0f819d582d35',
|
||||
armv7l: '2c56eed09d770f2dcf68f47bdd26923ae00306cb3b8c0cbed41f0f819d582d35',
|
||||
i686: '8b73a5befbfc7b7c2e2e88a18f684ae9c5005182aff3f19ec05e1cc491a7f65e',
|
||||
x86_64: 'e26b9b49b5bfcbfc0188fd32c69d02ed9345633011b3ed56fa803d55ea5a65b1'
|
||||
})
|
||||
|
||||
depends_on 'elfutils' # R
|
||||
@@ -33,6 +33,8 @@ class Glib < Package
|
||||
depends_on 'util_linux' # R
|
||||
depends_on 'zlibpkg' # R
|
||||
no_env_options
|
||||
patchelf
|
||||
gnome
|
||||
|
||||
def self.build
|
||||
system "meson #{CREW_MESON_OPTIONS} \
|
||||
@@ -47,8 +49,4 @@ class Glib < Package
|
||||
def self.install
|
||||
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
end
|
||||
|
||||
def self.postinstall
|
||||
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user