mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* crew: cache builds * Initial Gnome43/Libjpeg_turbo/ICU72 commits squashed * fix lint error * update packages.yaml * Vulkan packages -> 1.3.231 * add packages to packages.yaml * add more to packages.yaml * update libxshmfence * pixman -> 0.42.0 * libpciaccess -> 0.17.0 * update libxau * update libxfont2 * update libxcb * many updates * updates * baobab updates * add libshumate * update gnome_calculator * update dfonf_editor * update evince * add libpanel * update libpeas * update libgweather * update libgudev gnome_maps * update upower and libxfixes * style update * update gnome_session * update gnome_settings_daemon * temporary partial webkit2gtk upload * update packages.yaml * fix ruby file perms * update folks * move webkit2gtk_4 back to 2.38.0 * update icu4c, change webkit2gtk build * add updated webkit2gtk_5 file * update js102 * add x86 builds for webkit2gtk_4 * add mozjs exclusion to icu4c postinstall * add builds for evolution_data_server * update gemacs * update webkit2gtk packages * update emacs * add folks fix * loosen icu4c postinstall check * rebuild libportal with gtk3 * update epiphany * openssh -> 9.1 * add x86 webkit2gtk_4 binaries * add postinstall to webkit2gtk_4 * update svt_av1 * update libavif * linting fix * curl -> 7.86.0 * git -> 2.38.1 * add postinstall to gnome_console * add gcc10 for armv7l * add gcc10 binaries * lint gcc10 * rebase fix * Add WIP webkit2gtk builds * add back postintall to gnome_maps * gstreamer version change * cleanup geocode_glib, and fix gnome_maps depend * s/@_ver.to_s/@_ver/ * add mpv build and gtk4 -> 4.8.2 * bump curl version to 7.86.0 * remove other version binaries from webkit2gtk builds * add i686 build * adjust compatibility for gemacs... for now. * Add code to sommelier to adjust for whether scripts are sourced or run. * make -> 4.4 * bump version
55 lines
1.8 KiB
Ruby
55 lines
1.8 KiB
Ruby
require 'package'
|
|
|
|
class Gjs < Package
|
|
description 'Javascript Bindings for GNOME'
|
|
@_ver = '1.74.0'
|
|
@_ver_prelastdot = @_ver.rpartition('.')[0]
|
|
version @_ver
|
|
license 'MIT and MPL-1.1, LGPL-2+ or GPL-2+'
|
|
compatibility 'all'
|
|
source_url 'https://gitlab.gnome.org/GNOME/gjs.git'
|
|
git_hashtag version
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gjs/1.74.0_armv7l/gjs-1.74.0-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gjs/1.74.0_armv7l/gjs-1.74.0-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gjs/1.74.0_i686/gjs-1.74.0-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gjs/1.74.0_x86_64/gjs-1.74.0-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: '06cec6c34dc4656735a526af6d74d02452dd34de1654c46efd327a5c80932982',
|
|
armv7l: '06cec6c34dc4656735a526af6d74d02452dd34de1654c46efd327a5c80932982',
|
|
i686: 'c1b996c78fd6ab6ca1419101d1e63cff1726c458275bac1e2084ae40f3a7dfad',
|
|
x86_64: 'decdaf546dac3ccee260617d756619892cd443f6b42c19b56318feae913cc31e'
|
|
})
|
|
|
|
depends_on 'cairo' # R
|
|
depends_on 'dbus' => :build
|
|
depends_on 'dconf' => :build
|
|
depends_on 'glib' # R
|
|
depends_on 'gobject_introspection' # R
|
|
depends_on 'js102'
|
|
depends_on 'libx11' # R
|
|
depends_on 'gcc' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'harfbuzz' # R
|
|
depends_on 'libffi' # R
|
|
gnome
|
|
|
|
def self.build
|
|
system "meson #{CREW_MESON_OPTIONS} \
|
|
-Dinstalled_tests=false \
|
|
-Dskip_dbus_tests=true \
|
|
-Dskip_gtk_tests=true \
|
|
-Dprofiler=disabled \
|
|
-Dreadline=disabled \
|
|
builddir"
|
|
system 'meson configure builddir'
|
|
system 'ninja -C builddir'
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
|
end
|
|
end
|