mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Edge 127.0.2651.98-1 => 127.0.2651.105-1 * Adjust Unit Test workflow to account for min_glibc. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust Unit Test workflow to account for min_glibc: take 2. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust min_glibc of Google Chrome packages to 2.28, adjust unit test runner to use higher milestone ChromeOS based containers when appropriate. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust unit test workflow to set LD_LIBRARY_PATH in bash path. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
36 lines
1.1 KiB
Ruby
36 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Google_chrome_beta < Package
|
|
@update_channel = 'beta'
|
|
description 'Google Chrome is a fast, easy to use, and secure web browser. (Beta Channel)'
|
|
homepage 'https://www.google.com/chrome/'
|
|
version '128.0.6613.18-1'
|
|
license 'google-chrome'
|
|
compatibility 'x86_64'
|
|
min_glibc '2.28'
|
|
source_url "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-#{@update_channel}/google-chrome-#{@update_channel}_#{@version}_amd64.deb"
|
|
source_sha256 'ca9bce2d3c8b6b2e092f28a73af01e7d95de093108ab40609e0390d0dd1a4ba3'
|
|
|
|
depends_on 'nss'
|
|
depends_on 'cairo'
|
|
depends_on 'gtk3'
|
|
depends_on 'expat'
|
|
depends_on 'cras'
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
|
|
FileUtils.mv 'usr/share', CREW_DEST_PREFIX
|
|
FileUtils.mv "opt/google/chrome-#{@update_channel}", "#{CREW_DEST_PREFIX}/share"
|
|
|
|
FileUtils.ln_s "../share/chrome/google-chrome-#{@update_channel}", "#{CREW_DEST_PREFIX}/bin/google-chrome-#{@update_channel}"
|
|
end
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'google-chrome-#{@update_channel}' to get started.\n".lightblue
|
|
end
|
|
end
|