Gnome43/Libjpeg_turbo/ICU72.1 (#7508)

* 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
This commit is contained in:
Satadru Pramanik
2022-11-01 13:23:38 -04:00
committed by GitHub
parent 38021ef867
commit 194b87b188
199 changed files with 5069 additions and 2479 deletions

View File

@@ -1188,7 +1188,11 @@ def shrink_dir(dir)
# Copying in the ThreadPoolExecutor loop fails non-deterministically # Copying in the ThreadPoolExecutor loop fails non-deterministically
@execfiles.each_line do |execfilecp| @execfiles.each_line do |execfilecp|
execfilecp.slice! '.' execfilecp.slice! '.'
next if execfilecp.chomp.empty?
execfilecp = dir + execfilecp.chomp execfilecp = dir + execfilecp.chomp
next unless File.exist?(execfilecp)
FileUtils.cp execfilecp.to_s, "#{execfilecp}-crewupxtmp" FileUtils.cp execfilecp.to_s, "#{execfilecp}-crewupxtmp"
end end
begin begin

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew # Defines common constants used in different parts of crew
CREW_VERSION = '1.27.0' CREW_VERSION = '1.28.0'
# kernel architecture # kernel architecture
KERN_ARCH = `uname -m`.chomp KERN_ARCH = `uname -m`.chomp

View File

@@ -3,34 +3,33 @@ require 'package'
class Adwaita_icon_theme < Package class Adwaita_icon_theme < Package
description 'Theme consisting of a set of icons for GTK+' description 'Theme consisting of a set of icons for GTK+'
homepage 'https://gitlab.gnome.org/GNOME/adwaita-icon-theme' homepage 'https://gitlab.gnome.org/GNOME/adwaita-icon-theme'
version '42.0' version '43'
license 'LGPL-3 and CC-BY-SA-4.0' license 'LGPL-3 and CC-BY-SA-4.0'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/core/42/42.2/sources/adwaita-icon-theme-42.0.tar.xz' source_url 'https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git'
source_sha256 '5e85b5adc8dee666900fcaf271ba717f7dcb9d0a03d96dae08f9cbd27e18b1e0' git_hashtag version
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/42.0_armv7l/adwaita_icon_theme-42.0-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/43_armv7l/adwaita_icon_theme-43-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/42.0_armv7l/adwaita_icon_theme-42.0-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/43_armv7l/adwaita_icon_theme-43-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/42.0_i686/adwaita_icon_theme-42.0-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/43_i686/adwaita_icon_theme-43-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/42.0_x86_64/adwaita_icon_theme-42.0-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/adwaita_icon_theme/43_x86_64/adwaita_icon_theme-43-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'c6dd539659f98a4f83247943715aef136002aa590c4e6e558c89762c60fafefc', aarch64: '4173326c11e0dcd6aa69623d5610fe10bb3dcfc40c689c62d0a4d85d7ede1aa7',
armv7l: 'c6dd539659f98a4f83247943715aef136002aa590c4e6e558c89762c60fafefc', armv7l: '4173326c11e0dcd6aa69623d5610fe10bb3dcfc40c689c62d0a4d85d7ede1aa7',
i686: 'f13d05ff2696a2fd7488a7dc4e4e78ad98fe8d7bcf1d63c314e533610a071b6d', i686: '25345da36faad61524618f74072558be4c6d136ba79ba18fa53844a50d37323d',
x86_64: '862aa3d398d4891c8f6923d6c9c2283ebfa9438647a1a25e9172532433db52fb' x86_64: '31047bf3ad759302707bede40ce53a91ee970be0acbad94e39870fbef2342ab4'
}) })
gnome
no_patchelf
depends_on 'cantarell_fonts' depends_on 'cantarell_fonts'
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'librsvg' depends_on 'librsvg'
depends_on 'gdk_pixbuf' depends_on 'gdk_pixbuf'
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'xdg_base' depends_on 'xdg_base'
gnome
no_patchelf
def self.build def self.build
# Need to make sure svg support is properly loaded otherwise build fails. # Need to make sure svg support is properly loaded otherwise build fails.

View File

@@ -1,25 +1,24 @@
require 'package' require 'package'
class At_spi2_core < Package class At_spi2_core < Package
description 'This is over DBus; toolkit widgets provide their content to screen readers such as Orca' description 'This is over DBus, tookit widgets provide their content to screen readers such as Orca'
homepage 'http://www.freedesktop.org/' homepage 'http://www.freedesktop.org/'
version '2.39.91' version '2.46.0'
license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/core/40/40.rc/sources/at-spi2-core-2.39.91.tar.xz' source_url 'https://gitlab.gnome.org/GNOME/at-spi2-core.git'
source_sha256 '4f71d3d208736adfe004102b4caca0ad70a7e3986d9bcd1661d7d824e10bbfb3' git_hashtag "AT_SPI2_CORE_#{version.gsub('.', '_')}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.39.91_armv7l/at_spi2_core-2.39.91-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.46.0_armv7l/at_spi2_core-2.46.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.39.91_armv7l/at_spi2_core-2.39.91-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.46.0_armv7l/at_spi2_core-2.46.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.39.91_i686/at_spi2_core-2.39.91-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.46.0_i686/at_spi2_core-2.46.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.39.91_x86_64/at_spi2_core-2.39.91-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/at_spi2_core/2.46.0_x86_64/at_spi2_core-2.46.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '7a9ab15123727d6036c8b30b9a35ab52f71745a8a4edce0fe80039216c2649b1', aarch64: 'e41f66f60dc1cf250c5261fbb273a28235de94f07eb7875b47e7e911952f07f3',
armv7l: '7a9ab15123727d6036c8b30b9a35ab52f71745a8a4edce0fe80039216c2649b1', armv7l: 'e41f66f60dc1cf250c5261fbb273a28235de94f07eb7875b47e7e911952f07f3',
i686: 'd29109b831f23f0412f79c174fcd0b0c13e69ffdccd86d2bf7663601a4252fd6', i686: '84715693ae536e4971ed770b0c8b4dfe3ba9b01672c18608ba962c7acd225318',
x86_64: '7ae8a3cca653f06dc1efb1945117bd0fbab719462b3bdbc385057664f25acfc2' x86_64: '34da69bd9bc905ca3cd2fcd57bb2f2acfdb91ce7cc0fb48dd2bb02c8acada64b'
}) })
depends_on 'libxtst' depends_on 'libxtst'
@@ -28,9 +27,20 @@ class At_spi2_core < Package
depends_on 'gobject_introspection' depends_on 'gobject_introspection'
depends_on 'libxcb' depends_on 'libxcb'
depends_on 'gtk_doc' depends_on 'gtk_doc'
depends_on 'atk' # R
depends_on 'at_spi2_atk' # R
depends_on 'glibc' # R
depends_on 'libxext' # R
depends_on 'libx11' # R
depends_on 'libxi' # R
depends_on 'gcc' # R
conflicts_ok # Doesn't actually conflict with atk
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} builddir" system "meson #{CREW_MESON_OPTIONS} \
builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'
end end

View File

@@ -3,35 +3,39 @@ require 'package'
class Atk < Package class Atk < Package
description 'ATK provides the set of accessibility interfaces that are implemented by other toolkits and applications' description 'ATK provides the set of accessibility interfaces that are implemented by other toolkits and applications'
homepage 'https://developer.gnome.org/atk' homepage 'https://developer.gnome.org/atk'
version '2.36' version '2.38.0'
license 'LGPL-2+'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/sources/atk/2.36/atk-2.36.0.tar.xz' license 'LGPL-2+'
source_sha256 'fb76247e369402be23f1f5c65d38a9639c1164d934e40f6a9cf3c9e96b652788' source_url 'https://gitlab.gnome.org/GNOME/atk.git'
git_hashtag version
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.36_armv7l/atk-2.36-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.38.0_armv7l/atk-2.38.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.36_armv7l/atk-2.36-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.38.0_armv7l/atk-2.38.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.36_i686/atk-2.36-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.38.0_i686/atk-2.38.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.36_x86_64/atk-2.36-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atk/2.38.0_x86_64/atk-2.38.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '59b8ccc0c669036ac52af1ce1ae2935f003b373c8fad8ce6825ded95bc1b2a29', aarch64: 'f80a8f01834b6fa38b39e89167cae48022df2923294e0c4878d5c6f71cee1e30',
armv7l: '59b8ccc0c669036ac52af1ce1ae2935f003b373c8fad8ce6825ded95bc1b2a29', armv7l: 'f80a8f01834b6fa38b39e89167cae48022df2923294e0c4878d5c6f71cee1e30',
i686: 'e96cb35a8e5855e32a7ab39f7edf67f7dc19eed74c0a3a63abf4d2ffb4b3db67', i686: 'ea99101c13aa53d25f1279de503718c97371b846b4b4fa46a9baf88189455040',
x86_64: '6e8cf2d268ac84d9cccb189167449882aa19489093dacedf6697165049d3fa58' x86_64: '2753924328d479e845521c4cdd8ab958537c7a1f63107bda44a6937d1d330419'
}) })
depends_on 'gobject_introspection' depends_on 'gobject_introspection'
depends_on 'py3_six' => :build depends_on 'glib' # R
depends_on 'glibc' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_FNO_LTO_OPTIONS} build" system "meson #{CREW_MESON_OPTIONS} \
system 'meson configure build' builddir"
system 'ninja -C build' system 'meson configure builddir'
system 'mold -run samu -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

View File

@@ -3,34 +3,38 @@ require 'package'
class Atkmm < Package class Atkmm < Package
description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.' description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.'
homepage 'https://www.gtkmm.org/' homepage 'https://www.gtkmm.org/'
version '2.28.1' version '2.28.3'
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.28/atkmm-2.28.1.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.28/atkmm-2.28.3.tar.xz'
source_sha256 '116876604770641a450e39c1f50302884848ce9cc48d43c5dc8e8efc31f31bad' source_sha256 '7c2088b486a909be8da2b18304e56c5f90884d1343c8da7367ea5cd3258b9969'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.1_armv7l/atkmm-2.28.1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.3_armv7l/atkmm-2.28.3-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.1_armv7l/atkmm-2.28.1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.3_armv7l/atkmm-2.28.3-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.1_i686/atkmm-2.28.1-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.3_i686/atkmm-2.28.3-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.1_x86_64/atkmm-2.28.1-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/atkmm/2.28.3_x86_64/atkmm-2.28.3-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '0f959c7e95bee71b46cb1b90902d0e7556d0914e56e1a4e7654c95166307dd8d', aarch64: 'bdf1a9c594244ba93b4ea98b38064cc67bfc6364d8edddf5135aaf53891fcc48',
armv7l: '0f959c7e95bee71b46cb1b90902d0e7556d0914e56e1a4e7654c95166307dd8d', armv7l: 'bdf1a9c594244ba93b4ea98b38064cc67bfc6364d8edddf5135aaf53891fcc48',
i686: '1b400ecf33d5dcbceaffee8608a06c155fcd57d118262569136552c1f11c96bc', i686: '411689a402104d3b0e91cc7edb4781ffa247fb2ec361bae6ab97d3c39398ff6e',
x86_64: '2aee40b687e3c021894d9d98719655de5bc703f5d397b4ee2f452accc45915cd' x86_64: '86017c202ce153168975d2bac00d6777961dc9af26ded6d058e8a70537400a8e'
}) })
depends_on 'atk' depends_on 'atk'
depends_on 'glibmm' depends_on 'glibmm'
depends_on 'gcc' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'glibmm_2_4' # R
depends_on 'libsigcplusplus' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
--default-library=both \ --default-library=both \
-Dbuild-documentation=false \ -Dbuild-documentation=false \
-Dbuild-demos=false \
-Dbuild-tests=false \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'

View File

@@ -3,31 +3,34 @@ require 'package'
class Babl < Package class Babl < Package
description 'babl is a dynamic, any to any, pixel format translation library.' description 'babl is a dynamic, any to any, pixel format translation library.'
homepage 'http://gegl.org/babl/' homepage 'http://gegl.org/babl/'
version '0.1.86' version '0.1.96'
license 'LGPL-3' license 'LGPL-3'
compatibility 'all' compatibility 'all'
source_url 'https://download.gimp.org/pub/babl/0.1/babl-0.1.86.tar.xz' source_url 'https://download.gimp.org/pub/babl/0.1/babl-0.1.96.tar.xz'
source_sha256 '0b3f595159ad1b216cd729c0504c3a5f6cf780c641f4dc63fc164f3c0382c8f0' source_sha256 '33673fe459a983f411245a49f81fd7f1966af1ea8eca9b095a940c542b8545f6'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.86_armv7l/babl-0.1.86-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.96_armv7l/babl-0.1.96-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.86_armv7l/babl-0.1.86-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.96_armv7l/babl-0.1.96-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.86_i686/babl-0.1.86-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.96_i686/babl-0.1.96-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.86_x86_64/babl-0.1.86-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/babl/0.1.96_x86_64/babl-0.1.96-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'b3eea8151c169644a29b812cf4c8c3e7bb686c21d2fe5b41b9e0d0b334010ebf', aarch64: '6b65d71f86b224ac122d23aa119b80564671f90e939fb7fb115eb846c72c68cc',
armv7l: 'b3eea8151c169644a29b812cf4c8c3e7bb686c21d2fe5b41b9e0d0b334010ebf', armv7l: '6b65d71f86b224ac122d23aa119b80564671f90e939fb7fb115eb846c72c68cc',
i686: '93e0a006b2c8c0ab5b2ff168bc7cbedc1b8da405c7875039a985b3e3b2ecafde', i686: '968658467e7d1d60e13fca412edff461a2416c2b33ffd800965b87fe687f281f',
x86_64: 'e81d6eb3d33030d6414cdb2c028794ae87e6cd945df4a546b4b172f39ec232e6' x86_64: '8bdfd586755b13ab480530bfe8170c4e59ee73eefef798c29cea8a9fd1da30ff'
}) })
depends_on 'gobject_introspection' => :build
depends_on 'lcms' depends_on 'lcms'
depends_on 'pango' depends_on 'pango'
depends_on 'glibc' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
builddir" -Denable-gir=true \
builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'
end end

View File

@@ -3,38 +3,48 @@ require 'package'
class Baobab < Package class Baobab < Package
description 'Disk Usage Analyzer (also known as baobab) scans folders, devices or remote locations and and reports on the disk space consumed by each element.' description 'Disk Usage Analyzer (also known as baobab) scans folders, devices or remote locations and and reports on the disk space consumed by each element.'
homepage 'https://wiki.gnome.org/Apps/DiskUsageAnalyzer' homepage 'https://wiki.gnome.org/Apps/DiskUsageAnalyzer'
version '3.35.1' version '43.0'
license 'GPL-2+ and FDL-1.1+' license 'GPL-2+ and FDL-1.1+'
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/gnome/sources/baobab/3.35/baobab-3.35.1.tar.xz' source_url 'https://gitlab.gnome.org/GNOME/baobab/-/archive/43.0/baobab-43.0.tar.bz2'
source_sha256 '1b6b5e533802a9293bd061cd0a49049664c310f814e39e40b310ae954342fe83' source_sha256 'dd1e2c65d4cee3d904d1c127ef700d07b8011a689cde2c3f9de04cdaa1f1df6c'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/3.35.1_armv7l/baobab-3.35.1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/43.0_armv7l/baobab-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/3.35.1_armv7l/baobab-3.35.1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/43.0_armv7l/baobab-43.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/3.35.1_i686/baobab-3.35.1-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/43.0_i686/baobab-43.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/3.35.1_x86_64/baobab-3.35.1-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/baobab/43.0_x86_64/baobab-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'c71f8f044a796984990f52b33953c22e9a197ca547123f65cad0b810bd04a53f', aarch64: 'bd42ba8dd8345a57b294eed20b6eed797c1a2c75fe87d86640548c8879fef8f2',
armv7l: 'c71f8f044a796984990f52b33953c22e9a197ca547123f65cad0b810bd04a53f', armv7l: 'bd42ba8dd8345a57b294eed20b6eed797c1a2c75fe87d86640548c8879fef8f2',
i686: '5eda1f765da12d94fdc6b8e9de37b62608edf215e7b07941b3328523a3ebb074', i686: 'f08fbace4f42d03a16f32260f654d37e363a77e85959dc9d6aa33fe13b8a451a',
x86_64: '0fac89defc368a81745bc7fae11dd16c9ea0008820a0bafabbf85d837426f9ae' x86_64: 'ee45c716382ad00b465ee704f10f266712239d7426098cdeb780f7a48a57b5e8'
}) })
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'gsettings_desktop_schemas' depends_on 'gsettings_desktop_schemas'
depends_on 'itstool' => :build depends_on 'itstool' => :build
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'sommelier' depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader'
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'pango' # R
depends_on 'gtk4' # R
depends_on 'libadwaita' # R
gnome gnome
def self.build def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir" system "meson #{CREW_MESON_OPTIONS} \
system 'ninja -C builddir' builddir"
system 'meson configure builddir'
system 'mold -run samu -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

View File

@@ -4,7 +4,7 @@ class Binutils < Package
description 'The GNU Binutils are a collection of binary tools.' description 'The GNU Binutils are a collection of binary tools.'
homepage 'https://www.gnu.org/software/binutils/' homepage 'https://www.gnu.org/software/binutils/'
@_ver = '2.39' @_ver = '2.39'
version @_ver.to_s version @_ver
license 'GPL-3+' license 'GPL-3+'
compatibility 'all' compatibility 'all'
source_url "https://ftpmirror.gnu.org/binutils/binutils-#{@_ver}.tar.xz" source_url "https://ftpmirror.gnu.org/binutils/binutils-#{@_ver}.tar.xz"

View File

@@ -3,24 +3,24 @@ require 'package'
class Cantarell_fonts < Package class Cantarell_fonts < Package
description 'Humanist sans serif font' description 'Humanist sans serif font'
homepage 'https://gitlab.gnome.org/GNOME/cantarell-fonts' homepage 'https://gitlab.gnome.org/GNOME/cantarell-fonts'
@_ver = '0.301' @_ver = '0.303.1'
version @_ver version @_ver
license 'OFL-1.1' license 'OFL-1.1'
compatibility 'all' compatibility 'all'
source_url "https://download.gnome.org/sources/cantarell-fonts/#{@_ver}/cantarell-fonts-#{@_ver}.tar.xz" source_url 'https://download.gnome.org/core/43/43.0/sources/cantarell-fonts-0.303.1.tar.xz'
source_sha256 '3d35db0ac03f9e6b0d5a53577591b714238985f4cfc31a0aa17f26cd74675e83' source_sha256 'f9463a0659c63e57e381fdd753cf1929225395c5b49135989424761830530411'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.301_armv7l/cantarell_fonts-0.301-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.303.1_armv7l/cantarell_fonts-0.303.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.301_armv7l/cantarell_fonts-0.301-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.303.1_armv7l/cantarell_fonts-0.303.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.301_i686/cantarell_fonts-0.301-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.303.1_i686/cantarell_fonts-0.303.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.301_x86_64/cantarell_fonts-0.301-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cantarell_fonts/0.303.1_x86_64/cantarell_fonts-0.303.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'fb8107d41047d58c73a5c3152ed6319d5ce841a73f1f5d90d6bfff0c988ce9d7', aarch64: '7a7bba136e7e7932c2b1c706b610707258c44b83656f54702d49a62b483c7e09',
armv7l: 'fb8107d41047d58c73a5c3152ed6319d5ce841a73f1f5d90d6bfff0c988ce9d7', armv7l: '7a7bba136e7e7932c2b1c706b610707258c44b83656f54702d49a62b483c7e09',
i686: 'de3629bda1254054edcc86a50f50bf06f2d6bb258af6331850bdb862d37066d5', i686: 'cb44f16e43dfbcc8b2486e16366871986e82feafba6ef8c8f6c17a3fae982de7',
x86_64: '412ea866e38936691a7a16dcdd460a684e925007ed7fbb964eeb4c7c9873a4e9' x86_64: '6640502ffa69e9826def172ad79941dac5dd281138dbe7b2ba7f502ab50f2fad'
}) })
depends_on 'appstream_glib' depends_on 'appstream_glib'

View File

@@ -3,7 +3,7 @@ require 'package'
class Curl < Package class Curl < Package
description 'Command line tool and library for transferring data with URLs.' description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.se/' homepage 'https://curl.se/'
version '7.85.0' version '7.86.0'
license 'curl' license 'curl'
compatibility 'all' compatibility 'all'
is_fake is_fake

View File

@@ -3,31 +3,31 @@ require 'package'
class Dav1d < Package class Dav1d < Package
description '**dav1d** is a new **AV1** cross-platform **d**ecoder, open-source, and focused on speed and correctness.' description '**dav1d** is a new **AV1** cross-platform **d**ecoder, open-source, and focused on speed and correctness.'
homepage 'https://code.videolan.org/videolan/dav1d' homepage 'https://code.videolan.org/videolan/dav1d'
@_ver = '0.9.0' @_ver = '1.0.0'
version @_ver version @_ver
license 'BSD-2' license 'BSD-2'
compatibility 'all' compatibility 'all'
source_url "https://get.videolan.org/dav1d/#{@_ver}/dav1d-#{@_ver}.tar.xz" source_url "https://get.videolan.org/dav1d/#{@_ver}/dav1d-#{@_ver}.tar.xz"
source_sha256 'cfae88e8067c9b2e5b96d95a7a00155c353376fe9b992a96b4336e0eab19f9f6' source_sha256 '51737db7e4897e599684f873a4725176dd3c779e639411d7c4fce134bb5ebb82'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/0.9.0_armv7l/dav1d-0.9.0-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/1.0.0_armv7l/dav1d-1.0.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/0.9.0_armv7l/dav1d-0.9.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/1.0.0_armv7l/dav1d-1.0.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/0.9.0_i686/dav1d-0.9.0-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/1.0.0_i686/dav1d-1.0.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/0.9.0_x86_64/dav1d-0.9.0-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dav1d/1.0.0_x86_64/dav1d-1.0.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '54fa3dba94781b03e2e8c59ac24f29b3d085490a36a8cc18e438febd18509c24', aarch64: '51476f6a5e6db4907ef7d670ba0d9d1f83f7ceee0a049fd17e98b2dc21358c15',
armv7l: '54fa3dba94781b03e2e8c59ac24f29b3d085490a36a8cc18e438febd18509c24', armv7l: '51476f6a5e6db4907ef7d670ba0d9d1f83f7ceee0a049fd17e98b2dc21358c15',
i686: '72577ec0e01a901a1c8d1f7c0d8b673f556a3bed9d70570755ebe9b726659ec2', i686: '0abd43b1a7df5cdd434a0f4375353a8c38fd0fe3fdd8c537da4527003219c692',
x86_64: '3f3f2a3756402e37bbde7d5d9f6374d2e183f2d9ce6ca49288718dc6a3746cb3' x86_64: '4fd10733af9b1806b2ec43188cdcbd03650975672fd63772a61d7840dc9b0669'
}) })
depends_on 'nasm' => :build depends_on 'nasm' => :build
depends_on 'glibc' # R
def self.build def self.build
system "env CC=clang CXX=clang++ C_LD=lld CC_LD=lld \ system "meson #{CREW_MESON_OPTIONS} \
meson #{CREW_MESON_OPTIONS} \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'

View File

@@ -3,29 +3,33 @@ require 'package'
class Dconf_editor < Package class Dconf_editor < Package
description 'A graphical viewer and editor of applications internal settings.' description 'A graphical viewer and editor of applications internal settings.'
homepage 'https://wiki.gnome.org/Apps/DconfEditor' homepage 'https://wiki.gnome.org/Apps/DconfEditor'
version '3.38.3' version '43.0'
license 'GPL-3+' license 'GPL-3+'
compatibility 'all' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/dconf-editor/-/archive/#{version}/dconf-editor-#{version}.tar.bz2" source_url "https://gitlab.gnome.org/GNOME/dconf-editor/-/archive/#{version}/dconf-editor-#{version}.tar.bz2"
source_sha256 '558408f2abac1129cd010be17db7df3b976d51206b17df603ee7aae4d0f6dd52' source_sha256 'e7b127b865f56c00b31759461d239af9f7b8098e715dcde3e06896cd84b544ad'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/3.38.3_armv7l/dconf_editor-3.38.3-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/43.0_armv7l/dconf_editor-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/3.38.3_armv7l/dconf_editor-3.38.3-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/43.0_armv7l/dconf_editor-43.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/3.38.3_i686/dconf_editor-3.38.3-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/43.0_i686/dconf_editor-43.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/3.38.3_x86_64/dconf_editor-3.38.3-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/dconf_editor/43.0_x86_64/dconf_editor-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'a54f46627b350bd3af6c5430e1a7d73a8318a33c132802d7898795156cb0f954', aarch64: '50ff5adc092e785f07f089818a7c0fd1fd6229ea1b0e07e978f45b2f92ecd99c',
armv7l: 'a54f46627b350bd3af6c5430e1a7d73a8318a33c132802d7898795156cb0f954', armv7l: '50ff5adc092e785f07f089818a7c0fd1fd6229ea1b0e07e978f45b2f92ecd99c',
i686: '094ab1f041159d42988818c3c4f2386e7839605c1cf542060d95e76d1c5268c8', i686: 'c49c6e7c477ab29922c8f240892a008725ae16adc81c4626a86e5955763cc6d1',
x86_64: '7467194d01f384f5dfcff57e190c5df92bef0e35be0a2fd257bb9255f3683cc4' x86_64: 'f4b41bd1febd465c57b534a8d04346e83a61b52904f0c9f8fbe7b88b28ace047'
}) })
depends_on 'dconf' depends_on 'dconf'
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'sommelier'
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'libhandy' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
@@ -40,8 +44,4 @@ class Dconf_editor < Package
def self.check def self.check
system 'ninja -C builddir test' system 'ninja -C builddir test'
end end
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end end

View File

@@ -3,26 +3,21 @@ require 'package'
class Devil < Package class Devil < Package
description 'Library for reading several different image formats' description 'Library for reading several different image formats'
homepage 'http://openil.sourceforge.net/' homepage 'http://openil.sourceforge.net/'
version '1.8.0-e342' version '1.8.0-6f3d5e9'
license 'LGPL-2.1' license 'LGPL-2.1'
compatibility 'all' compatibility 'x86_64'
source_url 'https://github.com/DentonW/DevIL/archive/e34284a7e07763769f671a74b4fec718174ad862.zip' source_url 'https://github.com/DentonW/DevIL.git'
source_sha256 '73728ff9f877b9247728ae46148866eea81092ccefb538a28640fe31b73d74ac' git_hashtag '6f3d5e9bc5d173f56060fc8e14bed35c8edcfdcc'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/devil/1.8.0-e342_armv7l/devil-1.8.0-e342-chromeos-armv7l.tar.xz', x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/devil/1.8.0-6f3d5e9_x86_64/devil-1.8.0-6f3d5e9-chromeos-x86_64.tar.zst'
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/devil/1.8.0-e342_armv7l/devil-1.8.0-e342-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/devil/1.8.0-e342_i686/devil-1.8.0-e342-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/devil/1.8.0-e342_x86_64/devil-1.8.0-e342-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '7d45e28698eb99159d98b97760d11ddecff0ac87412b7cf249fb7e188b320502', x86_64: '494336d49fee91201c74574356a2bf5c1e5bdc6e5d15bcc03decb99210286664'
armv7l: '7d45e28698eb99159d98b97760d11ddecff0ac87412b7cf249fb7e188b320502',
i686: 'c75491427f9a75e33b8bca9f33b24cef15afc869118298d41177d45d3a913f4b',
x86_64: '99de10866bec2ac80094d5f3ad8a4d906cb6597dd01a2cce7d408533488ce330'
}) })
depends_on 'freeglut' depends_on 'freeglut'
# arm does not build against current release of jasper
depends_on 'jasper' depends_on 'jasper'
depends_on 'lcms' depends_on 'lcms'
depends_on 'libglu' depends_on 'libglu'
@@ -32,18 +27,68 @@ class Devil < Package
depends_on 'libxi' depends_on 'libxi'
depends_on 'libxmu' depends_on 'libxmu'
depends_on 'mesa' depends_on 'mesa'
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.patch def self.patch
system "find -type f -exec sed -i 's,DESTINATION lib,DESTINATION lib#{CREW_LIB_SUFFIX},g' {} +" system "find -type f -exec sed -i 's,DESTINATION lib,DESTINATION lib#{CREW_LIB_SUFFIX},g' {} +"
# As per https://github.com/DentonW/DevIL/pull/102
@jasper_patch = <<~'JASPER_PATCH'
diff -NPaur a/DevIL/CMakeLists.txt b/DevIL/CMakeLists.txt
--- a/DevIL/CMakeLists.txt 2022-10-04 19:42:15.952513098 -0400
+++ b/DevIL/CMakeLists.txt 2022-10-04 19:51:20.745032984 -0400
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 2.6)
+set(CMAKE_CXX_STANDARD 11)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_CXX_EXTENSIONS OFF)
project(ImageLib)
# include our custom modules
diff -NPaur a/DevIL/src-IL/src/il_jp2.cpp b/DevIL/src-IL/src/il_jp2.cpp
--- a/DevIL/src-IL/src/il_jp2.cpp 2022-10-04 20:11:47.101076834 -0400
+++ b/DevIL/src-IL/src/il_jp2.cpp 2022-10-04 20:13:42.238279652 -0400
@@ -324,22 +324,30 @@
// see: https://github.com/OSGeo/gdal/commit/9ef8e16e27c5fc4c491debe50bf2b7f3e94ed334
// https://github.com/DentonW/DevIL/issues/90
#if defined(PRIjas_seqent)
+#if JAS_VERSION_MAJOR >= 3
+static long int iJp2_file_read(jas_stream_obj_t *obj, char *buf, long unsigned int cnt)
+#elif JAS_VERSION_MAJOR < 3
static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, unsigned cnt)
#else
static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, int cnt)
#endif
+#endif
{
obj;
return iread(buf, 1, cnt);
}
#if defined(JAS_INCLUDE_JP2_CODEC)
+#if JAS_VERSION_MAJOR >= 3
+static long int iJp2_file_write(jas_stream_obj_t *obj, const char *buf, long unsigned int cnt)
+#elif JAS_VERSION_MAJOR < 3
static int iJp2_file_write(jas_stream_obj_t *obj, const char *buf, unsigned cnt)
#elif defined(PRIjas_seqent)
static int iJp2_file_write(jas_stream_obj_t *obj, char *buf, unsigned cnt)
#else
static int iJp2_file_write(jas_stream_obj_t *obj, char *buf, int cnt)
#endif
+#endif
{
obj;
return iwrite(buf, 1, cnt);
JASPER_PATCH
File.write('jasper.patch', @jasper_patch)
system 'patch -Np1 -i jasper.patch'
end end
def self.build def self.build
Dir.mkdir 'DevIL/builddir' Dir.mkdir 'DevIL/builddir'
Dir.chdir 'DevIL/builddir' do Dir.chdir 'DevIL/builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -I#{CREW_PREFIX}/include/harfbuzz' \ system "cmake \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \ -G Ninja \
#{CREW_CMAKE_OPTIONS.sub(/--build=.*/, '')} \ #{CREW_CMAKE_OPTIONS.sub(/--build=.*/, '')} \
-DBUILD_SHARED_LIBS=ON \ -DBUILD_SHARED_LIBS=ON \

View File

@@ -6,34 +6,34 @@ require 'package'
class Djvulibre < Package class Djvulibre < Package
description 'Suite to create, manipulate and view DjVu déjà vu documents' description 'Suite to create, manipulate and view DjVu déjà vu documents'
homepage 'http://djvu.sourceforge.net/' homepage 'http://djvu.sourceforge.net/'
version '3.5.28' @_ver = '3.5.28'
version "#{@_ver}-1"
license 'GPL2' license 'GPL2'
compatibility 'all' compatibility 'all'
source_url "https://downloads.sourceforge.net/project/djvu/DjVuLibre/#{version}/djvulibre-#{version}.tar.gz" source_url "https://downloads.sourceforge.net/project/djvu/DjVuLibre/#{@_ver}/djvulibre-#{@_ver}.tar.gz"
source_sha256 'fcd009ea7654fde5a83600eb80757bd3a76998e47d13c66b54c8db849f8f2edc' source_sha256 'fcd009ea7654fde5a83600eb80757bd3a76998e47d13c66b54c8db849f8f2edc'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28_armv7l/djvulibre-3.5.28-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28-1_armv7l/djvulibre-3.5.28-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28_armv7l/djvulibre-3.5.28-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28-1_armv7l/djvulibre-3.5.28-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28_i686/djvulibre-3.5.28-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28-1_i686/djvulibre-3.5.28-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28_x86_64/djvulibre-3.5.28-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/djvulibre/3.5.28-1_x86_64/djvulibre-3.5.28-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '2a662b5b95e3e5c24531cb4ae0f5b33c044895f33fc88c562026a4124ff15295', aarch64: '48a4422a5608c30ca64ee39e5def5889b39fb0a8baa21bea2e4a1a71732e4807',
armv7l: '2a662b5b95e3e5c24531cb4ae0f5b33c044895f33fc88c562026a4124ff15295', armv7l: '48a4422a5608c30ca64ee39e5def5889b39fb0a8baa21bea2e4a1a71732e4807',
i686: 'a0cf591f8e04fc89a0c2f45f0ad67c7c907971dcf85371a2184c3ea54e605da4', i686: '72dc698bb4e83cfa4b745005daea4ab7f877477e307462df26940b0404bb851c',
x86_64: 'd17ec121e01aea869ea74b421aebcf4b8f019e8b32268859256aadd32019aab5' x86_64: '2d7e552fb69f2f0065b149be8046aaed7e6db3094b1f827fdd24454c2d5ddc9a'
}) })
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'libtiff' depends_on 'libtiff'
depends_on 'librsvg' => :build depends_on 'librsvg' => :build
depends_on 'gcc' # R
depends_on 'glibc' # R
def self.build def self.build
system "env CFLAGS='-pipe -flto=auto' \ system "./configure #{CREW_OPTIONS} \
CXXFLAGS='-pipe -flto=auto' \
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--disable-desktopfiles" --disable-desktopfiles"
system 'make' system 'make'
end end

View File

@@ -3,27 +3,38 @@ require 'package'
class Emacs < Package class Emacs < Package
description 'An extensible, customizable, free/libre text editor - and more.' description 'An extensible, customizable, free/libre text editor - and more.'
homepage 'http://www.gnu.org/software/emacs/' homepage 'http://www.gnu.org/software/emacs/'
version '27.1' version '28.2'
license 'GPL-3+, FPL-1.3+, BSD, HPND, MIT, W3C, unicode and PSF-2' license 'GPL-3+, FDL-1.3+, BSD, HPND, MIT, W3C, unicode, PSF-2'
compatibility 'all' compatibility 'all'
source_url 'https://ftpmirror.gnu.org/emacs/emacs-27.1.tar.xz' source_url 'https://ftpmirror.gnu.org/emacs/emacs-28.2.tar.xz'
source_sha256 '4a4c128f915fc937d61edfc273c98106711b540c9be3cd5d2e2b9b5b2f172e41' source_sha256 'ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/27.1_armv7l/emacs-27.1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/28.2_armv7l/emacs-28.2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/27.1_armv7l/emacs-27.1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/28.2_armv7l/emacs-28.2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/27.1_i686/emacs-27.1-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/28.2_i686/emacs-28.2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/27.1_x86_64/emacs-27.1-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/emacs/28.2_x86_64/emacs-28.2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '2a4c0e724b6d5d05ae99418cad0557dc6e72c04e66dbccc041971bd3d954f408', aarch64: '75da5d9c23128eb2044521a7ac32ec7555cbc0701c8deaf3f1c3e468754a06b9',
armv7l: '2a4c0e724b6d5d05ae99418cad0557dc6e72c04e66dbccc041971bd3d954f408', armv7l: '75da5d9c23128eb2044521a7ac32ec7555cbc0701c8deaf3f1c3e468754a06b9',
i686: 'e428b1bcf011ce6a81a057b7b757436385ad11c5e3b34d5508d2ed3411b27047', i686: '07db3ae8c5b1c955e5f135219205e3676ad594918a2aa3bebdce1f40d872c78a',
x86_64: 'ee87e75116c30bdfcab5c92dff5f7413c6b7bdc1fe813727dce16f21f2b0ec61' x86_64: 'd8141d6c94e921252618ae06dd3f27a8f581f4bfe5fb8f244233e3aef5124777'
}) })
depends_on 'lcms' depends_on 'lcms'
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'acl' # R
depends_on 'alsa_lib' # R
depends_on 'dbus' # R
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'gnutls' # R
depends_on 'gpm' # R
depends_on 'jansson' # R
depends_on 'libxml2' # R
depends_on 'ncurses' # R
depends_on 'zlibpkg' # R
def self.build def self.build
system "./configure \ system "./configure \

View File

@@ -6,21 +6,17 @@ require 'package'
class Epiphany < Package class Epiphany < Package
description 'A GNOME web browser based on the WebKit rendering engine' description 'A GNOME web browser based on the WebKit rendering engine'
homepage 'https://wiki.gnome.org/Apps/Web' homepage 'https://wiki.gnome.org/Apps/Web'
version '40.1' version '43.0'
license 'GPL' license 'GPL'
compatibility 'x86_64 aarch64 armv7l' compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.gnome.org/GNOME/epiphany.git' source_url 'https://gitlab.gnome.org/GNOME/epiphany.git'
git_hashtag version git_hashtag version
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/40.1_armv7l/epiphany-40.1-chromeos-armv7l.tpxz', x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/43.0_x86_64/epiphany-43.0-chromeos-x86_64.tar.zst'
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/40.1_armv7l/epiphany-40.1-chromeos-armv7l.tpxz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/40.1_x86_64/epiphany-40.1-chromeos-x86_64.tpxz'
}) })
binary_sha256({ binary_sha256({
aarch64: '141150e042132087d7e1dc8738fae0d35c26f2a337fa969c414eb912c698b13d', x86_64: '143a6f9be5dbd4df49fee28c43ae4eabfc7820cffacf186e9d729f7eb6572ae2'
armv7l: '141150e042132087d7e1dc8738fae0d35c26f2a337fa969c414eb912c698b13d',
x86_64: 'e0e48fab65f7b75bd9dfb07243a4d14ced036376da71be28eb9491c363b640dd'
}) })
depends_on 'atk' # R depends_on 'atk' # R
@@ -34,17 +30,28 @@ class Epiphany < Package
depends_on 'gobject_introspection' => :build depends_on 'gobject_introspection' => :build
depends_on 'gtk3' # R depends_on 'gtk3' # R
depends_on 'help2man' => :build depends_on 'help2man' => :build
depends_on 'iso_codes' => :build
depends_on 'json_glib' # R depends_on 'json_glib' # R
depends_on 'libdazzle' # R depends_on 'libdazzle' # R
depends_on 'libhandy' # R depends_on 'libhandy' # R
depends_on 'libportal' # R depends_on 'libportal' # R
depends_on 'libsecret' # R depends_on 'libsecret' # R
depends_on 'libsoup2' # R depends_on 'libsoup' # R
depends_on 'lsb_release' => :build depends_on 'lsb_release' => :build
depends_on 'pango' # R depends_on 'pango' # R
depends_on 'startup_notification' => :build depends_on 'startup_notification' => :build
depends_on 'valgrind' => :build depends_on 'valgrind' => :build
depends_on 'webkit2gtk_4' # R depends_on 'webkit2gtk_4' # R
depends_on 'webkit2gtk_4_1' # R
depends_on 'at_spi2_core' # R
depends_on 'gcr_3' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'libarchive' # R
depends_on 'libxml2' # R
depends_on 'nettle' # R
depends_on 'sqlite' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -6,23 +6,23 @@ require 'package'
class Evince < Package class Evince < Package
description 'Document viewer PDF, PostScript, XPS, djvu, dvi, tiff, cbr, cbz, cb7, cbt' description 'Document viewer PDF, PostScript, XPS, djvu, dvi, tiff, cbr, cbz, cb7, cbt'
homepage 'https://wiki.gnome.org/Apps/Evince' homepage 'https://wiki.gnome.org/Apps/Evince'
version '40.2' version '43.0'
license 'GPL' license 'GPL'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/evince.git' source_url 'https://gitlab.gnome.org/GNOME/evince.git'
git_hashtag version git_hashtag version
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/40.2_armv7l/evince-40.2-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/43.0_armv7l/evince-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/40.2_armv7l/evince-40.2-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/43.0_armv7l/evince-43.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/40.2_i686/evince-40.2-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/43.0_i686/evince-43.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/40.2_x86_64/evince-40.2-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evince/43.0_x86_64/evince-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '74251f49f4fe22b9a19e4cbd16770d270eb13147df23265e62bb960ec71634e0', aarch64: '7a9a9a562931d0df03ae78badadb3e87a34c6810cbc848066bfae27d33695587',
armv7l: '74251f49f4fe22b9a19e4cbd16770d270eb13147df23265e62bb960ec71634e0', armv7l: '7a9a9a562931d0df03ae78badadb3e87a34c6810cbc848066bfae27d33695587',
i686: '30051f33d1c73422b28298ccb9f7a84cc6dbb30a742cc01aef63d7054b090b04', i686: '951637e6b83cf9682b7779d5394e403df80d3e9e291458ff8cd08589c9f4e104',
x86_64: '49e164c40f852960136be7660fc38be92d6517d45c073d2b076dcdbf643cffd6' x86_64: 'dc46b37780ac1b9f5c400a3bd8b4c8f01a0752b287747ced776e62b7be053cf5'
}) })
depends_on 'atk' # R depends_on 'atk' # R
@@ -45,10 +45,12 @@ class Evince < Package
depends_on 'pango' # R depends_on 'pango' # R
depends_on 'poppler' # R depends_on 'poppler' # R
depends_on 'valgrind' => :build depends_on 'valgrind' => :build
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dgtk_doc=false \ -Dgtk_doc=false \
-Dnautilus=false \
-Dps=enabled \ -Dps=enabled \
-Dsystemduserunitdir=no \ -Dsystemduserunitdir=no \
builddir" builddir"

View File

@@ -2,32 +2,48 @@ require 'package'
class Evolution_data_server < Package class Evolution_data_server < Package
description 'Centralized access to appointments and contacts' description 'Centralized access to appointments and contacts'
@_ver = '3.40.3' @_ver = '3.46.0'
version @_ver version @_ver
license 'LGPL-2 or LGPL-3, BSD and Sleepycat' license 'LGPL-2 or LGPL-3, BSD and Sleepycat'
compatibility 'x86_64 aarch64 armv7l' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/evolution-data-server.git' source_url 'https://gitlab.gnome.org/GNOME/evolution-data-server.git'
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evolution_data_server/3.40.3_armv7l/evolution_data_server-3.40.3-chromeos-armv7l.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evolution_data_server/3.46.0_i686/evolution_data_server-3.46.0-chromeos-i686.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evolution_data_server/3.40.3_armv7l/evolution_data_server-3.40.3-chromeos-armv7l.tpxz', x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evolution_data_server/3.46.0_x86_64/evolution_data_server-3.46.0-chromeos-x86_64.tar.zst'
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/evolution_data_server/3.40.3_x86_64/evolution_data_server-3.40.3-chromeos-x86_64.tpxz'
}) })
binary_sha256({ binary_sha256({
aarch64: '8ade9630fc18351495084f5e0ae3ad98fbbcd3e50f937d795d8dc2a1c4c36158', i686: '303248f7eb4e050cbf846caaf9f23b04c19df4fa624ee90db6c799f891175271',
armv7l: '8ade9630fc18351495084f5e0ae3ad98fbbcd3e50f937d795d8dc2a1c4c36158', x86_64: '57189bbc3c4fa355db5d3e64dc89521f91e7366eadb251b993bd963ec573d1d3'
x86_64: '9620cad89b0ed797c84b4d7b85b977883678669963c724a679a09c681ef3934f'
}) })
depends_on 'nss' depends_on 'atk' # R
depends_on 'at_spi2_core' # R
depends_on 'gcc' # R
depends_on 'gcr_3' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glibc' # R
depends_on 'glib' # R
depends_on 'gobject_introspection' => :build depends_on 'gobject_introspection' => :build
depends_on 'vala' => :build depends_on 'gtk3' # R
depends_on 'gtk_doc' => :build depends_on 'gtk_doc' => :build
depends_on 'harfbuzz' # R
depends_on 'icu4c' # R
depends_on 'krb5' # R
depends_on 'libdb' # R
depends_on 'libical' # R
depends_on 'libsecret' # R
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'gcr' depends_on 'libsoup2' # R
depends_on 'libical' depends_on 'libxml2' # R
depends_on 'libsecret' depends_on 'nss' # R
depends_on 'p11kit' # R
depends_on 'pango' # R
depends_on 'sqlite' # R
depends_on 'vala' => :build
depends_on 'webkit2gtk'
depends_on 'zlibpkg' # R
def self.build def self.build
Dir.mkdir 'builddir' Dir.mkdir 'builddir'

View File

@@ -3,24 +3,24 @@ require 'package'
class Ffmpeg < Package class Ffmpeg < Package
description 'Complete solution to record, convert and stream audio and video' description 'Complete solution to record, convert and stream audio and video'
homepage 'https://ffmpeg.org/' homepage 'https://ffmpeg.org/'
@_ver = '5.1' @_ver = '5.1.2'
version @_ver.to_s version @_ver
license 'LGPL-2,1, GPL-2, GPL-3, and LGPL-3' # When changing ffmpeg's configure options, make sure this variable is still accurate. license 'LGPL-2,1, GPL-2, GPL-3, and LGPL-3' # When changing ffmpeg's configure options, make sure this variable is still accurate.
compatibility 'all' compatibility 'all'
source_url 'https://git.ffmpeg.org/ffmpeg.git' source_url 'https://git.ffmpeg.org/ffmpeg.git'
git_hashtag "n#{@_ver}" git_hashtag "n#{@_ver}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1_armv7l/ffmpeg-5.1-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1.2_armv7l/ffmpeg-5.1.2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1_armv7l/ffmpeg-5.1-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1.2_armv7l/ffmpeg-5.1.2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1_i686/ffmpeg-5.1-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1.2_i686/ffmpeg-5.1.2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1_x86_64/ffmpeg-5.1-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ffmpeg/5.1.2_x86_64/ffmpeg-5.1.2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '413dc87eaee7d62f18b0f0b49881a2f2077300180a1e0a0b0114c77b7f362797', aarch64: '16b08e1560d9faf95601b2b8d73031b1a02316b45c142717ae55dc382c95adc9',
armv7l: '413dc87eaee7d62f18b0f0b49881a2f2077300180a1e0a0b0114c77b7f362797', armv7l: '16b08e1560d9faf95601b2b8d73031b1a02316b45c142717ae55dc382c95adc9',
i686: '27939661f0e7007f86b6776f3095d82faf620e4522bef990995da1b0317b95d1', i686: '0e14b4810a2e4b46ee066ec90d8f6a89131fad4cd2440e3629d23beb0a1d118a',
x86_64: '5379186833678f5de1b0ec673d3389176ff5b90b8ab2903abe102e1ae8e455b6' x86_64: '542015ac2020bf52e633b5abbb90c4c6af73bc8c73f41fd3ad83ff1adde70d0d'
}) })
depends_on 'avisynthplus' # ? depends_on 'avisynthplus' # ?
@@ -52,6 +52,7 @@ class Ffmpeg < Package
depends_on 'libdrm' # R depends_on 'libdrm' # R
depends_on 'libfdk_aac' # R depends_on 'libfdk_aac' # R
depends_on 'libiec61883' # R depends_on 'libiec61883' # R
depends_on 'libjpeg' # R
depends_on 'libmfx' if ARCH == 'i686' && `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive? # R depends_on 'libmfx' if ARCH == 'i686' && `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive? # R
depends_on 'libmodplug' # R depends_on 'libmodplug' # R
depends_on 'libmp3lame' # R depends_on 'libmp3lame' # R
@@ -95,6 +96,13 @@ class Ffmpeg < Package
depends_on 'zeromq' # R depends_on 'zeromq' # R
depends_on 'zimg' # R depends_on 'zimg' # R
depends_on 'zvbi' # R depends_on 'zvbi' # R
depends_on 'bz2' # R
depends_on 'glibc' # R
depends_on 'libxml2' # R
depends_on 'mesa' # R
depends_on 'rtmpdump' # R
depends_on 'xzutils' # R
depends_on 'zlibpkg' # R
def self.build def self.build
case ARCH case ARCH

View File

@@ -3,24 +3,24 @@ require 'package'
class Folks < Package class Folks < Package
description 'Library to aggregates people into metacontacts' description 'Library to aggregates people into metacontacts'
homepage 'https://wiki.gnome.org/Projects/Folks' homepage 'https://wiki.gnome.org/Projects/Folks'
@_ver = '0.15.2' @_ver = '0.15.5'
version @_ver version @_ver
license 'LGPL-2.1' license 'LGPL-2.1'
compatibility 'all' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/folks/-/archive/#{@_ver}/folks-#{@_ver}.tar.bz2" source_url "https://gitlab.gnome.org/GNOME/folks/-/archive/#{@_ver}/folks-#{@_ver}.tar.bz2"
source_sha256 'fc793ac48add708bf95b65060e74d66c016ea6077297f3329c59fee83cc415ed' source_sha256 'f79952f6b0c8f6c0fa2efefbcfc4d4875a2ee5e4518f7d4bf520b62b5c89568c'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.2_armv7l/folks-0.15.2-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.5_armv7l/folks-0.15.5-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.2_armv7l/folks-0.15.2-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.5_armv7l/folks-0.15.5-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.2_i686/folks-0.15.2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.5_i686/folks-0.15.5-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.2_x86_64/folks-0.15.2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/folks/0.15.5_x86_64/folks-0.15.5-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e6b4e6fe98522d67283e033a176c9efbb11784d0a5dd93c048a96418011fb64f', aarch64: '2999307030aa76fb2e9ee4aaf52d83ae0835829d8d14c16af03f88efab8bda16',
armv7l: 'e6b4e6fe98522d67283e033a176c9efbb11784d0a5dd93c048a96418011fb64f', armv7l: '2999307030aa76fb2e9ee4aaf52d83ae0835829d8d14c16af03f88efab8bda16',
i686: '96eff279765de921eeca9ea66dfc78b9885f65feac95d85a87bdf4dec8b94e51', i686: 'df9800ddea6eb9a6e0056d87f3af74a7212c519db9b57ac85625ea7511e5c6cc',
x86_64: '304f648e3f5a0ea9cf558c435830cd172a118ce3b4bd96ab3b4958c3f9a8eb1b' x86_64: '8d5447fdd889e1f45f4f7178db791b0ff5fd7c5d7eac854872b43de36e44df4f'
}) })
depends_on 'libgee' depends_on 'libgee'
@@ -28,6 +28,11 @@ class Folks < Package
depends_on 'gobject_introspection' => :build depends_on 'gobject_introspection' => :build
depends_on 'gtk_doc' => :build depends_on 'gtk_doc' => :build
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'libxml2' # R
depends_on 'readline' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
@@ -46,4 +51,8 @@ class Folks < Package
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas/"
end
end end

View File

@@ -3,37 +3,45 @@ require 'package'
class Gcab < Package class Gcab < Package
description 'A GObject library to create cabinet files' description 'A GObject library to create cabinet files'
homepage 'https://gitlab.gnome.org/GNOME/gcab' homepage 'https://gitlab.gnome.org/GNOME/gcab'
version '1.4' version '1.5-ad0baea'
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gcab/-/archive/v1.4/gcab-v1.4.tar.bz2' source_url 'https://gitlab.gnome.org/GNOME/gcab.git'
source_sha256 '597dd7d0ddee9065412abf0ee15ae73e913daf967f43af5dd55ea9b87b514188' git_hashtag 'ad0baea50359c1978a9224ee60bf98d97bfb991f'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.4_armv7l/gcab-1.4-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.5-ad0baea_armv7l/gcab-1.5-ad0baea-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.4_armv7l/gcab-1.4-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.5-ad0baea_armv7l/gcab-1.5-ad0baea-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.4_i686/gcab-1.4-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.5-ad0baea_i686/gcab-1.5-ad0baea-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.4_x86_64/gcab-1.4-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcab/1.5-ad0baea_x86_64/gcab-1.5-ad0baea-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '38438135d7527691a77a8c8016ad4afb13bebc6245663b87e8b0dd6beb41174d', aarch64: 'bea55bbd954784c096f90b05e62d8b9de79fb8e0ccefdb5dcadad3f54a3f1037',
armv7l: '38438135d7527691a77a8c8016ad4afb13bebc6245663b87e8b0dd6beb41174d', armv7l: 'bea55bbd954784c096f90b05e62d8b9de79fb8e0ccefdb5dcadad3f54a3f1037',
i686: '39f92f811a45cc0947c35dd7510eb00647bfd1cd6425b59c6483f84d2d6d4886', i686: '83da57fe5363d0b06c110da0546c37c8e4d5ee1146a97f2b59681a889c29157f',
x86_64: '69ad98764b36a8745ae765aa683df6d91aca5e42f1e313db5ae2dc72bdf94ce7' x86_64: '98cfe025afd70b829e4780c2a959764a325e7e66874068e12e0c7dab03084686'
}) })
depends_on 'gobject_introspection' depends_on 'gobject_introspection'
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.prebuild def self.prebuild
system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build" system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build"
end end
def self.build def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} -Ddocs=false -Dvapi=false _build" system "meson #{CREW_MESON_OPTIONS} \
system 'ninja -v -C _build' -Ddocs=false \
-Dtests=false \
-Dvapi=false \
builddir"
system 'meson configure builddir'
system 'mold -run samu -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

186
packages/gcc10.rb Normal file
View File

@@ -0,0 +1,186 @@
require 'package'
class Gcc10 < Package
description 'The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Ada, and Go.'
homepage 'https://www.gnu.org/software/gcc/'
version '10.4.0'
license 'GPL-3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/gcc/gcc-10.4.0/gcc-10.4.0.tar.xz'
source_sha256 'c9297d5bcd7cb43f3dfc2fed5389e948c9312fd962ef6a4ce455cff963ebe4f1'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcc10/10.4.0_armv7l/gcc10-10.4.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcc10/10.4.0_armv7l/gcc10-10.4.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcc10/10.4.0_i686/gcc10-10.4.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcc10/10.4.0_x86_64/gcc10-10.4.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: 'b6c6a28cb3942b25d283b77420f850883e9d32aded05d2de079d4f8436e23e28',
armv7l: 'b6c6a28cb3942b25d283b77420f850883e9d32aded05d2de079d4f8436e23e28',
i686: 'f1cd1b358a700b07400af645a324a26a6895cf8f2bc93d2b1c21782e2eb9b750',
x86_64: 'd0f1cb59380cf1bf7806372752f8b3f9d472058cef7b63a33df3bfc18e9fb985'
})
depends_on 'binutils' => :build
depends_on 'dejagnu' => :build # for test
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'isl' # R
depends_on 'libssp' # L
depends_on 'mpc' # R
depends_on 'mpfr' # R
depends_on 'zlibpkg' # R
depends_on 'zstd' # R
conflicts_ok
no_env_options
no_patchelf
@gcc_version = version.split('-')[0].partition('.')[0]
def self.patch
# This fixes a PATH_MAX undefined error which breaks libsanitizer
# "libsanitizer/asan/asan_linux.cpp:217:21: error: PATH_MAX was not declared in this scope"
# This is defined in https://chromium.googlesource.com/chromiumos/third_party/kernel/+/refs/heads/chromeos-5.4/include/uapi/linux/limits.h
# and is defined as per suggested method here: https://github.com/ZefengWang/cross-tool-chain-build
# The following is due to sed not passing newlines right.
if system 'grep -q 4096 libsanitizer/asan/asan_linux.cpp', exception: false
system "sed -i '77a #endif' libsanitizer/asan/asan_linux.cpp"
system "sed -i '77a #define PATH_MAX 4096' libsanitizer/asan/asan_linux.cpp"
system "sed -i '77a #ifndef PATH_MAX' libsanitizer/asan/asan_linux.cpp"
end
end
def self.build
@gcc_global_opts = <<~OPT.chomp
--disable-bootstrap \
--disable-install-libiberty \
--disable-libmpx \
--disable-libssp \
--disable-multilib \
--disable-werror \
--enable-cet=auto \
--enable-checking=release \
--enable-clocale=gnu \
--enable-default-pie \
--enable-default-ssp \
--enable-gnu-indirect-function \
--enable-gnu-unique-object \
--enable-host-shared \
--enable-lto \
--enable-plugin \
--enable-shared \
--enable-symvers \
--enable-static \
--enable-threads=posix \
--with-gcc-major-version-only \
--with-gmp \
--with-isl \
--with-mpc \
--with-mpfr \
--with-pic \
--with-system-libunwind \
--with-system-zlib
OPT
@cflags = @cxxflags = '-fPIC -pipe'
# @languages = 'c,c++,jit,objc,fortran,go'
# go build fails on 20220305 snapshot
@languages = 'c,c++,jit,objc,fortran'
case ARCH
when 'armv7l', 'aarch64'
@archflags = '--with-arch=armv8-a+crc+simd --with-float=hard --with-fpu=neon --with-tune=cortex-a15'
when 'x86_64'
@archflags = '--with-arch-64=x86-64'
when 'i686'
@archflags = '--with-arch-32=i686'
end
# Install prereqs using the standard gcc method so they can be
# linked statically.
# system './contrib/download_prerequisites'
FileUtils.mkdir_p 'objdir/gcc/.deps'
Dir.chdir('objdir') do
configure_env =
{
LIBRARY_PATH: CREW_LIB_PREFIX,
NM: 'gcc-nm',
AR: 'gcc-ar',
RANLIB: 'gcc-ranlib',
CFLAGS: @cflags,
CXXFLAGS: @cxxflags,
LDFLAGS: "-L#{CREW_LIB_PREFIX}/lib -Wl,-rpath=#{CREW_LIB_PREFIX}",
PATH: @path
}.transform_keys(&:to_s)
unless File.file?('Makefile')
system configure_env, <<~BUILD.chomp
../configure #{CREW_OPTIONS} \
#{@gcc_global_opts} \
#{@archflags} \
--with-native-system-header-dir=#{CREW_PREFIX}/include \
--enable-languages=#{@languages} \
--program-suffix=-#{@gcc_version}
BUILD
end
# LIBRARY_PATH=#{CREW_LIB_PREFIX} needed for x86_64 to avoid:
# /usr/local/bin/ld: cannot find crti.o: No such file or directory
# /usr/local/bin/ld: cannot find /usr/lib64/libc_nonshared.a
system({ LIBRARY_PATH: CREW_LIB_PREFIX, PATH: @path }.transform_keys(&:to_s), 'make || make -j1')
end
end
# preserve for check, skip check for current version
def self.check
# Dir.chdir('objdir') do
# system "make -k check -j#{CREW_NPROC} || true"
# system '../contrib/test_summary'
# end
end
def self.install
gcc_arch = `objdir/gcc/xgcc -dumpmachine`.chomp
gcc_dir = "gcc/#{gcc_arch}/#{@gcc_version}"
gcc_libdir = "#{CREW_DEST_LIB_PREFIX}/#{gcc_dir}"
make_env =
{
LIBRARY_PATH: CREW_LIB_PREFIX,
PATH: @path,
DESTDIR: CREW_DEST_DIR
}.transform_keys(&:to_s)
Dir.chdir('objdir') do
system make_env, "make DESTDIR=#{CREW_DEST_DIR} install-strip"
# gcc-non-lib install
system make_env, "make -C gcc DESTDIR=#{CREW_DEST_DIR} install-driver install-cpp install-gcc-ar \
c++.install-common install-headers install-plugin install-lto-wrapper"
%w[gcov gcov-tool].each do |gcov_bin|
FileUtils.install "gcc/#{gcov_bin}", "#{CREW_DEST_PREFIX}/bin/#{gcov_bin}-#{@gcc_version}", mode: 0o755
end
FileUtils.mkdir_p gcc_libdir
%w[cc1 cc1plus collect2 lto1].each do |lib|
FileUtils.install "gcc/#{lib}", "#{gcc_libdir}/", mode: 0o755
end
system make_env, "make DESTDIR=#{CREW_DEST_DIR} install-fixincludes"
system make_env, "make -C gcc DESTDIR=#{CREW_DEST_DIR} install-mkheaders"
end
# Remove files which would conflict with the current version of gcc.
FileUtils.rm_f Dir.glob("#{CREW_DEST_LIB_PREFIX}/*")
FileUtils.rm_f Dir.glob("#{CREW_DEST_PREFIX}/include/libgccjit*.h")
FileUtils.rm_f "#{CREW_DEST_PREFIX}/bin/armv7l-cros-linux-gnueabihf-gcc-tmp"
FileUtils.rm_rf Dir.glob("#{CREW_DEST_PREFIX}/share/locale/*")
FileUtils.rm_f Dir.glob("#{CREW_DEST_PREFIX}/share/man/man7/*")
FileUtils.rm_f Dir.glob("#{CREW_DEST_PREFIX}/share/info/*")
end
end

View File

@@ -3,49 +3,13 @@ require 'package'
class Gcr < Package class Gcr < Package
description 'GNOME crypto package' description 'GNOME crypto package'
homepage 'https://www.gnome.org' homepage 'https://www.gnome.org'
@_ver = '3.40.0' version '4.0.0'
version "#{@_ver}-1"
license 'GPL-2+ and LGPL-2+' license 'GPL-2+ and LGPL-2+'
compatibility 'all' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gcr/-/archive/#{@_ver}/gcr-#{@_ver}.tar.bz2"
source_sha256 '659a49bac1c713a743894845c82ef53ccc7326dcce1879b1af0ab502ec10e7ab'
binary_url({ is_fake
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr/3.40.0-1_armv7l/gcr-3.40.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr/3.40.0-1_armv7l/gcr-3.40.0-1-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr/3.40.0-1_i686/gcr-3.40.0-1-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr/3.40.0-1_x86_64/gcr-3.40.0-1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'e1062d5322f4dd084436459fe26e76af0a6118e3a1b0f88329dacae0617c0d96',
armv7l: 'e1062d5322f4dd084436459fe26e76af0a6118e3a1b0f88329dacae0617c0d96',
i686: 'd927f0e2bdcfa4542d68d4ddc9371b67776f2724b19bd0847029dee6d9751244',
x86_64: 'a7a7c8ecd1472f17269e33624ba2e91ca4dd699613f833ce9b566889a81ab45f'
})
depends_on 'cairo' depends_on 'gcr_3'
depends_on 'desktop_file_utilities' depends_on 'gcr_4'
depends_on 'gdk_pixbuf'
depends_on 'glib'
depends_on 'gnupg'
depends_on 'graphite'
depends_on 'gtk3'
depends_on 'hicolor_icon_theme'
depends_on 'libgcrypt'
depends_on 'libjpeg'
depends_on 'libxslt'
depends_on 'pango'
depends_on 'vala' => :build
def self.build
system "meson #{CREW_MESON_OPTIONS} \
-Dgtk_doc=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end end

61
packages/gcr_3.rb Normal file
View File

@@ -0,0 +1,61 @@
require 'package'
class Gcr_3 < Package
description 'GNOME crypto package'
homepage 'https://www.gnome.org'
@_ver = '3.41.1'
version @_ver
license 'GPL-2+ and LGPL-2+'
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gcr/-/archive/#{@_ver}/gcr-#{@_ver}.tar.bz2"
source_sha256 '7e06e86e12aadaac6a72f2ee7eeaaaa6228a0ba3b92cadd50b45c0f05f0d91c6'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_3/3.41.1_armv7l/gcr_3-3.41.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_3/3.41.1_armv7l/gcr_3-3.41.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_3/3.41.1_i686/gcr_3-3.41.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_3/3.41.1_x86_64/gcr_3-3.41.1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '6b2d4cffaf3de2994d1a8f5f7a3b466dc723ef2236761f2753c1e2feeb3fc671',
armv7l: '6b2d4cffaf3de2994d1a8f5f7a3b466dc723ef2236761f2753c1e2feeb3fc671',
i686: '21a4bdffdf2b27460cf353e48a2fbbfb1936f1fff333cb7d131c9f4ac28391dd',
x86_64: '8af250461b9f5ea95b3198ffb6cb1474b2e0fd7c9571e84420548dd5b10ed7c3'
})
depends_on 'cairo'
depends_on 'desktop_file_utilities'
depends_on 'gdk_pixbuf'
depends_on 'glib'
depends_on 'gnupg'
depends_on 'graphite'
depends_on 'gtk3'
depends_on 'hicolor_icon_theme'
depends_on 'libgcrypt'
depends_on 'libjpeg'
depends_on 'libsecret'
depends_on 'libxslt'
depends_on 'pango'
depends_on 'vala' => :build
depends_on 'vulkan_headers' => :build
depends_on 'glibc' # R
depends_on 'gtk4' # R
depends_on 'p11kit' # R
depends_on 'gcc' # R
depends_on 'harfbuzz' # R
conflicts_ok # expected conflicts with gcr_4
gnome
def self.build
system "meson #{CREW_MESON_OPTIONS} \
-Dgtk_doc=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end

59
packages/gcr_4.rb Normal file
View File

@@ -0,0 +1,59 @@
require 'package'
class Gcr_4 < Package
description 'GNOME crypto package'
homepage 'https://www.gnome.org'
@_ver = '4.0.0'
version @_ver
license 'GPL-2+ and LGPL-2+'
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gcr/-/archive/#{@_ver}/gcr-#{@_ver}.tar.bz2"
source_sha256 'e33e5daae4715a4701a37c05775ea4ab6da17cb005adedf617f3b367be018e4b'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_4/4.0.0_armv7l/gcr_4-4.0.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_4/4.0.0_armv7l/gcr_4-4.0.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_4/4.0.0_i686/gcr_4-4.0.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gcr_4/4.0.0_x86_64/gcr_4-4.0.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '03c546cb1101caa00361ee1c22f4f0d81097fd3f4ee01e1ce387daf16e3dd58b',
armv7l: '03c546cb1101caa00361ee1c22f4f0d81097fd3f4ee01e1ce387daf16e3dd58b',
i686: '960f12ec46ce219d63b689fa8b8cb01fa13595d4190cdd08dd6e4525c8f240d6',
x86_64: 'a670172596e9332928f0fa05eceb3fcbcb58ead70b146dc62fee567e8a2a87ff'
})
depends_on 'cairo'
depends_on 'desktop_file_utilities'
depends_on 'gdk_pixbuf'
depends_on 'glib'
depends_on 'gnupg'
depends_on 'graphite'
depends_on 'gtk3'
depends_on 'hicolor_icon_theme'
depends_on 'libgcrypt'
depends_on 'libjpeg'
depends_on 'libsecret'
depends_on 'libxslt'
depends_on 'pango'
depends_on 'vala' => :build
depends_on 'vulkan_headers' => :build
depends_on 'glibc' # R
depends_on 'gtk4' # R
depends_on 'p11kit' # R
depends_on 'gcc' # R
gnome
def self.build
system "meson #{CREW_MESON_OPTIONS} \
-Dgtk_doc=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end

View File

@@ -3,23 +3,23 @@ require 'package'
class Gdal < Package class Gdal < Package
description 'The Geospatial Data Abstraction Library is a translator for raster and vector geospatial data formats.' description 'The Geospatial Data Abstraction Library is a translator for raster and vector geospatial data formats.'
homepage 'http://www.gdal.org/' homepage 'http://www.gdal.org/'
version '3.1.3' version '3.5.2'
license 'BSD, Info-ZIP and MIT' license 'BSD, Info-ZIP and MIT'
compatibility 'all' compatibility 'all'
source_url 'https://download.osgeo.org/gdal/3.1.3/gdal-3.1.3.tar.xz' source_url 'https://download.osgeo.org/gdal/3.5.2/gdal-3.5.2.tar.xz'
source_sha256 '161cf55371a143826f1d76ce566db1f0a666496eeb4371aed78b1642f219d51d' source_sha256 '0874dfdeb9ac42e53c37be4184b19350be76f0530e1f4fa8004361635b9030c2'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.1.3_armv7l/gdal-3.1.3-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.5.2_armv7l/gdal-3.5.2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.1.3_armv7l/gdal-3.1.3-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.5.2_armv7l/gdal-3.5.2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.1.3_i686/gdal-3.1.3-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.5.2_i686/gdal-3.5.2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.1.3_x86_64/gdal-3.1.3-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdal/3.5.2_x86_64/gdal-3.5.2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '4e650503583cdb958c514a681ef5ed4791dee197eadcdb9bf58ca574e6a7f034', aarch64: '97817ef4a8c5a4f006a327d9c4cf5fedaf9bda63b0fe6133357ffdb6c51f2969',
armv7l: '4e650503583cdb958c514a681ef5ed4791dee197eadcdb9bf58ca574e6a7f034', armv7l: '97817ef4a8c5a4f006a327d9c4cf5fedaf9bda63b0fe6133357ffdb6c51f2969',
i686: '6e168a4d3daadb0661241a56edbbba8d6ab2d54460c3079c2554420601b6a920', i686: '3d64d3e78e9d8a16941f052a5a574a147337091229f0c6ef1c6fddfe45b0f15b',
x86_64: '984599cb21608ba4ba15be1512981406b6c1e0c581c4e29ccb3d36452778b51e' x86_64: '4f75750a53750a78ff43625ab073afe457045387106074537cb294ee38d51bac'
}) })
depends_on 'openjpeg' depends_on 'openjpeg'
@@ -31,16 +31,31 @@ class Gdal < Package
depends_on 'libgeotiff' depends_on 'libgeotiff'
depends_on 'libxml2' depends_on 'libxml2'
depends_on 'xercesc' depends_on 'xercesc'
depends_on 'expat' # R
depends_on 'gcc' # R
depends_on 'giflib' # R
depends_on 'glibc' # R
depends_on 'jsonc' # R
depends_on 'libdeflate' # R
depends_on 'libjpeg' # R
depends_on 'libpng' # R
depends_on 'libtiff' # R
depends_on 'libwebp' # R
depends_on 'lz4' # R
depends_on 'openssl' # R
depends_on 'pcre2' # R
depends_on 'sqlite' # R
depends_on 'unixodbc' # R
depends_on 'zlibpkg' # R
depends_on 'zstd' # R
def self.build def self.build
system 'filefix' system 'filefix'
system './configure', system "./configure \
"--prefix=#{CREW_PREFIX}", --with-curl=#{CREW_PREFIX}/bin/curl-config \
"--libdir=#{CREW_LIB_PREFIX}", --with-geos=#{CREW_PREFIX}/bin/geos-config \
"--with-curl=#{CREW_PREFIX}/bin/curl-config", --with-python \
"--with-geos=#{CREW_PREFIX}/bin/geos-config", --with-proj"
'--with-python',
'--with-proj'
system 'make' system 'make'
end end

View File

@@ -3,24 +3,24 @@ require 'package'
class Gdk_pixbuf < Package class Gdk_pixbuf < Package
description 'GdkPixbuf is a library for image loading and manipulation.' description 'GdkPixbuf is a library for image loading and manipulation.'
homepage 'https://developer.gnome.org/gdk-pixbuf' homepage 'https://developer.gnome.org/gdk-pixbuf'
@_ver = '2.42.9' @_ver = '2.42.10-6550872'
version "#{@_ver}-1" version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gdk-pixbuf.git' source_url 'https://gitlab.gnome.org/GNOME/gdk-pixbuf.git'
git_hashtag @_ver git_hashtag '6550872a2b89a09b1b2e811206a38475fbe7cec9'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.9-1_armv7l/gdk_pixbuf-2.42.9-1-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.10-6550872_armv7l/gdk_pixbuf-2.42.10-6550872-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.9-1_armv7l/gdk_pixbuf-2.42.9-1-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.10-6550872_armv7l/gdk_pixbuf-2.42.10-6550872-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.9-1_i686/gdk_pixbuf-2.42.9-1-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.10-6550872_i686/gdk_pixbuf-2.42.10-6550872-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.9-1_x86_64/gdk_pixbuf-2.42.9-1-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gdk_pixbuf/2.42.10-6550872_x86_64/gdk_pixbuf-2.42.10-6550872-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e52abe3bc1922618fda217215f5defef83f40b6cbe21737f50ed653ee9001d4a', aarch64: 'c67990aabbb3576a6101822df693e67afaf8103e9f1088c0d40298834f8cc496',
armv7l: 'e52abe3bc1922618fda217215f5defef83f40b6cbe21737f50ed653ee9001d4a', armv7l: 'c67990aabbb3576a6101822df693e67afaf8103e9f1088c0d40298834f8cc496',
i686: '47693eb2d34477b97ccb6cd29ab50890dcb383d19bd30b4ac60a606a0ddc77d2', i686: 'c128a2bf1322a737a4dc3598020e1601eab3a6e6c2cb1164b69ddb7bbd004db7',
x86_64: '72f1a9e8c7f3e3c44aed7b21a07ad7f200207c1f0c759be2622e999c92b4b1df' x86_64: '704985704e0c6ba5b3aad0cecf1fe7525df9cd5bb9791088ee4b313b9afff4e3'
}) })
depends_on 'glib' # R depends_on 'glib' # R
@@ -31,12 +31,17 @@ class Gdk_pixbuf < Package
# depends_on 'libwebp' => :build This drags gtk3 into the deps. # depends_on 'libwebp' => :build This drags gtk3 into the deps.
depends_on 'pango' => :build depends_on 'pango' => :build
depends_on 'py3_docutils' => :build depends_on 'py3_docutils' => :build
depends_on 'py3_gi_docgen' => :build
depends_on 'py3_jinja2' => :build depends_on 'py3_jinja2' => :build
depends_on 'py3_markdown' => :build depends_on 'py3_markdown' => :build
depends_on 'py3_pygments' => :build depends_on 'py3_pygments' => :build
depends_on 'py3_six' => :build depends_on 'py3_six' => :build
depends_on 'py3_toml' => :build depends_on 'py3_toml' => :build
depends_on 'py3_typogrify' => :build depends_on 'py3_typogrify' => :build
depends_on 'glibc' # R
depends_on 'libpng' # R
depends_on 'zlibpkg' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
@@ -47,7 +52,7 @@ class Gdk_pixbuf < Package
-Dgtk_doc=false \ -Dgtk_doc=false \
-Dman=true \ -Dman=true \
builddir" builddir"
system 'samu -C builddir' system 'mold -run samu -C builddir'
end end
def self.install def self.install

View File

@@ -3,23 +3,23 @@ require 'package'
class Gegl < Package class Gegl < Package
description 'GEGL (Generic Graphics Library) is a data flow based image processing framework, providing floating point processing and non-destructive image processing capabilities to GNU Image Manipulation Program and other projects.' description 'GEGL (Generic Graphics Library) is a data flow based image processing framework, providing floating point processing and non-destructive image processing capabilities to GNU Image Manipulation Program and other projects.'
homepage 'http://gegl.org/' homepage 'http://gegl.org/'
version '0.4.30' version '0.4.38'
license 'GPL-3+ and LGPL-3' license 'GPL-3+ and LGPL-3'
compatibility 'all' compatibility 'all'
source_url 'https://download.gimp.org/pub/gegl/0.4/gegl-0.4.30.tar.xz' source_url 'https://download.gimp.org/pub/gegl/0.4/gegl-0.4.38.tar.xz'
source_sha256 'c112782cf4096969e23217ccdfabe42284e35d5435ff0c43d40e4c70faeca8dd' source_sha256 'e4a33c8430a5042fba8439b595348e71870f0d95fbf885ff553f9020c1bed750'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.30_armv7l/gegl-0.4.30-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.38_armv7l/gegl-0.4.38-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.30_armv7l/gegl-0.4.30-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.38_armv7l/gegl-0.4.38-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.30_i686/gegl-0.4.30-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.38_i686/gegl-0.4.38-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.30_x86_64/gegl-0.4.30-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gegl/0.4.38_x86_64/gegl-0.4.38-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '25258b3592ddf748f011e3fc0a44ccb3ce0ba24ae33d030df592f34210eef04b', aarch64: '4c713267c64d796698b417600a04c395e7911a9ba3d1592280f04726d6489df7',
armv7l: '25258b3592ddf748f011e3fc0a44ccb3ce0ba24ae33d030df592f34210eef04b', armv7l: '4c713267c64d796698b417600a04c395e7911a9ba3d1592280f04726d6489df7',
i686: 'a941d0bf5b9bfcd10affa27e9fa16f1d359ded89ee5c3c20d8bc8f5b8afb90aa', i686: '7f863bf987558c6377ff2b3468abadeb01406d2a3ca9f656143224fa6debf210',
x86_64: '1a3f632903fc5586708ea179d3f55d7255ccb716025187aa1740289e513c4ea1' x86_64: 'df2e20437c9a9983ec80742191a343c5e096ff07fc3e73c3bfafbc123c43c8c6'
}) })
depends_on 'asciidoc' depends_on 'asciidoc'
@@ -45,9 +45,14 @@ class Gegl < Package
depends_on 'pango' depends_on 'pango'
depends_on 'poppler' depends_on 'poppler'
depends_on 'vala' depends_on 'vala'
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dlibjpeg=enabled \
-Dlibpng=enabled \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'

View File

@@ -3,47 +3,67 @@ require 'package'
class Gemacs < Package class Gemacs < Package
description 'An extensible, customizable, free/libre text editor - and more.' description 'An extensible, customizable, free/libre text editor - and more.'
homepage 'https://www.gnu.org/software/emacs/' homepage 'https://www.gnu.org/software/emacs/'
@_ver = '28.0.50.1' version '28.2'
version "#{@_ver}-01b0"
license 'GPL-3+, FDL-1.3+, BSD, HPND, MIT, W3C, unicode, PSF-2' license 'GPL-3+, FDL-1.3+, BSD, HPND, MIT, W3C, unicode, PSF-2'
compatibility 'all' compatibility 'x86_64 i686'
source_url 'https://git.savannah.gnu.org/git/emacs.git' source_url 'https://ftpmirror.gnu.org/emacs/emacs-28.2.tar.xz'
git_branch 'feature/pgtk' source_sha256 'ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488'
git_hashtag '01b0a909b5ca858a09484821cc866127652f4153'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gemacs/28.0.50.1-01b0_armv7l/gemacs-28.0.50.1-01b0-chromeos-armv7l.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gemacs/28.2_i686/gemacs-28.2-chromeos-i686.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gemacs/28.0.50.1-01b0_armv7l/gemacs-28.0.50.1-01b0-chromeos-armv7l.tpxz', x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gemacs/28.2_x86_64/gemacs-28.2-chromeos-x86_64.tar.zst'
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gemacs/28.0.50.1-01b0_i686/gemacs-28.0.50.1-01b0-chromeos-i686.tpxz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gemacs/28.0.50.1-01b0_x86_64/gemacs-28.0.50.1-01b0-chromeos-x86_64.tpxz'
}) })
binary_sha256({ binary_sha256({
aarch64: '8ba0433113a23361cf961d372c8e7db79206c5baf3046255bebec0acd1d73452', i686: 'd3c1c2133ca735512de8b77069093f78110a41377962080a69271d5052d18a46',
armv7l: '8ba0433113a23361cf961d372c8e7db79206c5baf3046255bebec0acd1d73452', x86_64: 'ed1a8eacde7a8a17be9fb11a2bcdf83d3ce03ba3d78ebbb71884f808f515debd'
i686: 'e1a0efa63cf40683ddfd90ca181f43e50d87bbf6179774f976e6cc8f917f0205',
x86_64: '8f462f3de1a19f67a36e6752124da213add709a075cd8bc52815452d9bf68b16'
}) })
depends_on 'alsa_lib' depends_on 'acl' # R
depends_on 'alsa_lib' # R
depends_on 'atk' # R
depends_on 'at_spi2_core' # R
depends_on 'cairo' depends_on 'cairo'
depends_on 'freetype' => :build depends_on 'dbus' # R
depends_on 'giflib' depends_on 'freetype' # R
depends_on 'gpm' depends_on 'gcc' # R
depends_on 'gtk3' depends_on 'gdk_pixbuf' # R
depends_on 'harfbuzz' depends_on 'giflib' # R
depends_on 'jansson' depends_on 'glibc' # R
depends_on 'libjpeg' depends_on 'glib' # R
depends_on 'libotf' depends_on 'gmp' # R
depends_on 'libpng' depends_on 'gnutls' # R
depends_on 'librsvg' depends_on 'gpm' # R
depends_on 'libtiff' depends_on 'gtk3' # R
depends_on 'harfbuzz' # R
depends_on 'jansson' # R
depends_on 'lcms' # R
depends_on 'libice' # R
depends_on 'libjpeg' # R
depends_on 'libotf' # R
depends_on 'libpng' # R
depends_on 'librsvg' # R
depends_on 'libsm' # R
depends_on 'libsoup2' # R
depends_on 'libtiff' # R
depends_on 'libx11' # R
depends_on 'libxcb' # R
depends_on 'libxcomposite' # R
depends_on 'libxext' # R
depends_on 'libxfixes' # R
depends_on 'libxinerama' # R
depends_on 'libxml2' # R
depends_on 'libxpm' # R
depends_on 'libxrandr' # R
depends_on 'libxrender' # R
depends_on 'ncurses' # R
depends_on 'pango' # R
depends_on 'texinfo' depends_on 'texinfo'
depends_on 'webkit2gtk' depends_on 'webkit2gtk'
depends_on 'zlibpkg' # R
def self.build def self.build
system 'NOCONFIGURE=1 ./autogen.sh' system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "env #{CREW_ENV_OPTIONS} \ system "./configure \
./configure \
--enable-link-time-optimization \ --enable-link-time-optimization \
--localstatedir=#{CREW_PREFIX}/share \ --localstatedir=#{CREW_PREFIX}/share \
--prefix=#{CREW_PREFIX} \ --prefix=#{CREW_PREFIX} \
@@ -55,8 +75,6 @@ class Gemacs < Package
--without-gconf \ --without-gconf \
--without-gsettings \ --without-gsettings \
--without-selinux \ --without-selinux \
--without-x \
--with-pgtk \
--with-png=yes \ --with-png=yes \
--with-rsvg=yes \ --with-rsvg=yes \
--with-sound=alsa \ --with-sound=alsa \
@@ -69,6 +87,6 @@ class Gemacs < Package
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
FileUtils.install 'src/emacs', "#{CREW_DEST_PREFIX}/bin/gemacs", mode: 0o755 FileUtils.install 'src/emacs', "#{CREW_DEST_PREFIX}/bin/gemacs", mode: 0o755
FileUtils.install "src/emacs-#{@_ver}", "#{CREW_DEST_PREFIX}/bin/gemacs-#{@_ver}", mode: 0o755 FileUtils.install 'src/emacs', "#{CREW_DEST_PREFIX}/bin/gemacs-#{version}", mode: 0o755
end end
end end

View File

@@ -3,29 +3,34 @@ require 'package'
class Geocode_glib < Package class Geocode_glib < Package
description 'Helper library for geocoding services' description 'Helper library for geocoding services'
homepage 'https://gitlab.gnome.org/GNOME/geocode-glib' homepage 'https://gitlab.gnome.org/GNOME/geocode-glib'
version '3.26.2' version '3.26.4'
license 'LGPL-2' license 'LGPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/GNOME/geocode-glib/archive/3.26.2.tar.gz' source_url 'https://github.com/GNOME/geocode-glib/archive/3.26.4.tar.gz'
source_sha256 '589ed8cf890fb47619ad1062b7117d16104554078b837344496d603d0896ec20' source_sha256 'cd4464f74add58584f04e6a7f16347f07caf271509e0b7ef067a4170b74518c9'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.2_armv7l/geocode_glib-3.26.2-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.4_armv7l/geocode_glib-3.26.4-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.2_armv7l/geocode_glib-3.26.2-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.4_armv7l/geocode_glib-3.26.4-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.2_i686/geocode_glib-3.26.2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.4_i686/geocode_glib-3.26.4-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.2_x86_64/geocode_glib-3.26.2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib/3.26.4_x86_64/geocode_glib-3.26.4-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'f74ba83a0df6933228dd95b002338a8240fc2b214607aed1336ff39977ac1eb6', aarch64: 'b4c19b4b56d86ca0ce4d5a98f0b87f09ba883e5363e271277c0419a72ece6fa3',
armv7l: 'f74ba83a0df6933228dd95b002338a8240fc2b214607aed1336ff39977ac1eb6', armv7l: 'b4c19b4b56d86ca0ce4d5a98f0b87f09ba883e5363e271277c0419a72ece6fa3',
i686: '14df38272b852f20219f566d0e3af5d1d80f9f1764d2058810225c351f1372bb', i686: 'dcdf9e3856df49de22b152614b63192c9ea9456e3cbb5698933cf85a608c4120',
x86_64: 'e09c747ba0471e2a50205b0d107832aa3f3828425e0ffaf0bb1b67568c3b369c' x86_64: '7149daebea7923591edbabf59b14e328421880aaac8c8147ba4ac0c0838b5d19'
}) })
depends_on 'json_glib' depends_on 'json_glib'
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'gobject_introspection' => :build depends_on 'gobject_introspection' => :build
depends_on 'gtk_doc' => :build depends_on 'gtk_doc' => :build
depends_on 'py3_pygments' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'libsoup2' # R
gnome
def self.patch def self.patch
system "sed -i 's/gnome/Adwaita/' icons/meson.build" system "sed -i 's/gnome/Adwaita/' icons/meson.build"
@@ -33,7 +38,6 @@ class Geocode_glib < Package
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dsystemd=false \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'

53
packages/geocode_glib2.rb Normal file
View File

@@ -0,0 +1,53 @@
require 'package'
class Geocode_glib2 < Package
description 'Helper library for geocoding services'
homepage 'https://gitlab.gnome.org/GNOME/geocode-glib'
version '3.26.4'
license 'LGPL-2'
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/geocode-glib/-/archive/3.26.4/geocode-glib-3.26.4.tar.bz2'
source_sha256 'b94b7cc015825b4ad64d293093f9881f1bab6837dd2500a88d12869264332e41'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib2/3.26.4_armv7l/geocode_glib2-3.26.4-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib2/3.26.4_armv7l/geocode_glib2-3.26.4-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib2/3.26.4_i686/geocode_glib2-3.26.4-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/geocode_glib2/3.26.4_x86_64/geocode_glib2-3.26.4-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: 'cb9343b3fdd5be728e673e91d6cf3f91e25418fd32aad29a92334df2ef69e3fc',
armv7l: 'cb9343b3fdd5be728e673e91d6cf3f91e25418fd32aad29a92334df2ef69e3fc',
i686: '9aa73a48a884e62ea5c1428670bcaa7564a192f7f5d40142d89a51694348d1ff',
x86_64: '391362270a3104e5cfbc1a7fc96d8faada59d4d262f1d6dcc74c034136465456'
})
depends_on 'json_glib'
depends_on 'libsoup'
depends_on 'gobject_introspection' => :build
depends_on 'gtk_doc' => :build
depends_on 'py3_pygments' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'gcc' # R
gnome
def self.patch
system "sed -i 's/gnome/Adwaita/' icons/meson.build"
end
def self.build
system "meson #{CREW_MESON_OPTIONS} \
-Dsoup2=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
# Conficts with geocode_glib
FileUtils.rm_rf "#{CREW_DEST_PREFIX}/share/icons"
end
end

View File

@@ -3,29 +3,32 @@ require 'package'
class Gexiv2 < Package class Gexiv2 < Package
description 'gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.' description 'gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.'
homepage 'https://wiki.gnome.org/Projects/gexiv2/' homepage 'https://wiki.gnome.org/Projects/gexiv2/'
@_ver = '0.12.2' @_ver = '0.14.0'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'LGPL-2.1+ and GPL-2' license 'LGPL-2.1+ and GPL-2'
compatibility 'all' compatibility 'all'
source_url "https://download.gnome.org/sources/gexiv2/#{@_ver_prelastdot}/gexiv2-#{@_ver}.tar.xz" source_url "https://download.gnome.org/sources/gexiv2/#{@_ver_prelastdot}/gexiv2-#{@_ver}.tar.xz"
source_sha256 '2322b552aca330eef79724a699c51a302345d5e074738578b398b7f2ff97944c' source_sha256 'e58279a6ff20b6f64fa499615da5e9b57cf65ba7850b72fafdf17221a9d6d69e'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.12.2_armv7l/gexiv2-0.12.2-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.14.0_armv7l/gexiv2-0.14.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.12.2_armv7l/gexiv2-0.12.2-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.14.0_armv7l/gexiv2-0.14.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.12.2_i686/gexiv2-0.12.2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.14.0_i686/gexiv2-0.14.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.12.2_x86_64/gexiv2-0.12.2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gexiv2/0.14.0_x86_64/gexiv2-0.14.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '305a56146c461035262b294710aacb8e5401d2bcee8e1828661e35e78b5bf47e', aarch64: '25bf888e23ceedb54f8adfa3b87737e66ad03ef9e6fc6292bb5888ea443ad8f7',
armv7l: '305a56146c461035262b294710aacb8e5401d2bcee8e1828661e35e78b5bf47e', armv7l: '25bf888e23ceedb54f8adfa3b87737e66ad03ef9e6fc6292bb5888ea443ad8f7',
i686: '278e97c62e7dbc3e8f68fffd8c7ac0802ddf07db1dd9f623ce309f598173db12', i686: 'f30043519e9bfd162de74b32c1b788d7876eaf9a03b3dfdcd384fda40455ea84',
x86_64: '81500e05e77186cad22c4e000af94395e760b502913920245015417fae5ba94c' x86_64: '1a1f1d403dd3f65e8d84001a8cefb35ec7ab42fcf1dc865181221d8dacaa3c76'
}) })
depends_on 'libexiv2' depends_on 'libexiv2'
depends_on 'gobject_introspection' depends_on 'gobject_introspection'
depends_on 'gcc' # R
depends_on 'glib' # R
depends_on 'glibc' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,23 +3,23 @@ require 'package'
class Ghostscript < Package class Ghostscript < Package
description 'Interpreter for the PostScript language' description 'Interpreter for the PostScript language'
homepage 'https://www.ghostscript.com/' homepage 'https://www.ghostscript.com/'
version '9.54' version '10.0.0'
license 'AGPL-3+' license 'AGPL-3+'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/ghostpdl-9.54.0.tar.xz' source_url 'https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/ghostpdl-10.0.0.tar.xz'
source_sha256 'ecbaa2e79e6d82cab8d0fbdfd899aa4fc68ffb43f6901d547d33ca7008fe1871' source_sha256 '8f2b7941f60df694b4f5c029b739007f7c4e0d43858471ae481e319a967d5d8b'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/9.54_armv7l/ghostscript-9.54-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/10.0.0_armv7l/ghostscript-10.0.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/9.54_armv7l/ghostscript-9.54-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/10.0.0_armv7l/ghostscript-10.0.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/9.54_i686/ghostscript-9.54-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/10.0.0_i686/ghostscript-10.0.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/9.54_x86_64/ghostscript-9.54-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ghostscript/10.0.0_x86_64/ghostscript-10.0.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'a2fee20357654918f2deac0d7af356c84898e282d008906ede6b424fd95fd549', aarch64: '82c15db8a46f73fcf467fd36bdc1d9713bfe35e1fd269408a75232967400ebf4',
armv7l: 'a2fee20357654918f2deac0d7af356c84898e282d008906ede6b424fd95fd549', armv7l: '82c15db8a46f73fcf467fd36bdc1d9713bfe35e1fd269408a75232967400ebf4',
i686: 'f68277f2d042311835bf70828dcae6ce281d5cb376e4d525d63e1858012ab30d', i686: '91dfb5bab16d31c3418c57cae464f0b2377f0e19d0057cec751ef8b14f50b9aa',
x86_64: '92ac6123594ea3fe04474e7654785a599f65b57884f5931b71bfeb63100b0741' x86_64: 'c3c1f1ac1c31ea6a465367504156c18d47bae8b1ecbaee3b118e3bbc3b25a5a9'
}) })
depends_on 'atk' depends_on 'atk'
@@ -43,13 +43,11 @@ class Ghostscript < Package
depends_on 'libxt' depends_on 'libxt'
depends_on 'openjpeg' depends_on 'openjpeg'
depends_on 'pango' depends_on 'pango'
depends_on 'expat' # R
case ARCH depends_on 'gcc' # R
when 'armv7l', 'aarch64' depends_on 'glibc' # R
@ltoflags = '' depends_on 'libarchive' # R
when 'x86_64', 'i686' depends_on 'zlibpkg' # R
@ltoflags = '-flto'
end
def self.patch def self.patch
system 'rm -r cups/libs expat ijs jpeg lcms2mt libpng openjpeg tiff zlib' system 'rm -r cups/libs expat ijs jpeg lcms2mt libpng openjpeg tiff zlib'
@@ -58,9 +56,7 @@ class Ghostscript < Package
def self.build def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh' system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system 'filefix' system 'filefix'
system "env CFLAGS='-pipe -fuse-ld=gold #{@ltoflags}' \ system "./configure #{CREW_OPTIONS} \
CXXFLAGS='-pipe -fuse-ld=gold #{@ltoflags}' \
./configure #{CREW_OPTIONS} \
--disable-compile-inits \ --disable-compile-inits \
--enable-dynamic \ --enable-dynamic \
--enable-fontconfig \ --enable-fontconfig \

View File

@@ -3,23 +3,23 @@ require 'package'
class Gimp < Package class Gimp < Package
description 'GIMP is a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems.' description 'GIMP is a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems.'
homepage 'https://www.gimp.org/' homepage 'https://www.gimp.org/'
version '2.10.24' version '2.99.12'
license 'GPL-3 and LGPL-3' license 'GPL-3 and LGPL-3'
compatibility 'all' compatibility 'all'
source_url 'https://download.gimp.org/pub/gimp/v2.10/gimp-2.10.24.tar.bz2' source_url 'https://download.gimp.org/gimp/v2.99/gimp-2.99.12.tar.xz'
source_sha256 'bd1bb762368c0dd3175cf05006812dd676949c3707e21f4e6857435cb435989e' source_sha256 '7ba1b032ea520d540e4acad3da16d8637fe693743fdb36e0121775eea569f6a3'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.10.24_armv7l/gimp-2.10.24-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.99.12_armv7l/gimp-2.99.12-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.10.24_armv7l/gimp-2.10.24-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.99.12_armv7l/gimp-2.99.12-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.10.24_i686/gimp-2.10.24-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.99.12_i686/gimp-2.99.12-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.10.24_x86_64/gimp-2.10.24-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gimp/2.99.12_x86_64/gimp-2.99.12-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '6867db24428a1509ac14459f29944a2fbb0a81e8a509b39cd2b7c837fd48fd00', aarch64: '5c1931f8777aae220461de92f9b7b78df10d4bdbd014b424743d822ccffdddc4',
armv7l: '6867db24428a1509ac14459f29944a2fbb0a81e8a509b39cd2b7c837fd48fd00', armv7l: '5c1931f8777aae220461de92f9b7b78df10d4bdbd014b424743d822ccffdddc4',
i686: '6e8faf363dca5a4ae3e1f9eedf05c771016c24256ee67df5a39c586fe565ff0d', i686: '806cc6a0a7c88951a14bb950be00fe223a667626f3e521561ee7e96286bb9d0b',
x86_64: 'a930aebb265c21d07c8ed0d3e754ca60fe98232335089647d49b294832cdd3d4' x86_64: '79d97b23ae1263e4dfd42bc557d18a8e232954fedb630987383f7ed9cbed76be'
}) })
depends_on 'aalib' depends_on 'aalib'
@@ -65,31 +65,40 @@ class Gimp < Package
depends_on 'libxmu' depends_on 'libxmu'
depends_on 'libxpm' depends_on 'libxpm'
depends_on 'libxt' depends_on 'libxt'
depends_on 'mypaint_brushes' depends_on 'luajit'
depends_on 'luajit_lgi'
depends_on 'mypaint_brushes_1'
depends_on 'openexr' depends_on 'openexr'
depends_on 'openjpeg' depends_on 'openjpeg'
depends_on 'pango' depends_on 'pango'
depends_on 'poppler' depends_on 'poppler'
depends_on 'poppler_data' depends_on 'poppler_data'
depends_on 'py3_pycairo'
depends_on 'pygtk' depends_on 'pygtk'
depends_on 'shared_mime_info' depends_on 'shared_mime_info'
depends_on 'xdg_base' depends_on 'xdg_base'
depends_on 'sommelier' depends_on 'sommelier'
depends_on 'appstream_glib' # R
depends_on 'bz2' # R
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'gtk3' # R
depends_on 'libarchive' # R
depends_on 'libjxl' # R
depends_on 'xzutils' # R
depends_on 'zlibpkg' # R
gnome
def self.build def self.build
system "env CFLAGS='-pipe -flto=auto -fuse-ld=gold' \ system "meson \
CXXFLAGS='-pipe -flto=auto -fuse-ld=gold' \ #{CREW_MESON_OPTIONS} \
LDFLAGS='-flto' \ -Dbug-report-url=https://github.com/chromebrew/chromebrew/issues \
LIBS='-lm' \ builddir"
datarootdir=#{CREW_PREFIX}/share \ system 'meson configure builddir'
./configure \ system 'ninja -C builddir'
#{CREW_OPTIONS} \
--with-icc-directory=#{CREW_PREFIX}/share/color/icc \
--disable-maintainer-mode"
system 'make'
end end
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end

View File

@@ -3,24 +3,24 @@ require 'package'
class Git < Package class Git < Package
description 'Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.' description 'Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.'
homepage 'https://git-scm.com/' homepage 'https://git-scm.com/'
@_ver = '2.38.0' @_ver = '2.38.1'
version @_ver version @_ver
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.38.0.tar.xz' source_url 'https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.38.1.tar.xz'
source_sha256 '923eade26b1814de78d06bda8e0a9f5da8b7c4b304b3f9050ffb464f0310320a' source_sha256 '97ddf8ea58a2b9e0fbc2508e245028ca75911bd38d1551616b148c1aa5740ad9'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.0_armv7l/git-2.38.0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.1_armv7l/git-2.38.1-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.0_armv7l/git-2.38.0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.1_armv7l/git-2.38.1-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.0_i686/git-2.38.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.1_i686/git-2.38.1-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.0_x86_64/git-2.38.0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/git/2.38.1_x86_64/git-2.38.1-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: '14c5aa369d3bbea0122c17228cc2123d8fcd055c2f4e03c3bf164fd177380f00', aarch64: '7906d63c0541c10a3195c8735dd18003f84d583cc2ca1ebc8f5dedc6ef80a456',
armv7l: '14c5aa369d3bbea0122c17228cc2123d8fcd055c2f4e03c3bf164fd177380f00', armv7l: '7906d63c0541c10a3195c8735dd18003f84d583cc2ca1ebc8f5dedc6ef80a456',
i686: '98eb7a1935c8d3af328be87ccc023fc4e08fbf7ddbfdafb3957c529d1b2c5be1', i686: '35181a0c42269a0504f083a63afe809abd4e649e8673e48e772f03e63abfaf50',
x86_64: '5292a96fbd2c230395535311b696a9f87a3f337f104927b1ce39a31713da0653' x86_64: '9f87306b698fc16beebc67c96186cb511eddeb3062a1b1db6daa2adf0fb83732'
}) })
depends_on 'ca_certificates' => :build depends_on 'ca_certificates' => :build
@@ -28,6 +28,8 @@ class Git < Package
depends_on 'libunistring' depends_on 'libunistring'
depends_on 'pcre2' depends_on 'pcre2'
depends_on 'zlibpkg' depends_on 'zlibpkg'
depends_on 'expat' # R
depends_on 'glibc' # R
no_patchelf no_patchelf
no_zstd no_zstd
@@ -35,12 +37,12 @@ class Git < Package
def self.patch def self.patch
# Patch to prevent error function conflict with libidn2 # Patch to prevent error function conflict with libidn2
# By replacing all calls to error with git_error. # By replacing all calls to error with git_error.
system "sed -i 's,^#undef error\$,#undef git_error,' usage.c" system "sed -i 's,^#undef error$,#undef git_error,' usage.c"
sedcmd = 's/\([[:blank:]]\)error(/\1git_error(/'.dump sedcmd = 's/\([[:blank:]]\)error(/\1git_error(/'.dump
system "grep -rl '[[:space:]]error(' . | xargs sed -i #{sedcmd}" system "grep -rl '[[:space:]]error(' . | xargs sed -i #{sedcmd}"
sedcmd2 = 's/\([[:blank:]]\)error (/\1git_error (/'.dump sedcmd2 = 's/\([[:blank:]]\)error (/\1git_error (/'.dump
system "grep -rl '[[:space:]]error (' . | xargs sed -i #{sedcmd2}" system "grep -rl '[[:space:]]error (' . | xargs sed -i #{sedcmd2}"
system "grep -rl ' !!error(' . | xargs sed -i 's/ \!\!error(/ \!\!git_error(/g'" system "grep -rl ' !!error(' . | xargs sed -i 's/ !!error(/ !!git_error(/g'"
system "sed -i 's/#define git_error(...) (error(__VA_ARGS__), const_error())/#define git_error(...) (git_error(__VA_ARGS__), const_error())/' git-compat-util.h" system "sed -i 's/#define git_error(...) (error(__VA_ARGS__), const_error())/#define git_error(...) (git_error(__VA_ARGS__), const_error())/' git-compat-util.h"
# CMake patches. # CMake patches.
# Avoid undefined reference to `trace2_collect_process_info' & `obstack_free' # Avoid undefined reference to `trace2_collect_process_info' & `obstack_free'
@@ -50,9 +52,9 @@ class Git < Package
system "sed -i 's,set(PERL_PATH /usr/bin/perl),set(PERL_PATH #{CREW_PREFIX}/bin/perl),g' contrib/buildsystems/CMakeLists.txt" system "sed -i 's,set(PERL_PATH /usr/bin/perl),set(PERL_PATH #{CREW_PREFIX}/bin/perl),g' contrib/buildsystems/CMakeLists.txt"
system "sed -i 's,#!/usr/bin,#!#{CREW_PREFIX}/bin,g' contrib/buildsystems/CMakeLists.txt" system "sed -i 's,#!/usr/bin,#!#{CREW_PREFIX}/bin,g' contrib/buildsystems/CMakeLists.txt"
# Without the following DESTDIR doesn't work. # Without the following DESTDIR doesn't work.
system "sed -i 's,\${CMAKE_INSTALL_PREFIX}/bin/git,\${CMAKE_BINARY_DIR}/git,g' contrib/buildsystems/CMakeLists.txt" system "sed -i 's,${CMAKE_INSTALL_PREFIX}/bin/git,${CMAKE_BINARY_DIR}/git,g' contrib/buildsystems/CMakeLists.txt"
system "sed -i 's,\${CMAKE_INSTALL_PREFIX}/bin/git,\\\\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin/git,g' contrib/buildsystems/CMakeLists.txt" system "sed -i 's,${CMAKE_INSTALL_PREFIX}/bin/git,\\\\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/git,g' contrib/buildsystems/CMakeLists.txt"
system "sed -i 's,\${CMAKE_INSTALL_PREFIX},\\\\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX},g' contrib/buildsystems/CMakeLists.txt" system "sed -i 's,${CMAKE_INSTALL_PREFIX},\\\\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX},g' contrib/buildsystems/CMakeLists.txt"
end end
def self.build def self.build

View File

@@ -2,26 +2,25 @@ require 'package'
class Gjs < Package class Gjs < Package
description 'Javascript Bindings for GNOME' description 'Javascript Bindings for GNOME'
@_ver = '1.71.1' @_ver = '1.74.0'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'MIT and MPL-1.1, LGPL-2+ or GPL-2+' license 'MIT and MPL-1.1, LGPL-2+ or GPL-2+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gjs.git' source_url 'https://gitlab.gnome.org/GNOME/gjs.git'
git_branch 'mozjs91' git_hashtag version
git_hashtag 'e41f247f8c170d125ce968ed236ae7249e966178'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gjs/1.71.1_armv7l/gjs-1.71.1-chromeos-armv7l.tpxz', 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.71.1_armv7l/gjs-1.71.1-chromeos-armv7l.tpxz', 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.71.1_i686/gjs-1.71.1-chromeos-i686.tpxz', 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.71.1_x86_64/gjs-1.71.1-chromeos-x86_64.tpxz' 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({ binary_sha256({
aarch64: 'f13e6ea4b094df81d3c48a0a46cc095651c43490785f4f40062078427899edb3', aarch64: '06cec6c34dc4656735a526af6d74d02452dd34de1654c46efd327a5c80932982',
armv7l: 'f13e6ea4b094df81d3c48a0a46cc095651c43490785f4f40062078427899edb3', armv7l: '06cec6c34dc4656735a526af6d74d02452dd34de1654c46efd327a5c80932982',
i686: '5bbb9d5c10377d3de0d388f2e9e65f0ad6c187e2d25ab29ebcf92cfcb58a6050', i686: 'c1b996c78fd6ab6ca1419101d1e63cff1726c458275bac1e2084ae40f3a7dfad',
x86_64: '84cf5ab2dbe09170b7a60dc005988d97cbc573e064484935d91de910e3402d00' x86_64: 'decdaf546dac3ccee260617d756619892cd443f6b42c19b56318feae913cc31e'
}) })
depends_on 'cairo' # R depends_on 'cairo' # R
@@ -29,13 +28,20 @@ class Gjs < Package
depends_on 'dconf' => :build depends_on 'dconf' => :build
depends_on 'glib' # R depends_on 'glib' # R
depends_on 'gobject_introspection' # R depends_on 'gobject_introspection' # R
depends_on 'js91' depends_on 'js102'
depends_on 'libx11' # R depends_on 'libx11' # R
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'libffi' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dinstalled_tests=false \ -Dinstalled_tests=false \
-Dskip_dbus_tests=true \ -Dskip_dbus_tests=true \
-Dskip_gtk_tests=true \
-Dprofiler=disabled \
-Dreadline=disabled \ -Dreadline=disabled \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'

View File

@@ -3,7 +3,7 @@ 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'
@_ver = '2.73.3' @_ver = '2.74.0'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'LGPL-2.1' license 'LGPL-2.1'
@@ -12,16 +12,16 @@ class Glib < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.73.3_armv7l/glib-2.73.3-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.74.0_armv7l/glib-2.74.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.73.3_armv7l/glib-2.73.3-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.74.0_armv7l/glib-2.74.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.73.3_i686/glib-2.73.3-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.74.0_i686/glib-2.74.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.73.3_x86_64/glib-2.73.3-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glib/2.74.0_x86_64/glib-2.74.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e9f48baa0b5b5a7e26c66222c4ad2755dbc2c3ebd0c0a289bcf18692c6db66ce', aarch64: '4205a27eaa3e549cf17f1b8ea845ae95879c8ee06049bdae4f3968ef414125f2',
armv7l: 'e9f48baa0b5b5a7e26c66222c4ad2755dbc2c3ebd0c0a289bcf18692c6db66ce', armv7l: '4205a27eaa3e549cf17f1b8ea845ae95879c8ee06049bdae4f3968ef414125f2',
i686: '42375aaa9269c03b17cbb4be28e731e8715fdad2bcf8bbaa1d5173b735c2494a', i686: '5ef65a1320355c2c57078ee7ad80c5bdad3aade1916539b079ef9a5044c52b07',
x86_64: 'a6371052a98f6b20a9f00fb0ebe082d36d1933a18c258a4004f94d5052ec0284' x86_64: '6deeb6fc9445a6ada5a1b2528f2a0406ae5d6ea8e90d5817511abec33c2a1d7a'
}) })
depends_on 'elfutils' # R depends_on 'elfutils' # R
@@ -32,6 +32,7 @@ class Glib < Package
depends_on 'shared_mime_info' # L depends_on 'shared_mime_info' # L
depends_on 'util_linux' # R depends_on 'util_linux' # R
depends_on 'zlibpkg' # R depends_on 'zlibpkg' # R
depends_on 'pcre2' # R
no_env_options no_env_options
patchelf patchelf
gnome gnome
@@ -41,9 +42,10 @@ class Glib < Package
-Dselinux=disabled \ -Dselinux=disabled \
-Dsysprof=disabled \ -Dsysprof=disabled \
-Dman=false \ -Dman=false \
-Dtests=false \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'mold -run ninja -C builddir'
end end
def self.install def self.install

View File

@@ -1,38 +1,39 @@
require 'package' require 'package'
class Glibmm_2_68 < Package class Glibmm_2_68 < Package
description 'C++ bindings for GLib' description 'C++ bindings for GLib api version 2.68'
homepage 'https://www.gtkmm.org' homepage 'https://www.gtkmm.org'
@_ver = '2.68.0' @_ver = '2.74.0'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url "https://ftp.gnome.org/pub/GNOME/sources/glibmm/#{@_ver_prelastdot}/glibmm-#{@_ver}.tar.xz" source_url "https://ftp.gnome.org/pub/GNOME/sources/glibmm/#{@_ver_prelastdot}/glibmm-#{@_ver}.tar.xz"
source_sha256 'c1f38573191dceed85a05600888cf4cf4695941f339715bd67d51c2416f4f375' source_sha256 '2b472696cbac79db8e405724118ec945219c5b9b18af63dc8cfb7f1d89b0f1fa'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.68.0_armv7l/glibmm_2_68-2.68.0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.74.0_armv7l/glibmm_2_68-2.74.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.68.0_armv7l/glibmm_2_68-2.68.0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.74.0_armv7l/glibmm_2_68-2.74.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.68.0_i686/glibmm_2_68-2.68.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.74.0_i686/glibmm_2_68-2.74.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.68.0_x86_64/glibmm_2_68-2.68.0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glibmm_2_68/2.74.0_x86_64/glibmm_2_68-2.74.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'ac6be3527b1b77d5a31c0f9af2a382c8793805541c30d0c1050fde4da99d110a', aarch64: 'b464088efb05c2cb1b403c1b60f4c17fb6bac1e522430175c0469d5cfc2f71a7',
armv7l: 'ac6be3527b1b77d5a31c0f9af2a382c8793805541c30d0c1050fde4da99d110a', armv7l: 'b464088efb05c2cb1b403c1b60f4c17fb6bac1e522430175c0469d5cfc2f71a7',
i686: 'ffe1dae2a2d674a62d07c00798b329203680442424623c7dc3ed5efa2747f3f0', i686: '80f5820530d743a99b18df63652e797bcb85c4215e9b8a9e39074d6b63765530',
x86_64: '71c115fd638c96c9244602f149709876e83f31f245a4ec8b843fa054d4dbcac5' x86_64: 'b9583ce77a34e5fa1138f47d25761eea9a06068d31caf6f8652f3d035f93b5ab'
}) })
depends_on 'libsigcplusplus3' depends_on 'libsigcplusplus3'
depends_on 'mm_common' => :build depends_on 'mm_common' => :build
depends_on 'gcc' # R
depends_on 'glib' # R
depends_on 'glibc' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
--default-library=both \ --default-library=both \
-Dbuild-documentation=false \ -Dbuild-documentation=false \
-Dbuild-demos=false \
-Dbuild-tests=false \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'

View File

@@ -6,37 +6,44 @@ require 'package'
class Glmark2 < Package class Glmark2 < Package
description 'OpenGL ES 2.0 benchmark' description 'OpenGL ES 2.0 benchmark'
homepage 'https://github.com/glmark2/glmark2' homepage 'https://github.com/glmark2/glmark2'
version '2020.04' version '2021.12-9057c05'
license 'GPL-3' license 'GPL-3'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/glmark2/glmark2/archive/2020.04.tar.gz' source_url 'https://github.com/glmark2/glmark2/archive/9057c056b6e72d156c0bc7e4b52658e155760222.zip'
source_sha256 '0fa7723111c928a73c04d4fa4adfc15a9dea6d335fe189f59c74ae5af26f99a2' source_sha256 'fd37e6360f03f8ffcd236eb39ee1cb42c487edd0418441c22e375ec5e499297d'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2020.04_armv7l/glmark2-2020.04-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2021.12-9057c05_armv7l/glmark2-2021.12-9057c05-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2020.04_armv7l/glmark2-2020.04-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2021.12-9057c05_armv7l/glmark2-2021.12-9057c05-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2020.04_i686/glmark2-2020.04-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2021.12-9057c05_i686/glmark2-2021.12-9057c05-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2020.04_x86_64/glmark2-2020.04-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glmark2/2021.12-9057c05_x86_64/glmark2-2021.12-9057c05-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e4a59d48fdb44be2e3a8cbec3c0b9cd5c10a1dae8d07121010fd73b6986015d2', aarch64: '6faaae26b628926374967d5a9b77e0e137af8403608c3a2eb191807b140a2418',
armv7l: 'e4a59d48fdb44be2e3a8cbec3c0b9cd5c10a1dae8d07121010fd73b6986015d2', armv7l: '6faaae26b628926374967d5a9b77e0e137af8403608c3a2eb191807b140a2418',
i686: '49227b2fdedf881b927ca755404164587daf56ed1968854f2bb03071724d52a5', i686: 'e1104ae684d7257691eb2c19e556e2547edd8ba464e58634105aeb62a35cb57c',
x86_64: '32ed34762096df02768643f7781c7e1a587ce95e6cfd0a5ddbf6c4720b87d923' x86_64: '8343d0404f69f2b1e064fdd7d8c4675bd2600b8d30cbb6cdaae99f207a6594e3'
}) })
depends_on 'libjpeg_turbo' depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'libdrm'
depends_on 'libjpeg'
depends_on 'libpng' depends_on 'libpng'
depends_on 'libx11' depends_on 'libx11'
depends_on 'libxcb' depends_on 'libxcb'
depends_on 'python2' depends_on 'wayland'
def self.build def self.build
system "python2 ./waf configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} --with-flavors x11-gl,x11-glesv2" system "meson \
system 'python2 ./waf' #{CREW_MESON_OPTIONS} \
-Dflavors=drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2 \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end end
def self.install def self.install
system "python2 ./waf install --destdir=#{CREW_DEST_DIR}/" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end

View File

@@ -3,7 +3,7 @@ require 'package'
class Gmmlib < Package class Gmmlib < Package
description 'The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI.' description 'The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI.'
homepage 'https://github.com/intel/gmmlib/' homepage 'https://github.com/intel/gmmlib/'
@_ver = '21.2.1' @_ver = '22.2.0'
version @_ver version @_ver
license 'MIT' license 'MIT'
compatibility 'x86_64' compatibility 'x86_64'
@@ -11,13 +11,15 @@ class Gmmlib < Package
git_hashtag "intel-gmmlib-#{@_ver}" git_hashtag "intel-gmmlib-#{@_ver}"
binary_url({ binary_url({
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gmmlib/21.2.1_x86_64/gmmlib-21.2.1-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gmmlib/22.2.0_x86_64/gmmlib-22.2.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
x86_64: '99d879841a2c3d0d9d02438ae37720bec7b02f68ba177b52992b0fac6092bf1d' x86_64: 'b9e65594d3579bd7a3a72c477c7ccdc21a83bcdfa24f2e49336df1e3d22a32f8'
}) })
depends_on 'libva' depends_on 'libva'
depends_on 'gcc' # R
depends_on 'glibc' # R
def self.build def self.build
FileUtils.mkdir('builddir') FileUtils.mkdir('builddir')

View File

@@ -3,24 +3,24 @@ require 'package'
class Gnome_autoar < Package class Gnome_autoar < Package
description 'Automatic archives creating and extracting library' description 'Automatic archives creating and extracting library'
homepage 'https://wiki.gnome.org/TingweiLan/GSoC2013Final' homepage 'https://wiki.gnome.org/TingweiLan/GSoC2013Final'
@_ver = '0.3.1' @_ver = '0.4.3'
version "#{@_ver}-1" version "#{@_ver}-1"
license 'LGPL-2.1' license 'LGPL-2.1'
compatibility 'all' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gnome-autoar/-/archive/#{@_ver}/gnome-autoar-#{@_ver}.tar.bz2" source_url "https://gitlab.gnome.org/GNOME/gnome-autoar/-/archive/#{@_ver}/gnome-autoar-#{@_ver}.tar.bz2"
source_sha256 '22a69b610697386a2c0edaa7aa64cc3b45e655d7fd5fe14f71d4d196c5747eab' source_sha256 'c1331da864affe666ccaf70788380665d1636f9d3e414ee74e072462a69a6f33'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.3.1-1_armv7l/gnome_autoar-0.3.1-1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.4.3-1_armv7l/gnome_autoar-0.4.3-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.3.1-1_armv7l/gnome_autoar-0.3.1-1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.4.3-1_armv7l/gnome_autoar-0.4.3-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.3.1-1_i686/gnome_autoar-0.3.1-1-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.4.3-1_i686/gnome_autoar-0.4.3-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.3.1-1_x86_64/gnome_autoar-0.3.1-1-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_autoar/0.4.3-1_x86_64/gnome_autoar-0.4.3-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'd39da19ad4e07e32fdd631512d9be881b1b3d35169db87c681b20ae56ba027af', aarch64: '46c212fe9d8d07407f9a6e584ca59aec9203fb5f7da916eaf9ac2524eba5398c',
armv7l: 'd39da19ad4e07e32fdd631512d9be881b1b3d35169db87c681b20ae56ba027af', armv7l: '46c212fe9d8d07407f9a6e584ca59aec9203fb5f7da916eaf9ac2524eba5398c',
i686: 'b688460904880b84c9ccecab6f2affe9ee07674110ce92d5f66c2c44fa0f766c', i686: 'd84704ef7a74328c5936126742b27546a2bf65a7952475fe86a32e44fad7eccb',
x86_64: '4908f3bbfd1ab6145428752bbb69d67a7b4921810d52a73e09732423e2c52ddd' x86_64: 'f5171c23c19d2f72ad51152def99143cb502b99c41d1ec850e1cdb6e741dd349'
}) })
depends_on 'atk' depends_on 'atk'
@@ -36,18 +36,17 @@ class Gnome_autoar < Package
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'pango' depends_on 'pango'
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.build def self.build
system 'NOCONFIGURE=1 ./autogen.sh' system "meson #{CREW_MESON_OPTIONS} \
system "env CFLAGS='-flto=auto' \ builddir"
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \ system 'meson configure builddir'
./configure \ system 'mold -run samu -C builddir'
#{CREW_OPTIONS} \
--enable-gtk-doc"
system 'make'
end end
def self.install def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

View File

@@ -3,24 +3,24 @@ require 'package'
class Gnome_calculator < Package class Gnome_calculator < Package
description 'GNOME desktop calculator' description 'GNOME desktop calculator'
homepage 'https://wiki.gnome.org/Apps/Calculator' homepage 'https://wiki.gnome.org/Apps/Calculator'
@_ver = '41.0' @_ver = '43.0.1'
version @_ver version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url "https://download.gnome.org/sources/gnome-calculator/#{@_ver.rpartition('.')[0]}/gnome-calculator-#{@_ver}.tar.xz"
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gnome-calculator.git' source_url 'https://gitlab.gnome.org/GNOME/gnome-calculator.git'
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/41.0_armv7l/gnome_calculator-41.0-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/43.0.1_armv7l/gnome_calculator-43.0.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/41.0_armv7l/gnome_calculator-41.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/43.0.1_armv7l/gnome_calculator-43.0.1-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/41.0_x86_64/gnome_calculator-41.0-chromeos-x86_64.tpxz' i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/43.0.1_i686/gnome_calculator-43.0.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_calculator/43.0.1_x86_64/gnome_calculator-43.0.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '3360a1f8ff9d8cdcd7bf9f951d4ab86f60568ce46332e7780d1e4998e7361d8d', aarch64: 'a6e5f0667f8ab02634ee3ff321155dc92dac7a974f9e20c4e9aa3c2c34dd1994',
armv7l: '3360a1f8ff9d8cdcd7bf9f951d4ab86f60568ce46332e7780d1e4998e7361d8d', armv7l: 'a6e5f0667f8ab02634ee3ff321155dc92dac7a974f9e20c4e9aa3c2c34dd1994',
x86_64: 'e964edff1e49d225e1db6477b0c372d204afdd78a55512617a4d62fb5445f29b' i686: '33987c06251197bdb3e4cfc66fea2db9da26bb2726ee1dee299b296f15cc85a3',
x86_64: '414afd75da3ffda9b37f3eddfc892686461ea174cce752017113700bdd76ec33'
}) })
depends_on 'py3_setuptools' => :build depends_on 'py3_setuptools' => :build
@@ -32,6 +32,16 @@ class Gnome_calculator < Package
depends_on 'libhandy' depends_on 'libhandy'
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'wayland' depends_on 'wayland'
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'gtk4' # R
depends_on 'gtksourceview_5' # R
depends_on 'libadwaita' # R
depends_on 'libxml2' # R
depends_on 'mpc' # R
depends_on 'mpfr' # R
depends_on 'gcc' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} builddir" system "meson #{CREW_MESON_OPTIONS} builddir"

61
packages/gnome_console.rb Normal file
View File

@@ -0,0 +1,61 @@
# Adapted from Arch Linux gnome-console PKGBUILD at:
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=gnome-console
require 'package'
class Gnome_console < Package
description 'A simple user-friendly terminal emulator for the GNOME desktop'
homepage 'https://gitlab.gnome.org/GNOME/console'
version '43.0'
license 'GPL3'
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/console.git'
git_hashtag version
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_console/43.0_armv7l/gnome_console-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_console/43.0_armv7l/gnome_console-43.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_console/43.0_i686/gnome_console-43.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_console/43.0_x86_64/gnome_console-43.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: 'a17b89319b29ee05699060f1081fd1a696f459d7b9667c1d72e47475bfcf9b91',
armv7l: 'a17b89319b29ee05699060f1081fd1a696f459d7b9667c1d72e47475bfcf9b91',
i686: '6c60da06b547cc5988c88b4e69fc6f8f725bd8a948ae46800735f5a8c0c5d599',
x86_64: '16dde8210402c103df444487e6e6837be5f1cc5a231db07b6596cc5b97317697'
})
depends_on 'libgtop'
depends_on 'libhandy'
depends_on 'vte'
depends_on 'sassc' => :build
depends_on 'nautilus' => :build
depends_on 'gcc' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'graphene' # R
depends_on 'gtk4' # R
depends_on 'harfbuzz' # R
depends_on 'libadwaita' # R
depends_on 'pango' # R
depends_on 'pcre2' # R
depends_on 'vulkan_icd_loader' # R
gnome
def self.build
system "meson #{CREW_MESON_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'mold -run samu -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end

View File

@@ -3,23 +3,25 @@ require 'package'
class Gnome_desktop < Package class Gnome_desktop < Package
description 'Library with common API for various GNOME modules' description 'Library with common API for various GNOME modules'
homepage 'https://gitlab.gnome.org/GNOME/gnome-desktop' homepage 'https://gitlab.gnome.org/GNOME/gnome-desktop'
@_ver = '40.3' @_ver = '43'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'GPL-2+, LGPL-2+ and FDL-1.1+' license 'GPL-2+, LGPL-2+ and FDL-1.1+'
compatibility 'x86_64 aarch64 armv7l' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gnome-desktop.git' source_url 'https://gitlab.gnome.org/GNOME/gnome-desktop.git'
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/40.3_armv7l/gnome_desktop-40.3-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/43_armv7l/gnome_desktop-43-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/40.3_armv7l/gnome_desktop-40.3-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/43_armv7l/gnome_desktop-43-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/40.3_x86_64/gnome_desktop-40.3-chromeos-x86_64.tpxz' i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/43_i686/gnome_desktop-43-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_desktop/43_x86_64/gnome_desktop-43-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '42015f607b49bda566fb307649835336bafafebf182d6a6938bee23489a8c0f9', aarch64: 'a74b7c69028d47aaf02549264b22818423cec6fef60b40ef3a25f188f5337ede',
armv7l: '42015f607b49bda566fb307649835336bafafebf182d6a6938bee23489a8c0f9', armv7l: 'a74b7c69028d47aaf02549264b22818423cec6fef60b40ef3a25f188f5337ede',
x86_64: 'c9dc4e63cc3c1e16a957e37064fd2efed590b96b5bb58b8fe3004ea2dcf825f2' i686: '4f1c5e72754b21fca772b944fa72c6e7f1b29525e9d2424bbc6f8ec6c5679f80',
x86_64: '759b39213e12c916986ba8c7913f25f7a38cba961d8b85241ba80e4aa59d8a86'
}) })
depends_on 'cairo' depends_on 'cairo'
@@ -35,7 +37,16 @@ class Gnome_desktop < Package
depends_on 'libxkbcommon' depends_on 'libxkbcommon'
depends_on 'libxkbfile' depends_on 'libxkbfile'
depends_on 'xkeyboard_config' depends_on 'xkeyboard_config'
depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader'
depends_on 'yelp_tools' => :build depends_on 'yelp_tools' => :build
depends_on 'glibc' # R
depends_on 'gtk4' # R
depends_on 'harfbuzz' # R
depends_on 'libseccomp' # R
depends_on 'gcc' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,25 +3,26 @@ require 'package'
class Gnome_maps < Package class Gnome_maps < Package
description 'A simple GNOME maps application' description 'A simple GNOME maps application'
homepage 'https://wiki.gnome.org/Apps/Maps' homepage 'https://wiki.gnome.org/Apps/Maps'
@_ver = '40.rc' @_ver = '43.0'
version @_ver version @_ver
license 'GPL-2+, LGPL-2+, MIT, CC-BY-3.0 and CC-BY-SA-3.0' license 'GPL-2+, LGPL-2+, MIT, CC-BY-3.0 and CC-BY-SA-3.0'
compatibility 'x86_64 aarch64 armv7l' compatibility 'armv7l aarch64 x86_64'
source_url "https://gitlab.gnome.org/GNOME/gnome-maps/-/archive/v#{@_ver}/gnome-maps-v#{@_ver}.tar.bz2" source_url "https://gitlab.gnome.org/GNOME/gnome-maps/-/archive/v#{@_ver}/gnome-maps-v#{@_ver}.tar.bz2"
source_sha256 'db00e0c8e5ce3c3fb3801ecf522f76751cc1f0b1d5007c6169207260143f163b' source_sha256 '5e580c23a86f6b63d7c923aac7e6351e7b6765c74298f6a811d5a398a378db12'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_maps/40.rc_armv7l/gnome_maps-40.rc-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_maps/43.0_armv7l/gnome_maps-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_maps/40.rc_armv7l/gnome_maps-40.rc-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_maps/43.0_armv7l/gnome_maps-43.0-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_maps/40.rc_x86_64/gnome_maps-40.rc-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_maps/43.0_x86_64/gnome_maps-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'a2c42ed9bb3ae39df2987dd0985ba16081b7d46f402bbd0dd18ac3310a5f6557', aarch64: 'f3f61311c9873f36bb12a0d64fef535cf92dc7ef15e88e209890e0f5d6ed2514',
armv7l: 'a2c42ed9bb3ae39df2987dd0985ba16081b7d46f402bbd0dd18ac3310a5f6557', armv7l: 'f3f61311c9873f36bb12a0d64fef535cf92dc7ef15e88e209890e0f5d6ed2514',
x86_64: '1f29fa5107fa2c36dae1d4ffa58b1ace0b76d3dafd0bd51595ac92078e39be9a' x86_64: 'f2f638b2c045495f20509ef548617f273f79116a5fd0705e7842e33f4e9ad06c'
}) })
depends_on 'geocode_glib' depends_on 'geocode_glib'
depends_on 'geocode_glib2'
depends_on 'geoclue' depends_on 'geoclue'
depends_on 'gjs' depends_on 'gjs'
depends_on 'gtk3' depends_on 'gtk3'
@@ -29,10 +30,22 @@ class Gnome_maps < Package
depends_on 'libchamplain' depends_on 'libchamplain'
depends_on 'libgee' depends_on 'libgee'
depends_on 'libhandy' depends_on 'libhandy'
depends_on 'libshumate'
depends_on 'folks' depends_on 'folks'
depends_on 'gfbgraph' depends_on 'gfbgraph'
depends_on 'gobject_introspection' => :build depends_on 'gobject_introspection' => :build
depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader'
depends_on 'yelp_tools' => :build depends_on 'yelp_tools' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'libxml2' # R
depends_on 'rest' # R
gnome
def self.patch
system "sed -i 's/geocode-glib-2.0/geocode-glib-1.0/g' meson.build"
end
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,22 +3,24 @@ require 'package'
class Gnome_session < Package class Gnome_session < Package
description 'The GNOME Session Handler' description 'The GNOME Session Handler'
homepage 'https://gitlab.gnome.org/GNOME/gnome-session' homepage 'https://gitlab.gnome.org/GNOME/gnome-session'
@_ver = '40.beta' @_ver = '43.0'
version @_ver version @_ver
license 'GPL-2+' license 'GPL-2+'
compatibility 'x86_64 aarch64 armv7l' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gnome-session/-/archive/#{@_ver}/gnome-session-#{@_ver}.tar.bz2" source_url "https://gitlab.gnome.org/GNOME/gnome-session/-/archive/#{@_ver}/gnome-session-#{@_ver}.tar.bz2"
source_sha256 '0dd8c38c29568db6ffbd2a788f12b9e93262296ffd6d4c40fc2a830099d46883' source_sha256 'a56b5a4179e4e567fb360e98ae1a1b8b8e3deed8fb0ff66d3f343e4623f59f3c'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/40.beta_armv7l/gnome_session-40.beta-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/43.0_armv7l/gnome_session-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/40.beta_armv7l/gnome_session-40.beta-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/43.0_armv7l/gnome_session-43.0-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/40.beta_x86_64/gnome_session-40.beta-chromeos-x86_64.tar.xz' i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/43.0_i686/gnome_session-43.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_session/43.0_x86_64/gnome_session-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '9bdad789a49f45e3574f829455a1d89d71b1cddbfe8d0cb7c6868b892ad5ae98', aarch64: 'f15e68a01de854d8d373b4632ccc2ff4c928288b3945cbc804972fb54e0f6d9f',
armv7l: '9bdad789a49f45e3574f829455a1d89d71b1cddbfe8d0cb7c6868b892ad5ae98', armv7l: 'f15e68a01de854d8d373b4632ccc2ff4c928288b3945cbc804972fb54e0f6d9f',
x86_64: 'b2a8ebdb421823febd16ed797e73fe26c33e53d407db2665af166b96015a0f74' i686: '7604da967a83dcd89a6c5a125ea0ef4863e17e6c6d09461e32890dcd54f63049',
x86_64: 'f4ed165ccdfc333ea3caf0d21ff8ab7610860af818b7bd4b6eac105f6dc97766'
}) })
depends_on 'elogind' depends_on 'elogind'
@@ -31,6 +33,18 @@ class Gnome_session < Package
depends_on 'libxtrans' => :build depends_on 'libxtrans' => :build
depends_on 'xmlto' => :build depends_on 'xmlto' => :build
depends_on 'docbook_xsl' => :build depends_on 'docbook_xsl' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'json_glib' # R
depends_on 'libepoxy' # R
depends_on 'libglvnd' # R
depends_on 'libice' # R
depends_on 'libsm' # R
depends_on 'libx11' # R
depends_on 'libxcomposite' # R
depends_on 'mesa' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS}\ system "meson #{CREW_MESON_OPTIONS}\

View File

@@ -3,7 +3,7 @@ require 'package'
class Gnome_settings_daemon < Package class Gnome_settings_daemon < Package
description 'GNOME Settings Daemon' description 'GNOME Settings Daemon'
homepage 'https://gitlab.gnome.org/GNOME/gnome-settings-daemon' homepage 'https://gitlab.gnome.org/GNOME/gnome-settings-daemon'
@_ver = '40.0.1' @_ver = '43.0'
version @_ver version @_ver
license 'GPL-2+ and LGPL-2+' license 'GPL-2+ and LGPL-2+'
compatibility 'x86_64 aarch64 armv7l' # not compatible with i686 upstream compatibility 'x86_64 aarch64 armv7l' # not compatible with i686 upstream
@@ -11,21 +11,23 @@ class Gnome_settings_daemon < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_settings_daemon/40.0.1_armv7l/gnome_settings_daemon-40.0.1-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_settings_daemon/43.0_armv7l/gnome_settings_daemon-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_settings_daemon/40.0.1_armv7l/gnome_settings_daemon-40.0.1-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_settings_daemon/43.0_armv7l/gnome_settings_daemon-43.0-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_settings_daemon/40.0.1_x86_64/gnome_settings_daemon-40.0.1-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gnome_settings_daemon/43.0_x86_64/gnome_settings_daemon-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '13be0d7f914c132310b6a5ccd7cfb9584269dac858a3cc61a46fcd63966cf425', aarch64: 'deaf3ac2235aa02689caeb7bc4ff86d341e37101da32f9714af0e54049ebb22d',
armv7l: '13be0d7f914c132310b6a5ccd7cfb9584269dac858a3cc61a46fcd63966cf425', armv7l: 'deaf3ac2235aa02689caeb7bc4ff86d341e37101da32f9714af0e54049ebb22d',
x86_64: '26646a35e2335da43548bcade06a0f1e609ee8eacfe1815c2ac6c07a2187355d' x86_64: '97ba6e1783736d5ea0046ea1e4a2e441a91c2921ba87d2ab11727d3bdb0ad1ef'
}) })
depends_on 'colord'
depends_on 'dconf' depends_on 'dconf'
depends_on 'gnome_desktop' depends_on 'gnome_desktop'
depends_on 'gsettings_desktop_schemas' depends_on 'gsettings_desktop_schemas'
depends_on 'libcanberra' depends_on 'libcanberra'
depends_on 'libnotify' depends_on 'libnotify'
depends_on 'libxfixes' # R
depends_on 'libxslt' => :build depends_on 'libxslt' => :build
depends_on 'networkmanager' => :build depends_on 'networkmanager' => :build
depends_on 'nss' => :build depends_on 'nss' => :build
@@ -37,21 +39,27 @@ class Gnome_settings_daemon < Package
depends_on 'elogind' depends_on 'elogind'
depends_on 'geoclue' depends_on 'geoclue'
depends_on 'gcr' depends_on 'gcr'
depends_on 'upower' # R
# def self.patch depends_on 'alsa_lib' # R
## Source has libgnome-volume-control repo as submodule depends_on 'cups' # R
# @git_dir = 'subprojects/gvc' depends_on 'gcr_4' # R
# @git_hash = '7a621180b46421e356b33972e3446775a504139c' depends_on 'gdk_pixbuf' # R
# @git_url = 'https://gitlab.gnome.org/GNOME/libgnome-volume-control.git' depends_on 'glib' # R
# FileUtils.rm_rf(@git_dir) depends_on 'glibc' # R
# FileUtils.mkdir_p(@git_dir) depends_on 'gtk3' # R
# Dir.chdir @git_dir do depends_on 'harfbuzz' # R
# system 'git init' depends_on 'libgudev' # R
# system "git remote add origin #{@git_url}" depends_on 'libwacom' # R
# system "git fetch --depth 1 origin #{@git_hash}" depends_on 'libx11' # R
# system 'git checkout FETCH_HEAD' depends_on 'libxext' # R
# end depends_on 'libxi' # R
# end depends_on 'modemmanager' # R
depends_on 'networkmanager' # R
depends_on 'nss' # R
depends_on 'pango' # R
depends_on 'pulseaudio' # R
depends_on 'wayland' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,33 +3,36 @@ require 'package'
class Gobject_introspection < Package class Gobject_introspection < Package
description 'GObject introspection is a middleware layer between C libraries (using GObject) and language bindings.' description 'GObject introspection is a middleware layer between C libraries (using GObject) and language bindings.'
homepage 'https://wiki.gnome.org/action/show/Projects/GObjectIntrospection' homepage 'https://wiki.gnome.org/action/show/Projects/GObjectIntrospection'
@_ver = '1.73.0' @_ver = '1.74.0'
version @_ver.to_s version @_ver
license 'LGPL-2+ and GPL-2+' license 'LGPL-2+ and GPL-2+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gobject-introspection.git' source_url 'https://gitlab.gnome.org/GNOME/gobject-introspection.git'
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.73.0_armv7l/gobject_introspection-1.73.0-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.74.0_armv7l/gobject_introspection-1.74.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.73.0_armv7l/gobject_introspection-1.73.0-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.74.0_armv7l/gobject_introspection-1.74.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.73.0_i686/gobject_introspection-1.73.0-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.74.0_i686/gobject_introspection-1.74.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.73.0_x86_64/gobject_introspection-1.73.0-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gobject_introspection/1.74.0_x86_64/gobject_introspection-1.74.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '7314c1f2b339c804ae2a2f6d6796bdc0e7dcc100ef6996e0da1f1543dc95c008', aarch64: 'e73d05327bde784c6ce36fd07fb25add2add359d536a41d33b5f5c3ec7e10ef2',
armv7l: '7314c1f2b339c804ae2a2f6d6796bdc0e7dcc100ef6996e0da1f1543dc95c008', armv7l: 'e73d05327bde784c6ce36fd07fb25add2add359d536a41d33b5f5c3ec7e10ef2',
i686: '51d59a3021eebc098d69cbff7e895743bf66c0f04b180fa78af3273e418b8249', i686: '65c36e3f95172f94640649a086862d596addaae078dc1f870b1f4f234fc23b99',
x86_64: '8ae83a1eee02a8f95c6d95be86ac44420eb4008a03df1bcce3fd13677d103cda' x86_64: '93f359dc31635cc0516f50595f2f33304d80d01e7d1d118708e4eced734cea3c'
}) })
depends_on 'glib' depends_on 'glib'
depends_on 'glibc' # R
depends_on 'libffi' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'mold -run samu -C builddir'
end end
def self.install def self.install

View File

@@ -25,6 +25,12 @@ class Graphviz < Package
depends_on 'libgd' depends_on 'libgd'
depends_on 'pango' depends_on 'pango'
depends_on 'expat' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'libtool' # R
depends_on 'zlibpkg' # R
def self.patch def self.patch
# The patch below derives from these steps. # The patch below derives from these steps.
@@ -117,4 +123,9 @@ class Graphviz < Package
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
def self.postinstall
# Without this, builds of rest fail.
system 'dot -c'
end
end end

View File

@@ -3,7 +3,7 @@ require 'package'
class Gsettings_desktop_schemas < Package class Gsettings_desktop_schemas < Package
description 'Collection of GSettings schemas for GNOME desktop.' description 'Collection of GSettings schemas for GNOME desktop.'
homepage 'https://git.gnome.org/browse/gsettings-desktop-schemas' homepage 'https://git.gnome.org/browse/gsettings-desktop-schemas'
@_ver = '41.0' @_ver = '43.0'
version @_ver version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
@@ -11,16 +11,16 @@ class Gsettings_desktop_schemas < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/41.0_armv7l/gsettings_desktop_schemas-41.0-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/43.0_armv7l/gsettings_desktop_schemas-43.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/41.0_armv7l/gsettings_desktop_schemas-41.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/43.0_armv7l/gsettings_desktop_schemas-43.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/41.0_i686/gsettings_desktop_schemas-41.0-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/43.0_i686/gsettings_desktop_schemas-43.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/41.0_x86_64/gsettings_desktop_schemas-41.0-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gsettings_desktop_schemas/43.0_x86_64/gsettings_desktop_schemas-43.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '84fb838d4cde372d9c93ccfaa00be432a6c31b926550a6e3a6f758c7147b8db2', aarch64: 'baa1861484b9291c7a1c22e22dd08478689907564f6947cc97e8f30cb2cc4d44',
armv7l: '84fb838d4cde372d9c93ccfaa00be432a6c31b926550a6e3a6f758c7147b8db2', armv7l: 'baa1861484b9291c7a1c22e22dd08478689907564f6947cc97e8f30cb2cc4d44',
i686: 'd82010f0135140529a24c49ee1bc240cf1a79c4c3a118525fc610f491cc3088d', i686: '6ccf93dcbfd48dc7d43f4a2a115ab4eae1a6238916868e068726cdcee259e908',
x86_64: '5454f7a310fbaf115dac44142dcc45436838fdc874f5647d7f056a76e656e9a8' x86_64: '6df95b4f1cea0c2ffcb39a606ddb87686a15f682f7777bc35ae68793cea1e371'
}) })
depends_on 'gnome_common' depends_on 'gnome_common'
@@ -28,6 +28,8 @@ class Gsettings_desktop_schemas < Package
depends_on 'gobject_introspection' depends_on 'gobject_introspection'
depends_on 'gtk4' depends_on 'gtk4'
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} builddir" system "meson #{CREW_MESON_OPTIONS} builddir"
system 'meson configure builddir' system 'meson configure builddir'
@@ -37,8 +39,4 @@ class Gsettings_desktop_schemas < Package
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
def self.postinstall
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
end
end end

View File

@@ -3,21 +3,23 @@ require 'package'
class Gspell < Package class Gspell < Package
description 'a flexible API to implement the spell checking in a GTK+ application' description 'a flexible API to implement the spell checking in a GTK+ application'
homepage 'https://wiki.gnome.org/Projects/gspell' homepage 'https://wiki.gnome.org/Projects/gspell'
version '1.9.1-2' version '1.11.1'
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/sources/gspell/1.9/gspell-1.9.1.tar.xz' source_url 'https://download.gnome.org/sources/gspell/1.11/gspell-1.11.1.tar.xz'
source_sha256 'dcbb769dfdde8e3c0a8ed3102ce7e661abbf7ddf85df08b29915e92cd723abdd' source_sha256 'ef6aa4e3f711775158a7e241a5f809cf2426bc0e02c23a7d2b5c71fc3de00292'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.9.1-2_armv7l/gspell-1.9.1-2-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.11.1_armv7l/gspell-1.11.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.9.1-2_armv7l/gspell-1.9.1-2-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.11.1_armv7l/gspell-1.11.1-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.9.1-2_x86_64/gspell-1.9.1-2-chromeos-x86_64.tpxz' i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.11.1_i686/gspell-1.11.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gspell/1.11.1_x86_64/gspell-1.11.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'b3d710b9a07b831b1d7b771bd563367e5ebf40adb880238824c4a906ba3118bb', aarch64: '999fe1c06d6e8e31c81b2ee2888ff8bafe16f7d53788ca89e392eea3e603265a',
armv7l: 'b3d710b9a07b831b1d7b771bd563367e5ebf40adb880238824c4a906ba3118bb', armv7l: '999fe1c06d6e8e31c81b2ee2888ff8bafe16f7d53788ca89e392eea3e603265a',
x86_64: 'e5f3df2f932455279ab3cd4ac3828684644524e39e4a53c6b54de62c30e2ad2b' i686: 'cdc82e95dc15437ace47c4a5c0495faf42b509fab2c9c3d8b69ba2f6903dafc0',
x86_64: '02635107c3109e0cf091272c9e1acf7b98ea1640a90e711c0d52561e0d75cae5'
}) })
depends_on 'gtk3' depends_on 'gtk3'
@@ -31,6 +33,16 @@ class Gspell < Package
depends_on 'harfbuzz' => :build depends_on 'harfbuzz' => :build
depends_on 'llvm' => :build depends_on 'llvm' => :build
depends_on 'hunspell' depends_on 'hunspell'
depends_on 'aspell' # R
depends_on 'atk' # R
depends_on 'gcc' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'icu4c' # R
depends_on 'ncurses' # R
depends_on 'pango' # R
depends_on 'zlibpkg' # R
ENV['XML_CATALOG_FILES'] = "#{CREW_PREFIX}/etc/xml/catalog" ENV['XML_CATALOG_FILES'] = "#{CREW_PREFIX}/etc/xml/catalog"

View File

@@ -3,7 +3,7 @@ require 'package'
class Gstreamer < Package class Gstreamer < Package
description 'GStreamer is a library for constructing graphs of media-handling components.' description 'GStreamer is a library for constructing graphs of media-handling components.'
homepage 'https://gstreamer.freedesktop.org/' homepage 'https://gstreamer.freedesktop.org/'
@_ver = '1.20.0' @_ver = '1.20.3'
version @_ver version @_ver
license 'LGPL-2+' license 'LGPL-2+'
compatibility 'all' compatibility 'all'
@@ -11,16 +11,16 @@ class Gstreamer < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.0_armv7l/gstreamer-1.20.0-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.3-1_armv7l/gstreamer-1.20.3-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.0_armv7l/gstreamer-1.20.0-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.3-1_armv7l/gstreamer-1.20.3-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.0_i686/gstreamer-1.20.0-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.3-1_i686/gstreamer-1.20.3-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.0_x86_64/gstreamer-1.20.0-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gstreamer/1.20.3-1_x86_64/gstreamer-1.20.3-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '9a4806b7ec63fefdc4b5b6383b7b6be98b3b0099fb98cced7ba9e17243955583', aarch64: 'e841406957a963846da6a63864001c8165b7afa83abcc73ec1a86b939a3c9462',
armv7l: '9a4806b7ec63fefdc4b5b6383b7b6be98b3b0099fb98cced7ba9e17243955583', armv7l: 'e841406957a963846da6a63864001c8165b7afa83abcc73ec1a86b939a3c9462',
i686: '8cb9f9a360d5da37127c0117c413e85726f9479504919432f166527cea935d3b', i686: 'f2ac4f825c4b078617ab15ca590dfe1dbd4fb644c87ad984726cb28f70117a18',
x86_64: '3fa6ddf28c4fd03777040377d482f224261b859b176fe2a803dc7433edd6dab0' x86_64: '23752e3b1a1cb4feb2c3c0a7286833ef2d49598ab615ef93f0874b535e4d1e06'
}) })
depends_on 'elfutils' depends_on 'elfutils'
@@ -28,7 +28,83 @@ class Gstreamer < Package
depends_on 'gsl' depends_on 'gsl'
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'libcap' depends_on 'libcap'
depends_on 'libjpeg'
depends_on 'libunwind' depends_on 'libunwind'
depends_on 'alsa_lib' # R
depends_on 'atk' # R
depends_on 'bz2' # R
depends_on 'chromaprint' # R
depends_on 'ffmpeg' # R
depends_on 'flac' # R
depends_on 'gcc' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'gnutls' # R
depends_on 'graphene' # R
depends_on 'gsm' # R
depends_on 'harfbuzz' # R
depends_on 'intel_media_sdk' if ARCH.eql?('x86_64') # R
depends_on 'jack' # R
depends_on 'json_glib' # R
depends_on 'lcms' # R
depends_on 'libaom' # R
depends_on 'libass' # R
depends_on 'libavc1394' # R
depends_on 'libcurl' # R
depends_on 'libde265' # R
depends_on 'libdrm' # R
depends_on 'libdv' # R
depends_on 'libfdk_aac' # R
depends_on 'libglvnd' # R
depends_on 'libgudev' # R
depends_on 'libiec61883' # R
depends_on 'libmodplug' # R
depends_on 'libmp3lame' # R
depends_on 'libogg' # R
depends_on 'libopencoreamr' # R
depends_on 'libpng' # R
depends_on 'libraw1394' # R
depends_on 'librsvg' # R
depends_on 'libsndfile' # R
depends_on 'libtheora' # R
depends_on 'libusb' # R
depends_on 'libva' # R
depends_on 'libvorbis' # R
depends_on 'libvpx' # R
depends_on 'libwebp' # R
depends_on 'libx11' # R
depends_on 'libx264' # R
depends_on 'libx265' # R
depends_on 'libxcb' # R
depends_on 'libxdamage' # R
depends_on 'libxext' # R
depends_on 'libxfixes' # R
depends_on 'libxml2' # R
depends_on 'libxv' # R
depends_on 'lilv' # R
depends_on 'mesa' # R
depends_on 'nettle' # R
depends_on 'openal' # R
depends_on 'openjpeg' # R
depends_on 'openssl' # R
depends_on 'opus' # R
depends_on 'pango' # R
depends_on 'pulseaudio' # R
depends_on 'python3' # R
depends_on 'rtmpdump' # R
depends_on 'sbc' # R
depends_on 'serd' # R
depends_on 'sord' # R
depends_on 'speex' # R
depends_on 'sratom' # R
depends_on 'srt' # R
depends_on 'v4l_utils' # R
depends_on 'wavpack' # R
depends_on 'wayland' # R
depends_on 'webrtc_audio_processing' # R
depends_on 'zlibpkg' # R
depends_on 'zvbi' # R
conflicts_ok # conflicts with orc, gst_plugins_{base,bad} conflicts_ok # conflicts with orc, gst_plugins_{base,bad}
def self.build def self.build
@@ -42,7 +118,7 @@ class Gstreamer < Package
-Dtests=disabled #{@plugins}\ -Dtests=disabled #{@plugins}\
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'mold -run samu -C builddir'
end end
def self.install def self.install

View File

@@ -3,23 +3,23 @@ require 'package'
class Gtk2 < Package class Gtk2 < Package
description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.' description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.'
homepage 'https://www.gtk.org/' homepage 'https://www.gtk.org/'
version '2.24.33-2' version '2.24.33-3'
license 'LGPL-2.1' license 'LGPL-2.1'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.33.tar.xz' source_url 'https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.33.tar.xz'
source_sha256 'ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da' source_sha256 'ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-2_armv7l/gtk2-2.24.33-2-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-3_armv7l/gtk2-2.24.33-3-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-2_armv7l/gtk2-2.24.33-2-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-3_armv7l/gtk2-2.24.33-3-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-2_i686/gtk2-2.24.33-2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-3_i686/gtk2-2.24.33-3-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-2_x86_64/gtk2-2.24.33-2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk2/2.24.33-3_x86_64/gtk2-2.24.33-3-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '3e4c4c44a9713a5e37770718e7951062ea9b986bb1a9a99d45f4fd79a9fdf747', aarch64: '3bbbe59aee297b198c45249a258ddac0f6a2216dee383bb9d699ceabc6983913',
armv7l: '3e4c4c44a9713a5e37770718e7951062ea9b986bb1a9a99d45f4fd79a9fdf747', armv7l: '3bbbe59aee297b198c45249a258ddac0f6a2216dee383bb9d699ceabc6983913',
i686: 'aaa52bb7041e4d459314b8a27d1564a9aac73a6464c055ce78a6860bc169de0a', i686: '2a53fc41ecf1ecbe083fc2be47ddf0396dc15f8b0d1e36f4a3b4d5891e98aabf',
x86_64: 'c2696e86d1b93611ff3f0d6c5931cdb2666afb0f90324a25214db3e6c2a51df3' x86_64: '8bddd0719e044e3440c028bf86b16f60229d61c80dcfe29a2b88055fc1d0bbe0'
}) })
depends_on 'atk' depends_on 'atk'
@@ -44,6 +44,13 @@ class Gtk2 < Package
depends_on 'pango' depends_on 'pango'
depends_on 'shared_mime_info' depends_on 'shared_mime_info'
depends_on 'py3_six' => :build depends_on 'py3_six' => :build
depends_on 'expat' # R
depends_on 'glibc' # R
depends_on 'libbsd' # R
depends_on 'libmd' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
def self.build def self.build
system "#{CREW_ENV_OPTIONS} \ system "#{CREW_ENV_OPTIONS} \

View File

@@ -3,25 +3,25 @@ require 'package'
class Gtk3 < Package class Gtk3 < Package
description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.' description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.'
homepage 'https://developer.gnome.org/gtk3/3.0/' homepage 'https://developer.gnome.org/gtk3/3.0/'
@_ver = '3.24.34' @_ver = '3.24.34-80d8970'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'LGPL-2.1' license 'LGPL-2.1'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gtk.git' source_url 'https://gitlab.gnome.org/GNOME/gtk.git'
git_hashtag @_ver git_hashtag '80d8970072650c7715c62bef933f8d332525c6c0'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34_armv7l/gtk3-3.24.34-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34-80d8970_armv7l/gtk3-3.24.34-80d8970-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34_armv7l/gtk3-3.24.34-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34-80d8970_armv7l/gtk3-3.24.34-80d8970-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34_i686/gtk3-3.24.34-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34-80d8970_i686/gtk3-3.24.34-80d8970-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34_x86_64/gtk3-3.24.34-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk3/3.24.34-80d8970_x86_64/gtk3-3.24.34-80d8970-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '40ec61e2bbde4b2bcb86726ab33d839f5210d345e60e0e493e990e5a32913093', aarch64: '817fabb61fc657cd6521da1daf75b59c4e05c3bb789cf2f288891f24e51cf6c4',
armv7l: '40ec61e2bbde4b2bcb86726ab33d839f5210d345e60e0e493e990e5a32913093', armv7l: '817fabb61fc657cd6521da1daf75b59c4e05c3bb789cf2f288891f24e51cf6c4',
i686: 'db54cbdcca99bb45075583ee50ca9b1cf9513490f5dd99bf504ac168e0947bdf', i686: '559f507efe16ef35f24fb9ca36fc01ad903de6c86039d298a7570e0f4149ac39',
x86_64: '1790362977831f3d2879d92b6a50db35b2a3155e757e3a27c1a70df750881930' x86_64: '1abe7f4880f0c4380413bf39cfea75621c47907047016210d620d988b95c5dc0'
}) })
# L = Logical Dependency, R = Runtime Dependency # L = Logical Dependency, R = Runtime Dependency
@@ -63,12 +63,12 @@ class Gtk3 < Package
depends_on 'libxrandr' # R depends_on 'libxrandr' # R
depends_on 'mesa' => :build depends_on 'mesa' => :build
depends_on 'pango' # R depends_on 'pango' # R
depends_on 'py3_six' => :build # Do we need this?
depends_on 'rest' # R depends_on 'rest' # R
depends_on 'shared_mime_info' # L depends_on 'shared_mime_info' # L
depends_on 'valgrind' => :build depends_on 'valgrind' => :build
depends_on 'wayland' # R depends_on 'wayland' # R
depends_on 'xdg_base' # L depends_on 'xdg_base' # L
depends_on 'glibc' # R
gnome gnome
def self.patch def self.patch

View File

@@ -3,7 +3,7 @@ require 'package'
class Gtk4 < Package class Gtk4 < Package
description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.' description 'GTK+ is a multi-platform toolkit for creating graphical user interfaces.'
homepage 'https://developer.gnome.org/gtk4/' homepage 'https://developer.gnome.org/gtk4/'
@_ver = '4.7.2' @_ver = '4.8.2'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'LGPL-2.1' license 'LGPL-2.1'
@@ -12,16 +12,16 @@ class Gtk4 < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.7.2_armv7l/gtk4-4.7.2-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.8.2_armv7l/gtk4-4.8.2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.7.2_armv7l/gtk4-4.7.2-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.8.2_armv7l/gtk4-4.8.2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.7.2_i686/gtk4-4.7.2-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.8.2_i686/gtk4-4.8.2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.7.2_x86_64/gtk4-4.7.2-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk4/4.8.2_x86_64/gtk4-4.8.2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '44707b210266ff3b5cceefc12f9eabf1478a9e59502dcb14759b80a70b950a05', aarch64: '32277a3d530cf76f0f77568679818eed8bbaf86e28395524f19686066244fab2',
armv7l: '44707b210266ff3b5cceefc12f9eabf1478a9e59502dcb14759b80a70b950a05', armv7l: '32277a3d530cf76f0f77568679818eed8bbaf86e28395524f19686066244fab2',
i686: '712572f265f17b4df169a0f4a425d775596cf82325cba8b5c6038f52c007ff36', i686: '9916b4c01138e0a6f23ebe894229241715d24e1bb5b6c220d4eb712e4c5b7b61',
x86_64: 'f9e4381b2451904fe970f10da3a072997f1f59a8af902cd4ac4ced1685bad122' x86_64: '55b12fef43364a630b7bddfd833067c12024204581f6c0057e6bb615afdefe36'
}) })
# L = Logical Dependency, R = Runtime Dependency # L = Logical Dependency, R = Runtime Dependency
@@ -34,8 +34,8 @@ class Gtk4 < Package
depends_on 'libspectre' => :build depends_on 'libspectre' => :build
depends_on 'mesa' => :build depends_on 'mesa' => :build
depends_on 'valgrind' => :build depends_on 'valgrind' => :build
depends_on 'py3_pygments' => :build # Is this needed? depends_on 'py3_gi_docgen' => :build
depends_on 'py3_six' => :build # Is this needed? depends_on 'py3_pygments' => :build
depends_on 'vulkan_headers' => :build depends_on 'vulkan_headers' => :build
depends_on 'adwaita_icon_theme' # L depends_on 'adwaita_icon_theme' # L
depends_on 'cantarell_fonts' # L depends_on 'cantarell_fonts' # L
@@ -45,7 +45,6 @@ class Gtk4 < Package
depends_on 'xdg_base' # L depends_on 'xdg_base' # L
depends_on 'cairo' # R depends_on 'cairo' # R
depends_on 'cups' # R depends_on 'cups' # R
depends_on 'ffmpeg' # R
depends_on 'fontconfig' # R depends_on 'fontconfig' # R
depends_on 'fribidi' # R depends_on 'fribidi' # R
depends_on 'gdk_pixbuf' # R depends_on 'gdk_pixbuf' # R
@@ -53,10 +52,7 @@ class Gtk4 < Package
depends_on 'graphene' # R depends_on 'graphene' # R
depends_on 'gstreamer' # R depends_on 'gstreamer' # R
depends_on 'harfbuzz' # R depends_on 'harfbuzz' # R
depends_on 'json_glib' # R
depends_on 'libepoxy' # R depends_on 'libepoxy' # R
depends_on 'libmfx' if ARCH.eql?('i686') # R
depends_on 'libsass' if ARCH.eql?('x86_64') # R
depends_on 'libx11' # R depends_on 'libx11' # R
depends_on 'libxcomposite' # R depends_on 'libxcomposite' # R
depends_on 'libxcursor' # R depends_on 'libxcursor' # R
@@ -68,9 +64,15 @@ class Gtk4 < Package
depends_on 'libxkbcommon' # R depends_on 'libxkbcommon' # R
depends_on 'libxrandr' # R depends_on 'libxrandr' # R
depends_on 'pango' # R depends_on 'pango' # R
depends_on 'rest' # R depends_on 'sassc' => :build
depends_on 'vulkan_icd_loader' # R depends_on 'vulkan_icd_loader' # R
depends_on 'wayland' # R depends_on 'wayland' # R
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'libjpeg' # R
depends_on 'libpng' # R
depends_on 'libtiff' # R
depends_on 'libcloudproviders' # R
gnome gnome
def self.patch def self.patch
@@ -96,6 +98,7 @@ class Gtk4 < Package
-Dgraphene:default_library=both \ -Dgraphene:default_library=both \
-Dlibsass:default_library=both \ -Dlibsass:default_library=both \
-Dmutest:default_library=both \ -Dmutest:default_library=both \
-Dcloudproviders=enabled \
-Dvulkan=enabled \ -Dvulkan=enabled \
build" build"
system 'meson configure build' system 'meson configure build'

View File

@@ -3,23 +3,23 @@ require 'package'
class Gtk_vnc < Package class Gtk_vnc < Package
description 'VNC viewer widget for GTK' description 'VNC viewer widget for GTK'
homepage 'https://wiki.gnome.org/Projects/gtk-vnc' homepage 'https://wiki.gnome.org/Projects/gtk-vnc'
version '1.2.0' version '1.3.1'
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/gtk-vnc.git' source_url 'https://gitlab.gnome.org/GNOME/gtk-vnc.git'
git_hashtag "v#{version}" git_hashtag "v#{version}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.2.0_armv7l/gtk_vnc-1.2.0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.3.1_armv7l/gtk_vnc-1.3.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.2.0_armv7l/gtk_vnc-1.2.0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.3.1_armv7l/gtk_vnc-1.3.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.2.0_i686/gtk_vnc-1.2.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.3.1_i686/gtk_vnc-1.3.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.2.0_x86_64/gtk_vnc-1.2.0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtk_vnc/1.3.1_x86_64/gtk_vnc-1.3.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '62d85534080b53b4b3e0a20c58979db9e550a035414821d210a45fc8965da0ab', aarch64: '40f49371a8483626e1c080435e4bf7afaf3f9908e6722558d394f65dff9e7874',
armv7l: '62d85534080b53b4b3e0a20c58979db9e550a035414821d210a45fc8965da0ab', armv7l: '40f49371a8483626e1c080435e4bf7afaf3f9908e6722558d394f65dff9e7874',
i686: '609017642a8be0a5d309b05d07aed5665760eca14af26075c3b719fef3736dc8', i686: '3936d69bd7fa0a3a742d3836e2bf27f53670218195bc396663c74a682f1ab219',
x86_64: '5001d552bfa4155bf2c77a1e1a7ee4714125566db0b9ce1e3e3c5e88ace8057d' x86_64: 'd135ac0a8ab47f12e4104eabbd36036c3519c1e38722a6e4aae25c0b35a5aac7'
}) })
depends_on 'cairo' depends_on 'cairo'
@@ -28,10 +28,14 @@ class Gtk_vnc < Package
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'libgcrypt' depends_on 'libgcrypt'
depends_on 'pulseaudio' depends_on 'pulseaudio'
depends_on 'gdk_pixbuf' # R
def self.patch depends_on 'glibc' # R
system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build" depends_on 'gnutls' # R
end depends_on 'harfbuzz' # R
depends_on 'libcyrussasl' # R
depends_on 'libx11' # R
depends_on 'zlibpkg' # R
depends_on 'gcc' # R
def self.build def self.build
system "meson \ system "meson \

View File

@@ -3,22 +3,24 @@ require 'package'
class Gtksourceview_4 < Package class Gtksourceview_4 < Package
description 'Source code editing widget' description 'Source code editing widget'
homepage 'https://wiki.gnome.org/Projects/GtkSourceView' homepage 'https://wiki.gnome.org/Projects/GtkSourceView'
@_ver = '4.8.1' @_ver = '4.8.3'
version @_ver version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'x86_64 aarch64 armv7l' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/gtksourceview/-/archive/#{@_ver}/gtksourceview-#{@_ver}.tar.bz2" source_url 'https://gitlab.gnome.org/GNOME/gtksourceview.git'
source_sha256 'ec16a6a61d643e278d3a02828257a59d802d4ae740247bf03fdebf10d9401635' git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.1_armv7l/gtksourceview_4-4.8.1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.3_armv7l/gtksourceview_4-4.8.3-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.1_armv7l/gtksourceview_4-4.8.1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.3_armv7l/gtksourceview_4-4.8.3-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.1_x86_64/gtksourceview_4-4.8.1-chromeos-x86_64.tar.xz' i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.3_i686/gtksourceview_4-4.8.3-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_4/4.8.3_x86_64/gtksourceview_4-4.8.3-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'b6e5a158eaf5853eadcc5fcf3057c84b60800113358e3db76b1c9b716faec11e', aarch64: '664f99be9dcaf2caba948f7ff4f06b9b1280bc78b0c95608f3e8d2cdfab65edd',
armv7l: 'b6e5a158eaf5853eadcc5fcf3057c84b60800113358e3db76b1c9b716faec11e', armv7l: '664f99be9dcaf2caba948f7ff4f06b9b1280bc78b0c95608f3e8d2cdfab65edd',
x86_64: '68b3cea57e7cd0edf6712b9ad3b8c9c1e3b2b7723d7a1cc070178b04db597d82' i686: '02daf0ff8c5a8fa2b86fad1a1ad71dfeff43c5fc81467cedfa874f849737b6a5',
x86_64: 'a9c2b5d14d3b1603ed0400edd45aa2ca907d1bdf413c85623152788ed342d494'
}) })
depends_on 'atk' depends_on 'atk'
@@ -35,7 +37,11 @@ class Gtksourceview_4 < Package
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'pango' depends_on 'pango'
depends_on 'vala' depends_on 'vala'
depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader' depends_on 'vulkan_icd_loader'
depends_on 'glibc' # R
depends_on 'libxml2' # R
depends_on 'zlibpkg' # R
def self.patch def self.patch
system "sed -i 's/-fstack-protector-strong/-flto/g' meson.build" system "sed -i 's/-fstack-protector-strong/-flto/g' meson.build"
@@ -46,10 +52,10 @@ class Gtksourceview_4 < Package
-Db_asneeded=false \ -Db_asneeded=false \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'mold -run samu -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

View File

@@ -3,7 +3,7 @@ require 'package'
class Gtksourceview_5 < Package class Gtksourceview_5 < Package
description 'Source code editing widget' description 'Source code editing widget'
homepage 'https://wiki.gnome.org/Projects/GtkSourceView' homepage 'https://wiki.gnome.org/Projects/GtkSourceView'
@_ver = '5.2.0' @_ver = '5.6.1'
version @_ver version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
@@ -11,16 +11,16 @@ class Gtksourceview_5 < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.0.0_i686/gtksourceview_5-5.0.0-chromeos-i686.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.6.1_armv7l/gtksourceview_5-5.6.1-chromeos-armv7l.tar.zst',
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.2.0_armv7l/gtksourceview_5-5.2.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.6.1_armv7l/gtksourceview_5-5.6.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.2.0_armv7l/gtksourceview_5-5.2.0-chromeos-armv7l.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.6.1_i686/gtksourceview_5-5.6.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.2.0_x86_64/gtksourceview_5-5.2.0-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gtksourceview_5/5.6.1_x86_64/gtksourceview_5-5.6.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
i686: 'd27b36e8275ba473c3758ae708eebd1aa80a34a346db5a44593d196f9f2f96a7', aarch64: '0f8d59796235811fe0293bc1b812a4bb65a717c4ba05a6accd7cd850d1b55208',
aarch64: '96884f9ce28885b53432644059de5acc5bc251b7f6a8d6d5c27d1a1df32c18d8', armv7l: '0f8d59796235811fe0293bc1b812a4bb65a717c4ba05a6accd7cd850d1b55208',
armv7l: '96884f9ce28885b53432644059de5acc5bc251b7f6a8d6d5c27d1a1df32c18d8', i686: '3a73f4077faa01955a55027b4161def3775b7e3eeb8e11b79fa33d44be8f8b1e',
x86_64: '00986e7083640e3771e854efcbeb3ae5f3fbd3393743722ddd417b4604bf25af' x86_64: '025bfd8d5b98858324e8590e0f3fb813b5f7464e63bfe2e346f9925fe153ef69'
}) })
depends_on 'atk' depends_on 'atk'
@@ -37,7 +37,11 @@ class Gtksourceview_5 < Package
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'pango' depends_on 'pango'
depends_on 'vala' depends_on 'vala'
depends_on 'vulkan_headers' => :build
depends_on 'vulkan_icd_loader' depends_on 'vulkan_icd_loader'
depends_on 'glibc' # R
depends_on 'libxml2' # R
depends_on 'pcre2' # R
def self.patch def self.patch
system "sed -i 's/-fstack-protector-strong/-flto/g' meson.build" system "sed -i 's/-fstack-protector-strong/-flto/g' meson.build"
@@ -48,10 +52,10 @@ class Gtksourceview_5 < Package
-Db_asneeded=false \ -Db_asneeded=false \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'mold -run samu -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

View File

@@ -3,7 +3,7 @@ require 'package'
class Gvfs < Package class Gvfs < Package
description 'Virtual filesystem implementation for GIO' description 'Virtual filesystem implementation for GIO'
homepage 'https://wiki.gnome.org/Projects/gvfs' homepage 'https://wiki.gnome.org/Projects/gvfs'
@_ver = '1.48.1' @_ver = '1.50.2'
version @_ver version @_ver
license 'GPLv2' license 'GPLv2'
compatibility 'all' compatibility 'all'
@@ -11,16 +11,16 @@ class Gvfs < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.48.1_armv7l/gvfs-1.48.1-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.50.2_armv7l/gvfs-1.50.2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.48.1_armv7l/gvfs-1.48.1-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.50.2_armv7l/gvfs-1.50.2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.48.1_i686/gvfs-1.48.1-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.50.2_i686/gvfs-1.50.2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.48.1_x86_64/gvfs-1.48.1-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/gvfs/1.50.2_x86_64/gvfs-1.50.2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '3585ea23719cf4e3c3da8c84beed3df3f020a91feb3d3af7f05e81514cec1e21', aarch64: '32879178b42dcc09ee6fc932eb05127fa23b8331add08f225a8a0ca5f51368cd',
armv7l: '3585ea23719cf4e3c3da8c84beed3df3f020a91feb3d3af7f05e81514cec1e21', armv7l: '32879178b42dcc09ee6fc932eb05127fa23b8331add08f225a8a0ca5f51368cd',
i686: 'b617653b15b4c87f2759c36067f638b70e501f4ecf01243b6ae6ef1ced47b314', i686: '044bb14dcb792ca02baee2bebc2ba7334efb6e3995e44ef0cbd79ccebdb7e14f',
x86_64: '5094180c75e7e99ac78a191935a6d0af41a50bf4dbcd7764bea96d7114282b19' x86_64: 'd9ef574da4c1d7153eb2ec1cc7bd339c96dcf7c9910f875acfc745d8f771815b'
}) })
depends_on 'avahi' # R depends_on 'avahi' # R
@@ -29,7 +29,7 @@ class Gvfs < Package
depends_on 'docbook_xsl' => :build depends_on 'docbook_xsl' => :build
depends_on 'elogind' => :build depends_on 'elogind' => :build
depends_on 'fuse3' # R depends_on 'fuse3' # R
depends_on 'gcr' # R depends_on 'gcr_3' # R
depends_on 'glib' # R depends_on 'glib' # R
depends_on 'gtk3' => :build depends_on 'gtk3' => :build
depends_on 'libcdio' depends_on 'libcdio'
@@ -45,6 +45,10 @@ class Gvfs < Package
depends_on 'libsoup2' # R depends_on 'libsoup2' # R
depends_on 'polkit' # R depends_on 'polkit' # R
depends_on 'smbclient' # R depends_on 'smbclient' # R
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'libsoup' # R
depends_on 'libxml2' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,7 +3,7 @@ require 'package'
class Harfbuzz < Package class Harfbuzz < Package
description 'HarfBuzz is an OpenType text shaping engine.' description 'HarfBuzz is an OpenType text shaping engine.'
homepage 'https://www.freedesktop.org/wiki/Software/HarfBuzz/' homepage 'https://www.freedesktop.org/wiki/Software/HarfBuzz/'
@_ver = '4.4.1' @_ver = '5.2.0'
version @_ver version @_ver
license 'Old-MIT, ISC and icu' license 'Old-MIT, ISC and icu'
compatibility 'all' compatibility 'all'
@@ -11,16 +11,16 @@ class Harfbuzz < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/4.4.1_armv7l/harfbuzz-4.4.1-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/5.2.0_armv7l/harfbuzz-5.2.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/4.4.1_armv7l/harfbuzz-4.4.1-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/5.2.0_armv7l/harfbuzz-5.2.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/4.4.1_i686/harfbuzz-4.4.1-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/5.2.0_i686/harfbuzz-5.2.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/4.4.1_x86_64/harfbuzz-4.4.1-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/harfbuzz/5.2.0_x86_64/harfbuzz-5.2.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '556b8124f7d4181f15111dd841cce4fdb9ab39914fa0fbd0516fda5e7d929a94', aarch64: 'c9e3fb9162a5976f57f42ff1c7985697192597d5080064d3b1da7133eaa5b1b1',
armv7l: '556b8124f7d4181f15111dd841cce4fdb9ab39914fa0fbd0516fda5e7d929a94', armv7l: 'c9e3fb9162a5976f57f42ff1c7985697192597d5080064d3b1da7133eaa5b1b1',
i686: '8acbf2871d86e2b8a91e85f4ab9945b435b5a1e2ac854ebac770544d3f4adbb4', i686: 'ac49731b4a83fd3683b9961a5811cc100e1cf109773f8966dd398adc5f2e3f9c',
x86_64: '2a03c4db970323bd94a886d3350d6aacde20f415a1f553342400443075c06588' x86_64: '1e8922ae353da616f936e495779e7777acafa2166d010b4f3b1fc2e8ebb4ea5c'
}) })
# provides freetype (sans harfbuzz), ragel, and a non-x11 cairo stub # provides freetype (sans harfbuzz), ragel, and a non-x11 cairo stub
@@ -39,6 +39,14 @@ class Harfbuzz < Package
depends_on 'pcre' depends_on 'pcre'
depends_on 'py3_six' => :build depends_on 'py3_six' => :build
depends_on 'zlibpkg' depends_on 'zlibpkg'
depends_on 'expat' # R
# depends_on 'freetype' # R harfbuzz provides this.
depends_on 'glibc' # R
depends_on 'libx11' # R
depends_on 'libxcb' # R
depends_on 'libxext' # R
depends_on 'libxrender' # R
depends_on 'lzo' # R
no_env_options no_env_options
conflicts_ok conflicts_ok
@@ -63,7 +71,7 @@ class Harfbuzz < Package
-Dtests=disabled \ -Dtests=disabled \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'mold -run ninja -C builddir'
end end
def self.install def self.install

49
packages/highway.rb Normal file
View File

@@ -0,0 +1,49 @@
# Adapted from Arch Linux highway PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/highway/trunk/PKGBUILD
require 'package'
class Highway < Package
description 'A C++ library for SIMD Single Instruction, Multiple Data'
homepage 'https://github.com/google/highway/'
version '1.0.1'
license 'Apache'
compatibility 'all'
source_url 'https://github.com/google/highway/archive/1.0.1/highway-1.0.1.tar.gz'
source_sha256 '7ca6af7dc2e3e054de9e17b9dfd88609a7fd202812b1c216f43cc41647c97311'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/highway/1.0.1_armv7l/highway-1.0.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/highway/1.0.1_armv7l/highway-1.0.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/highway/1.0.1_i686/highway-1.0.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/highway/1.0.1_x86_64/highway-1.0.1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: 'ce08cdaa2edb56d438ddadd439dad0aad7cc81b75e79507970355a00d1299d08',
armv7l: 'ce08cdaa2edb56d438ddadd439dad0aad7cc81b75e79507970355a00d1299d08',
i686: '5e1a6569a998947c2c93729e27ca62524719ff82e2c37038f589c260d073034b',
x86_64: 'aa0488630c6ddfbdbecdd43870568767f4bb99075f188285d4fb9d5af2caa6dd'
})
depends_on 'gcc' # R
depends_on 'glibc' # R
def self.build
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "mold -run cmake \
#{CREW_CMAKE_OPTIONS} \
-DBUILD_SHARED_LIBS:BOOL='ON' \
-DHWY_ENABLE_TESTS:BOOL='OFF' \
-DHWY_SYSTEM_GTEST:BOOL='OFF' \
-Wdev \
-G Ninja \
.."
system 'mold -run samu'
end
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end
end

View File

@@ -11,17 +11,21 @@ class Hplip < Package
binary_url({ binary_url({
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/hplip/3.20.2_i686/hplip-3.20.2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/hplip/3.20.2_i686/hplip-3.20.2-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/hplip/3.20.2_x86_64/hplip-3.20.2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/hplip/3.20.2_x86_64/hplip-3.20.2-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
i686: '3665d159fe1684d280689e09546a9f6cb0ab7be68d4e670f40c4111ae015d8b7', i686: '3665d159fe1684d280689e09546a9f6cb0ab7be68d4e670f40c4111ae015d8b7',
x86_64: '05b80f04ea8ac68ffad990ed86140932f6353d25f7fd116df5190e8484385f09' x86_64: '05b80f04ea8ac68ffad990ed86140932f6353d25f7fd116df5190e8484385f09'
}) })
depends_on 'cups' depends_on 'cups'
depends_on 'dbus' depends_on 'dbus'
depends_on 'libjpeg_turbo' depends_on 'libjpeg'
depends_on 'sane_backends' depends_on 'sane_backends'
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'libusb' # R
depends_on 'zlibpkg' # R
def self.patch def self.patch
system "curl -Ls -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'" system "curl -Ls -o config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'"

View File

@@ -3,23 +3,23 @@ require 'package'
class Icu4c < Package class Icu4c < Package
description 'ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.' description 'ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.'
homepage 'http://site.icu-project.org/' homepage 'http://site.icu-project.org/'
version '69.1' version '72.1'
license 'BSD' license 'BSD'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-69_1-src.tgz' source_url 'https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-src.tgz'
source_sha256 '4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745' source_sha256 'a2d2d38217092a7ed56635e34467f92f976b370e20182ad325edea6681a71d68'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/69.1_armv7l/icu4c-69.1-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/72.1_armv7l/icu4c-72.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/69.1_armv7l/icu4c-69.1-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/72.1_armv7l/icu4c-72.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/69.1_i686/icu4c-69.1-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/72.1_i686/icu4c-72.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/69.1_x86_64/icu4c-69.1-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/icu4c/72.1_x86_64/icu4c-72.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '31aaafa8b65f82f0bd77e403c4cf3819b20ddfd8abd775996bbf740251244aeb', aarch64: 'c48a08ef474cf15375659a1a4e95db3cca08416c7943492ac539aa3d1d17ac64',
armv7l: '31aaafa8b65f82f0bd77e403c4cf3819b20ddfd8abd775996bbf740251244aeb', armv7l: 'c48a08ef474cf15375659a1a4e95db3cca08416c7943492ac539aa3d1d17ac64',
i686: 'bbb7320a1aac37f09c7f8eb96ed1fefc5f01bc7a85ed0ad1cc9dac2a781472ea', i686: '1572cb682daab3c6e65b4407c7c6f74d5f72f394cd08a9784f4e3f8e4d0c445f',
x86_64: '868a783d335eb13ff06d29b5221448a50e68a728ee1c35f3dc4c16c816716d68' x86_64: 'fd6fdebe976e837378174b6923067491c2d965cdf1b9f252c6728cf98c32b932'
}) })
depends_on 'gcc' # R depends_on 'gcc' # R
@@ -38,14 +38,14 @@ class Icu4c < Package
#{CREW_ENV_OPTIONS} \ #{CREW_ENV_OPTIONS} \
--enable-static \ --enable-static \
--enable-shared \ --enable-shared \
--without-samples \ --disable-samples \
--without-tests" --disable-tests"
system 'make' system 'mold -run make'
end end
end end
@icuver = '69' @icuver = '72'
@oldicuver = %w[67 68] @oldicuver = %w[67 68 69 71]
def self.install def self.install
FileUtils.cd('source') do FileUtils.cd('source') do
@@ -65,24 +65,32 @@ class Icu4c < Package
end end
def self.postinstall def self.postinstall
# Check for packages that expect an older icu library. # Check for packages that expect an older icu library, but not in a container, since we have already
# Dir.chdir CREW_LIB_PREFIX do # checked all obvious packages there.
# @oldicuver.each do |oldver| return if File.exist?('/.dockerenv')
# puts "Finding Packages expecting icu4c version #{oldver} that may need updating:".lightgreen
# @fileArray = [] Dir.chdir CREW_LIB_PREFIX do
# @libArray = [] @oldicuver.each do |oldver|
# @nmresults = %x[nm -A *.so* 2>/dev/null | grep ucol_open_#{oldver}].chop.split(/$/).map(&:strip) puts "Finding Packages expecting icu4c version #{oldver} that may need updating:".lightgreen
# @nmresults.each { |fileLine| @libArray.push(fileLine.partition(":").first) } @fileArray = []
# @libArray.each do |f| @libArray = []
# @grepresults = %x[grep "#{f}" #{CREW_META_PATH}*.filelist].chomp.gsub('.filelist','').partition(":").first.gsub(CREW_META_PATH,'').split(/$/).map(&:strip) @nmresults = `nm -A *.so* 2>/dev/null | grep ucol_open_#{oldver}`.chop.split(/$/).map(&:strip)
# @grepresults.each { |fileLine| @fileArray.push(fileLine) } @nmresults.each { |fileLine| @libArray.push(fileLine.partition(':').first) }
# end @libArray.each do |f|
# unless @fileArray.empty? @grepresults = `grep "#{f}" #{CREW_META_PATH}*.filelist`.chomp.gsub('.filelist', '').partition(':').first.gsub(
# @fileArray.uniq.sort.each do |item| CREW_META_PATH, ''
# puts item.lightred ).split(/$/).map(&:strip)
# end @grepresults.each { |fileLine| @fileArray.push(fileLine) }
# end end
# end # Mozjs contains an internal icu which will not match this version.
# end # Update the following when there is a new version of mozjs.
@fileArray.delete_if {|item| item == 'js102'}
next if @fileArray.empty?
@fileArray.uniq.sort.each do |item|
puts item.lightred
end
end
end
end end
end end

View File

@@ -3,40 +3,62 @@ require 'package'
class Imlib2 < Package class Imlib2 < Package
description 'library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support, etc.' description 'library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support, etc.'
homepage 'https://sourceforge.net/projects/enlightenment/' homepage 'https://sourceforge.net/projects/enlightenment/'
version '1.7.1' version '1.9.1'
license 'BSD' license 'BSD'
compatibility 'all' compatibility 'all'
source_url "https://downloads.sourceforge.net/enlightenment/imlib2-#{version}.tar.bz2" source_url "https://downloads.sourceforge.net/enlightenment/imlib2-#{version}.tar.xz"
source_sha256 '033a6a639dcbc8e03f65ff05e57068e7346d50ee2f2fff304bb9095a1b2bc407' source_sha256 '4a224038bfffbe5d4d250c44e05f4ee5ae24dcfef8395b1677c715c58f764d43'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.7.1_armv7l/imlib2-1.7.1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.9.1_armv7l/imlib2-1.9.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.7.1_armv7l/imlib2-1.7.1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.9.1_armv7l/imlib2-1.9.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.7.1_i686/imlib2-1.7.1-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.9.1_i686/imlib2-1.9.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.7.1_x86_64/imlib2-1.7.1-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/imlib2/1.9.1_x86_64/imlib2-1.9.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'fc1a05ee2eeaa200511b2bcebd2bdc70bd68192e1b3fabacba732cf48485a330', aarch64: '3975a861cde1bc361f8045e80b580e92585308856cdf64fb419b97be43e50e4c',
armv7l: 'fc1a05ee2eeaa200511b2bcebd2bdc70bd68192e1b3fabacba732cf48485a330', armv7l: '3975a861cde1bc361f8045e80b580e92585308856cdf64fb419b97be43e50e4c',
i686: 'fdfae01f5ec753ac700e9e49c7054c9dda42027c9e23c22e5297b92d868ae470', i686: '63fbeec96d32ec29a0ab422a41f5b2f71f5429bf2440bb342d60e575f5b50d07',
x86_64: 'e2bd849c909c8d6bf6b996be7a16479476916fdce072f8d924005318edde2219' x86_64: '5a301b10f322d868e0d1a2e13b9190c95064e4f50bc7654b12e7650f9f2812ef'
}) })
depends_on 'fontconfig' depends_on 'fontconfig'
depends_on 'freetype' depends_on 'freetype'
depends_on 'giflib' depends_on 'giflib'
depends_on 'libid3tag' depends_on 'libid3tag'
depends_on 'libheif'
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'libjxl'
depends_on 'libtiff' depends_on 'libtiff'
depends_on 'libx11' depends_on 'libx11'
depends_on 'libxcb' depends_on 'libxcb'
depends_on 'libxext' depends_on 'libxext'
depends_on 'protobuf_c'
depends_on 'bz2' # R
depends_on 'expat' # R
depends_on 'gcc' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'icu4c' # R
depends_on 'libbsd' # R
depends_on 'libdeflate' # R
depends_on 'libmd' # R
depends_on 'libpng' # R
depends_on 'librsvg' # R
depends_on 'libwebp' # R
depends_on 'libxau' # R
depends_on 'libxdmcp' # R
depends_on 'libxml2' # R
depends_on 'openjpeg' # R
depends_on 'pango' # R
depends_on 'xzutils' # R
depends_on 'zlibpkg' # R
depends_on 'zstd' # R
def self.build def self.build
system "env CFLAGS='-flto=auto -fuse-ld=gold' \ system "./configure \
CXXFLAGS='-pipe -flto=auto -fuse-ld=gold' \
LDFLAGS='-flto=auto' \
./configure \
#{CREW_OPTIONS} \ #{CREW_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc/imlib2 \ --sysconfdir=#{CREW_PREFIX}/etc/imlib2 \
--x-libraries=#{CREW_LIB_PREFIX}" --x-libraries=#{CREW_LIB_PREFIX}"

View File

@@ -3,38 +3,35 @@ require 'package'
class Intel_media_driver < Package class Intel_media_driver < Package
description 'The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware.' description 'The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware.'
homepage 'https://github.com/intel/media-driver' homepage 'https://github.com/intel/media-driver'
@_ver = '21.2.3' @_ver = '22.6.0-c7132d8'
version @_ver version @_ver
license 'BSD-3, and MIT' license 'BSD-3, and MIT'
compatibility 'x86_64' compatibility 'x86_64'
source_url 'https://github.com/intel/media-driver.git' source_url 'https://github.com/intel/media-driver.git'
git_hashtag "intel-media-#{@_ver}" git_hashtag 'c7132d869bed4d9748b789ed4aeb06cc49a311d5'
binary_url({ binary_url({
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/intel_media_driver/21.2.3_x86_64/intel_media_driver-21.2.3-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/intel_media_driver/22.6.0-c7132d8_x86_64/intel_media_driver-22.6.0-c7132d8-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
x86_64: '9bf56121437ac94df50cd1e9e6d2ac74802d0b72d901a0019c47d6ef68af353a' x86_64: 'c8fbadb3eb1e5bec3ff67430d3de69037913e3b2605b02b985b73a1d43c36f17'
}) })
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'gmmlib' depends_on 'gmmlib'
depends_on 'libva' depends_on 'libva'
def self.preflight # def self.preflight
abort 'Not an Intel processor, aborting.'.lightred unless `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive? # abort 'Not an Intel processor, aborting.'.lightred unless `grep -c 'GenuineIntel' /proc/cpuinfo`.to_i.positive?
end # end
def self.patch
system "find . -type f -exec sed -e 's,LD_LIBRARY_PATH=,LD_LIBRARY_PATH=#{CREW_LIB_PREFIX}:,g' \
-e 's,-fstack-protector-all,-fno-stack-protector,g' \
-e 's,-Werror=return-type,-Werror=return-type -Wno-error=maybe-uninitialized,g' \
-e 's,-fstack-protector,-fno-stack-protector,g' -i {} +"
end
def self.build def self.build
FileUtils.mkdir('builddir') FileUtils.mkdir('builddir')
Dir.chdir('builddir') do Dir.chdir('builddir') do
system "cmake #{CREW_CMAKE_OPTIONS.sub('-pipe', '-pipe -Wno-error')} ../ -G Ninja" system "cmake #{CREW_CMAKE_OPTIONS.sub('-pipe', '-pipe -Wno-error')} \
-DMEDIA_BUILD_FATAL_WARNINGS=OFF \
../ -G Ninja"
end end
system 'ninja -C builddir' system 'ninja -C builddir'
end end
@@ -43,10 +40,10 @@ class Intel_media_driver < Package
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/" FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/etc/env.d/"
@env = <<~EOF @env = <<~CONFIG_EOF
# intel_media_driver configuration # intel_media_driver configuration
export LIBVA_DRIVER_NAME=iHD export LIBVA_DRIVER_NAME=iHD
EOF CONFIG_EOF
File.write("#{CREW_DEST_PREFIX}/etc/env.d/intel_media_driver", @env) File.write("#{CREW_DEST_PREFIX}/etc/env.d/intel_media_driver", @env)
end end
end end

View File

@@ -3,23 +3,23 @@ require 'package'
class Irrlicht < Package class Irrlicht < Package
description 'An open source realtime 3D engine written in C++ — Libraries and headers' description 'An open source realtime 3D engine written in C++ — Libraries and headers'
homepage 'http://irrlicht.sourceforge.net/' homepage 'http://irrlicht.sourceforge.net/'
version '1.8.4' version '1.8.5'
license 'ZLIB' license 'ZLIB'
compatibility 'all' compatibility 'all'
source_url 'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip' source_url 'https://downloads.sourceforge.net/irrlicht/irrlicht-1.8.5.zip'
source_sha256 'f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433' source_sha256 'effb7beed3985099ce2315a959c639b4973aac8210f61e354475a84105944f3d'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.4_armv7l/irrlicht-1.8.4-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.5_armv7l/irrlicht-1.8.5-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.4_armv7l/irrlicht-1.8.4-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.5_armv7l/irrlicht-1.8.5-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.4_i686/irrlicht-1.8.4-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.5_i686/irrlicht-1.8.5-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.4_x86_64/irrlicht-1.8.4-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/irrlicht/1.8.5_x86_64/irrlicht-1.8.5-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e98dcd9e79dda539dcc77a4aa5da24fa59f8a465e5f4a42704f2840ad0ddcc9f', aarch64: '6d0e198597e15bb4e9606803abfd3981e259fa4146c9aeb51c407d3b1ef41686',
armv7l: 'e98dcd9e79dda539dcc77a4aa5da24fa59f8a465e5f4a42704f2840ad0ddcc9f', armv7l: '6d0e198597e15bb4e9606803abfd3981e259fa4146c9aeb51c407d3b1ef41686',
i686: '33c6fe1559e924ef6c3ebe75d9bcf5b27d419fe6d31c6989cec84637cd586c93', i686: '8c1332d73f73efeff230e86250d796a7daf4a8d696f782ba6823cee79f7f3c60',
x86_64: 'cad40fccc5ca753ff9d2044bfc720e2d00f775d58691401771eaa731076e4651' x86_64: 'fb72b83979027060249a52e0ec38f0d92e1ae7b04c836230baa744eb967316fd'
}) })
depends_on 'libxrandr' depends_on 'libxrandr'
@@ -28,6 +28,11 @@ class Irrlicht < Package
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'libpng' depends_on 'libpng'
depends_on 'dos2unix' => :build depends_on 'dos2unix' => :build
depends_on 'bz2' # R
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'mesa' # R
depends_on 'zlibpkg' # R
def self.patch def self.patch
system 'curl -#LO https://dev.gentoo.org/~mgorny/dist/irrlicht-1.8.4-patchset.tar.bz2' system 'curl -#LO https://dev.gentoo.org/~mgorny/dist/irrlicht-1.8.4-patchset.tar.bz2'
@@ -60,10 +65,10 @@ class Irrlicht < Package
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/libexec/irrlicht" FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/libexec/irrlicht"
FileUtils.cp Dir.glob('include/*'), "#{CREW_DEST_PREFIX}/include/irrlicht" FileUtils.cp Dir.glob('include/*'), "#{CREW_DEST_PREFIX}/include/irrlicht"
FileUtils.cp 'lib/Linux/libIrrlicht.a', CREW_DEST_LIB_PREFIX.to_s FileUtils.cp 'lib/Linux/libIrrlicht.a', CREW_DEST_LIB_PREFIX.to_s
FileUtils.cp 'lib/Linux/libIrrlicht.so.1.8.4', CREW_DEST_LIB_PREFIX.to_s FileUtils.cp 'lib/Linux/libIrrlicht.so.1.8.5', CREW_DEST_LIB_PREFIX.to_s
Dir.chdir CREW_DEST_LIB_PREFIX.to_s do Dir.chdir CREW_DEST_LIB_PREFIX.to_s do
FileUtils.symlink 'libIrrlicht.so.1.8.4', 'libIrrlicht.so.1.8' FileUtils.symlink 'libIrrlicht.so.1.8.5', 'libIrrlicht.so.1.8'
FileUtils.symlink 'libIrrlicht.so.1.8.4', 'libIrrlicht.so' FileUtils.symlink 'libIrrlicht.so.1.8.5', 'libIrrlicht.so'
end end
end end
end end

View File

@@ -3,23 +3,23 @@ require 'package'
class Jasper < Package class Jasper < Package
description 'The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).' description 'The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).'
homepage 'https://www.ece.uvic.ca/~frodo/jasper/' homepage 'https://www.ece.uvic.ca/~frodo/jasper/'
version '2.0.28' version '3.0.6'
license 'JasPer-2.0' license 'JasPer-2.0'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/jasper-software/jasper/archive/refs/tags/version-2.0.28.tar.gz' source_url 'https://github.com/jasper-software/jasper.git'
source_sha256 '6b4e5f682be0ab1a5acb0eeb6bf41d6ce17a658bb8e2dbda95de40100939cc88' git_hashtag "version-#{version}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/2.0.28_armv7l/jasper-2.0.28-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/3.0.6_armv7l/jasper-3.0.6-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/2.0.28_armv7l/jasper-2.0.28-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/3.0.6_armv7l/jasper-3.0.6-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/2.0.28_i686/jasper-2.0.28-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/3.0.6_i686/jasper-3.0.6-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/2.0.28_x86_64/jasper-2.0.28-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jasper/3.0.6_x86_64/jasper-3.0.6-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '050b02a407702dc301f3f5992a57872d0073e76d1d0a22172990d07ffeb7b52f', aarch64: '7869ef04d5dab7ba48e2c240fa04cb74ea7a2408e0d33a5330ba65b606d519f7',
armv7l: '050b02a407702dc301f3f5992a57872d0073e76d1d0a22172990d07ffeb7b52f', armv7l: '7869ef04d5dab7ba48e2c240fa04cb74ea7a2408e0d33a5330ba65b606d519f7',
i686: 'a017337c865a83e694faa0d009cef7ae2c507cfa7b5563def488423eb05ee6a4', i686: '99b928de2e3b4132d8c5a28dc80fd10db79fe32d3710a013e2b504238b39a10a',
x86_64: 'e6ac7bc7b46baabf165f6afedf70fc509022626c52e483632533670ff2a78ed3' x86_64: 'f7037e21cbcabd82eca2c8382fff9af133db731de5e31b8739eddae727fbfa89'
}) })
depends_on 'freeglut' depends_on 'freeglut'
@@ -27,14 +27,14 @@ class Jasper < Package
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'mesa' depends_on 'mesa'
depends_on 'shared_mime_info' depends_on 'shared_mime_info'
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'libheif' # R
def self.build def self.build
Dir.mkdir 'builddir' Dir.mkdir 'builddir'
Dir.chdir 'builddir' do Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "cmake \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \ -G Ninja \
#{CREW_CMAKE_OPTIONS} \ #{CREW_CMAKE_OPTIONS} \
-DJAS_ENABLE_DOC=FALSE \ -DJAS_ENABLE_DOC=FALSE \

View File

@@ -3,23 +3,23 @@ require 'package'
class Jp2a < Package class Jp2a < Package
description 'jp2a is a simple JPEG/PNG to ASCII converter.' description 'jp2a is a simple JPEG/PNG to ASCII converter.'
homepage 'https://github.com/Talinx/jp2a' homepage 'https://github.com/Talinx/jp2a'
version '1.1.0' version '1.1.1'
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/Talinx/jp2a/releases/download/v1.1.0/jp2a-1.1.0.tar.bz2' source_url 'https://github.com/Talinx/jp2a/releases/download/v1.1.1/jp2a-1.1.1.tar.bz2'
source_sha256 '6017b83f10bae352c7786868a977a02080a4e84fb99e6fbad18086fcfedffdf4' source_sha256 '3b91f26f79eca4e963b1b1ae2473722a706bf642218f20bfe4ade5333aebb106'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.0_armv7l/jp2a-1.1.0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.1_armv7l/jp2a-1.1.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.0_armv7l/jp2a-1.1.0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.1_armv7l/jp2a-1.1.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.0_i686/jp2a-1.1.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.1_i686/jp2a-1.1.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.0_x86_64/jp2a-1.1.0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jp2a/1.1.1_x86_64/jp2a-1.1.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '23f9ec4aee910371c8a37b464e50270b26e000125c9a5636675ed10c08ac8e16', aarch64: '5904d25a8d64927b4daf67d3c8982eeaf748b5e7f4c7b5aa547cad30a9394182',
armv7l: '23f9ec4aee910371c8a37b464e50270b26e000125c9a5636675ed10c08ac8e16', armv7l: '5904d25a8d64927b4daf67d3c8982eeaf748b5e7f4c7b5aa547cad30a9394182',
i686: '7ce07d9769cfe508d021f1fb17d7969c8f986c577a1f903de764890165824f18', i686: 'd036f8479acad0db26fe5b315b0d4f3266b6ab0ed1eb28972bf2c85fe38f8722',
x86_64: '981baefcffa4d9cc67758003cd068235b074b7200e1ffed05d0f5ce76116f089' x86_64: '261e542c36ee596b0682e4a949f4a5f8be73d65b610c8b477a08c878e6ce2c29'
}) })
depends_on 'libjpeg' depends_on 'libjpeg'

View File

@@ -3,23 +3,23 @@ require 'package'
class Jpegoptim < Package class Jpegoptim < Package
description 'Utility to optimize/compress JPEG files' description 'Utility to optimize/compress JPEG files'
homepage 'https://github.com/tjko/jpegoptim' homepage 'https://github.com/tjko/jpegoptim'
version '1.4.7' version '1.5.0'
license 'GPL-3.0' license 'GPL-3.0'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/tjko/jpegoptim/archive/v1.4.7.tar.gz' source_url 'https://github.com/tjko/jpegoptim/archive/v1.5.0.tar.gz'
source_sha256 'c52616f2fb8d481315871680f9943b0f58c553d1e0c49a6bd4691a3e66d7e6de' source_sha256 '67b0feba73fd72f0bd383f25bf84149a73378d34c0c25bc0b9b25b0264d85824'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.4.7_armv7l/jpegoptim-1.4.7-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.5.0_armv7l/jpegoptim-1.5.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.4.7_armv7l/jpegoptim-1.4.7-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.5.0_armv7l/jpegoptim-1.5.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.4.7_i686/jpegoptim-1.4.7-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.5.0_i686/jpegoptim-1.5.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.4.7_x86_64/jpegoptim-1.4.7-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jpegoptim/1.5.0_x86_64/jpegoptim-1.5.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '8e2fb70c56a4d0afd63a766bb3baa8d9bd17be103393aef137d4026511e84edc', aarch64: 'd4decc886ec846db2b6c730ddac7593c806fdad9f271dfdd91f164a3f167f751',
armv7l: '8e2fb70c56a4d0afd63a766bb3baa8d9bd17be103393aef137d4026511e84edc', armv7l: 'd4decc886ec846db2b6c730ddac7593c806fdad9f271dfdd91f164a3f167f751',
i686: '0502e5b79febacbdb1d0469c6a1951e8b1b7fe004fc3ebe3ffc4f6a32f6c802a', i686: '8c944bed8ae566930095f00fcf73e9c6dd26e49f00162a46e5574050227df70b',
x86_64: '9c3f331ec059b3f6f9580845be871658467ae7ee00fed66021bdbeee497c3a82' x86_64: '0954751ef6aada53613c24fba136c5a2257c64338ad972e6bc07597041d0bddc'
}) })
depends_on 'libjpeg' depends_on 'libjpeg'

135
packages/js102.rb Normal file
View File

@@ -0,0 +1,135 @@
require 'package'
class Js102 < Package
description 'Spidermonkey is a javaScript interpreter with libraries from Mozilla — Version 102'
@_ver = '102.4.0'
version @_ver
license 'MPL-2.0'
compatibility 'all'
source_url "https://archive.mozilla.org/pub/firefox/releases/#{@_ver}esr/source/firefox-#{@_ver}esr.source.tar.xz"
source_sha256 'e79f0ddd4914dfbff61c5eea7ff28ad2dd12ecfbf3d63a41dab57d50171d904e'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/js102/102.4.0_armv7l/js102-102.4.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/js102/102.4.0_armv7l/js102-102.4.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/js102/102.4.0_i686/js102-102.4.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/js102/102.4.0_x86_64/js102-102.4.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: 'cdebffea9ebee4e43ae1c1b3e69f8fa1f573fef22fb16a138da9ebb590c23f45',
armv7l: 'cdebffea9ebee4e43ae1c1b3e69f8fa1f573fef22fb16a138da9ebb590c23f45',
i686: 'c1b727f99b1fc175bda9e5e2f5059712f01e5b190d3528c838a3887861b38c58',
x86_64: '3eab263b390fe708d484866d91faf01d389abf394f35f9e8b358fff2a334f478'
})
depends_on 'autoconf213' => :build
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'icu4c' # R
depends_on 'libnotify' => :build
depends_on 'llvm' => :build
depends_on 'ncurses' # R
depends_on 'nspr'
depends_on 'nss' # R
depends_on 'readline' # R
depends_on 'rust' => :build
depends_on 'zlibpkg' # R
@rust_default_host = case ARCH
when 'aarch64', 'armv7l'
'armv7-unknown-linux-gnueabihf'
else
"#{ARCH}-unknown-linux-gnu"
end
def self.patch
# Python 3.10 fixes
system 'sed -i s,collections.Sequence,collections.abc.Sequence,g python/mozbuild/mozbuild/util.py'
system "sed -i 's/Iterable, OrderedDict/OrderedDict/' python/mozbuild/mozbuild/backend/configenvironment.py"
system "sed -i '/from collections import OrderedDict/a from collections.abc import Iterable' python/mozbuild/mozbuild/backend/configenvironment.py"
system "sed -i 's/collections import defaultdict, MutableSequence/collections import defaultdict/' testing/mozbase/manifestparser/manifestparser/filters.py"
system "sed -i '/from collections import defaultdict/a from collections.abc import MutableSequence' testing/mozbase/manifestparser/manifestparser/filters.py"
system "sed -i 's/collections import Iterable/collections.abc import Iterable/' python/mozbuild/mozbuild/makeutil.py"
return unless ARCH == 'i686'
# https://bugzilla.mozilla.org/show_bug.cgi?id=1729459#c25
@math_x86_patch = <<~'PATCH_EOF'
diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h
index 51d79f9c2ec59..fafd7d6fc1e0d 100644
--- a/modules/fdlibm/src/math_private.h
+++ b/modules/fdlibm/src/math_private.h
@@ -30,7 +30,11 @@
* Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
*/
+#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2)
+typedef long double __double_t;
+#else
typedef double __double_t;
+#endif
typedef __double_t double_t;
/*
PATCH_EOF
File.write('math_x86.patch', @math_x86_patch)
system 'patch -p 1 -i math_x86.patch'
end
def self.build
@mozconfig = <<~MOZCONFIG_EOF
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-jemalloc
ac_add_options --disable-strip
ac_add_options --enable-application=js
ac_add_options --enable-hardening
ac_add_options --enable-optimize
ac_add_options --enable-readline
ac_add_options --enable-release
ac_add_options --enable-shared-js
ac_add_options --libdir=#{CREW_LIB_PREFIX}
ac_add_options --prefix=#{CREW_PREFIX}
ac_add_options --with-intl-api
ac_add_options --with-system-nspr
ac_add_options --with-system-zlib
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj
MOZCONFIG_EOF
File.write('.mozconfig', @mozconfig)
if %w[armv7l aarch64].include?(ARCH)
# see https://bugzilla.mozilla.org/show_bug.cgi?id=1786621
open('.mozconfig', 'a') do |f|
f.puts 'ac_add_options --with-system-icu'
end
else
open('.mozconfig', 'a') do |f|
f.puts 'ac_add_options --enable-rust-simd'
f.puts 'ac_add_options --without-system-icu'
end
end
FileUtils.mkdir_p 'obj'
Dir.chdir 'obj' do
# error: Cannot set `RUSTC_BOOTSTRAP=1` from build script of `packed_simd v0.3.4 (https://github.com/hsivonen/packed_simd?rev=0917fe780032a6bbb23d71be545f9c1834128d75#0917fe78)`.
# note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would subvert the stability guarantees of Rust for your project.
# help: If you're sure you want to do this in your project, set the environment variable `RUSTC_BOOTSTRAP=packed_simd` before running cargo instead.
ENV['RUSTC_BOOTSTRAP'] = 'packed_simd,packed_simd_2,encoding_rs'
system "CFLAGS='-fcf-protection=none' \
CXXFLAGS='-fcf-protection=none' \
CC=gcc CXX=g++ \
RUSTFLAGS='-Clto=thin' \
RUSTUP_HOME='#{CREW_PREFIX}/share/rustup' \
CARGO_HOME='#{CREW_PREFIX}/share/cargo' \
LDFLAGS='-lreadline -ltinfo' \
MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system \
MOZCONFIG=../.mozconfig \
mold -run ../mach build"
end
end
def self.install
Dir.chdir 'obj' do
system "DESTDIR=#{CREW_DEST_DIR} make install"
FileUtils.rm Dir.glob("#{CREW_DEST_LIB_PREFIX}/*.ajs")
end
end
end

49
packages/jsonrpc_glib.rb Normal file
View File

@@ -0,0 +1,49 @@
# Adapted from Arch Linux jsonrpc-glib PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/jsonrpc-glib/trunk/PKGBUILD
require 'package'
class Jsonrpc_glib < Package
description 'A JSON-RPC library for GLib'
homepage 'https://gitlab.gnome.org/GNOME/jsonrpc-glib'
version '3.42.0'
license 'LGPL'
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/jsonrpc-glib.git'
git_hashtag version
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jsonrpc_glib/3.42.0_armv7l/jsonrpc_glib-3.42.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jsonrpc_glib/3.42.0_armv7l/jsonrpc_glib-3.42.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jsonrpc_glib/3.42.0_i686/jsonrpc_glib-3.42.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/jsonrpc_glib/3.42.0_x86_64/jsonrpc_glib-3.42.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '3f88e3475e71dd51196732f937c0cc9c814b541a84f2dbf34945cf0b37477eec',
armv7l: '3f88e3475e71dd51196732f937c0cc9c814b541a84f2dbf34945cf0b37477eec',
i686: 'e562c2da3be03430a0d69725dd74dead647243cba16e07f6dd69c7d457f42063',
x86_64: '19964bdf5d11e2c40c9cd1d09107045b28259e9d657df1bdd6ec31f28b847d86'
})
depends_on 'json_glib'
depends_on 'vala' => :build
depends_on 'gobject_introspection' => :build
depends_on 'py3_gi_docgen' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
def self.build
system "meson #{CREW_MESON_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'mold -run samu -C builddir'
end
def self.check
system 'ninja test -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end

View File

@@ -4,23 +4,23 @@ class Leptonica < Package
description 'Software that is broadly useful for image processing and image analysis applications' description 'Software that is broadly useful for image processing and image analysis applications'
homepage 'http://www.leptonica.com/' homepage 'http://www.leptonica.com/'
@_ver = '1.82.0' @_ver = '1.82.0'
version @_ver.to_s version "#{@_ver}-1"
license 'Apache-2.0' license 'Apache-2.0'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/DanBloomberg/leptonica.git' source_url 'https://github.com/DanBloomberg/leptonica.git'
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0_armv7l/leptonica-1.82.0-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0-1_armv7l/leptonica-1.82.0-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0_armv7l/leptonica-1.82.0-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0-1_armv7l/leptonica-1.82.0-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0_i686/leptonica-1.82.0-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0-1_i686/leptonica-1.82.0-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0_x86_64/leptonica-1.82.0-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/leptonica/1.82.0-1_x86_64/leptonica-1.82.0-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e2a96595f055b95b9aa4692ce8e85a0871ecdf61c913bb7c880d6213f3be367f', aarch64: '1860d784a88c153650ab389c339dafa608e350a9790dd2e30e52f1c8b5654115',
armv7l: 'e2a96595f055b95b9aa4692ce8e85a0871ecdf61c913bb7c880d6213f3be367f', armv7l: '1860d784a88c153650ab389c339dafa608e350a9790dd2e30e52f1c8b5654115',
i686: 'd87be48dbc0a38bf17449b47683561006df9009087e50a14becdaa68bcef7e59', i686: '52e64b338abe4cdae009176a7f55ddb5602cc05ef2c130eb6930708f9302aedc',
x86_64: 'bd99bd57833ce674b0edd95223df38b7ca65cc1b2d357312f200d771a6d532c1' x86_64: '5ef3ed7eb5760e110eb58faeb678aa6bfd549b344d91efb7b7e185deb7410acd'
}) })
depends_on 'giflib' depends_on 'giflib'
@@ -29,14 +29,17 @@ class Leptonica < Package
depends_on 'libtiff' depends_on 'libtiff'
depends_on 'libwebp' depends_on 'libwebp'
depends_on 'openjpeg' depends_on 'openjpeg'
depends_on 'glibc' # R
depends_on 'libdeflate' # R
depends_on 'libpng' # R
depends_on 'xzutils' # R
depends_on 'zlibpkg' # R
depends_on 'zstd' # R
def self.build def self.build
system '[ -x configure ] || ./autogen.sh' system '[ -x configure ] || ./autogen.sh'
system "[ -f Makefile ] || env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "[ -f Makefile ] || ./configure #{CREW_OPTIONS}"
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system 'mold -run make'
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
end end
def self.install def self.install

View File

@@ -3,24 +3,24 @@ require 'package'
class Libadwaita < Package class Libadwaita < Package
description 'Library of GNOME-specific UI patterns, replacing libhandy for GTK4' description 'Library of GNOME-specific UI patterns, replacing libhandy for GTK4'
homepage 'https://gitlab.gnome.org/GNOME/libadwaita/' homepage 'https://gitlab.gnome.org/GNOME/libadwaita/'
@_ver = '1.0.3' @_ver = '1.2.0'
version @_ver version "#{@_ver}-1"
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/libadwaita.git' source_url 'https://gitlab.gnome.org/GNOME/libadwaita.git'
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.0.3_armv7l/libadwaita-1.0.3-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.2.0-1_armv7l/libadwaita-1.2.0-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.0.3_armv7l/libadwaita-1.0.3-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.2.0-1_armv7l/libadwaita-1.2.0-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.0.3_i686/libadwaita-1.0.3-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.2.0-1_i686/libadwaita-1.2.0-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.0.3_x86_64/libadwaita-1.0.3-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libadwaita/1.2.0-1_x86_64/libadwaita-1.2.0-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '009e5ef5d3adcfde46a4b7e671f707680c46d9817c031732eec13aee1c0d170f', aarch64: 'c554162f65773ba5b814131091279d803bd1960b1907e27ab195f9cc324b74ed',
armv7l: '009e5ef5d3adcfde46a4b7e671f707680c46d9817c031732eec13aee1c0d170f', armv7l: 'c554162f65773ba5b814131091279d803bd1960b1907e27ab195f9cc324b74ed',
i686: '3e7139dea2d70fbc714594070bfa6316024413200815bafb1d860b5d99c3c291', i686: '0f519fa0b42782fa36fd3bec21e4aba8b1afcf89e38c2066c9c5a90881b71ab5',
x86_64: 'd828e672cbf543de90112d024cf2db87ac2d38f68ccbab2d970f01059189b057' x86_64: 'eca2ddef9d0e97b70dc3dde07b1bdb2c712f40430bb0609b13c409384db75d02'
}) })
depends_on 'cairo' depends_on 'cairo'
@@ -31,16 +31,26 @@ class Libadwaita < Package
depends_on 'gtk4' depends_on 'gtk4'
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'pango' depends_on 'pango'
depends_on 'py3_gi_docgen' => :build
depends_on 'libsass' => :build
depends_on 'sassc' => :build
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'vulkan_headers' => :build depends_on 'vulkan_headers' => :build
depends_on 'fribidi' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'vulkan_icd_loader' # R
gnome gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dintrospection=enabled \ -Dintrospection=enabled \
-Dgtk_doc=false builddir" -Dexamples=false \
-Dgtk_doc=false \
-Dtests=false \
builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'samu -C builddir' system 'mold -run samu -C builddir'
end end
def self.install def self.install

View File

@@ -3,47 +3,32 @@ require 'package'
class Libaom < Package class Libaom < Package
description 'AV1 video codec from Alliance for Open Media' description 'AV1 video codec from Alliance for Open Media'
homepage 'https://aomedia.org/' homepage 'https://aomedia.org/'
version '3.0.0' version '3.5.0'
license 'BSD-2' license 'BSD-2'
compatibility 'all' compatibility 'all'
source_url 'SKIP' source_url 'https://aomedia.googlesource.com/aom.git'
git_hashtag "v#{version}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.0.0_armv7l/libaom-3.0.0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.5.0_armv7l/libaom-3.5.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.0.0_armv7l/libaom-3.0.0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.5.0_armv7l/libaom-3.5.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.0.0_i686/libaom-3.0.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.5.0_i686/libaom-3.5.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.0.0_x86_64/libaom-3.0.0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libaom/3.5.0_x86_64/libaom-3.5.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '72f877cc765100e7fcde222405861a42c9193d715fb2c068854ad4caf9d2d48c', aarch64: 'de52b8db47bade9cc3862f66e9b925d7b402f277eba3dde4cc947b170387518a',
armv7l: '72f877cc765100e7fcde222405861a42c9193d715fb2c068854ad4caf9d2d48c', armv7l: 'de52b8db47bade9cc3862f66e9b925d7b402f277eba3dde4cc947b170387518a',
i686: 'a73111242ed76bf16ec0c638095ef304437e1330ae489108153e43eec5fc3a85', i686: '8883ff0962eb09fc19361b650ce19eb42d6f3c3a8bab1935bf74ca4552bf9772',
x86_64: 'aae749ceebb4a126c85f80c2864253d8377893d225d26045e6838f7cb35a1cbe' x86_64: '9d0a836a2ea213123c07ebee709473673b2451e77e69a7b2652bcdbf0eaa7208'
}) })
depends_on 'yasm' => :build depends_on 'nasm' => :build
depends_on 'glibc' # R
def self.prebuild
@git_dir = 'aom_git'
@git_hash = '307ce06ed82d93885ee8ed53e152c9268ac0d98d'
@git_url = 'https://aomedia.googlesource.com/aom'
FileUtils.rm_rf(@git_dir)
FileUtils.mkdir_p(@git_dir)
Dir.chdir @git_dir do
system 'git init'
system "git remote add origin #{@git_url}"
system "git fetch --depth 1 origin #{@git_hash}"
system 'git checkout FETCH_HEAD'
end
end
def self.build def self.build
Dir.mkdir 'aom_git/builddir' Dir.mkdir 'builddir'
Dir.chdir 'aom_git/builddir' do Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "cmake \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \ -G Ninja \
#{CREW_CMAKE_OPTIONS} \ #{CREW_CMAKE_OPTIONS} \
-DBUILD_SHARED_LIBS:BOOL='ON' \ -DBUILD_SHARED_LIBS:BOOL='ON' \
@@ -63,10 +48,10 @@ class Libaom < Package
-Wno-dev \ -Wno-dev \
.." .."
end end
system 'ninja -C aom_git/builddir' system 'ninja -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C aom_git/builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end

View File

@@ -3,53 +3,52 @@ require 'package'
class Libavif < Package class Libavif < Package
description 'Library for encoding and decoding .avif files' description 'Library for encoding and decoding .avif files'
homepage 'https://github.com/AOMediaCodec/libavif' homepage 'https://github.com/AOMediaCodec/libavif'
@_ver = '0.9.0' @_ver = '0.10.1'
version "#{@_ver}-1" version "#{@_ver}-1"
license 'BSD-2' license 'BSD-2'
compatibility 'all' compatibility 'all'
source_url "https://github.com/AOMediaCodec/libavif/archive/v#{@_ver}.tar.gz" source_url 'https://github.com/AOMediaCodec/libavif.git'
source_sha256 'ea1603fc18e7dd20cf01f0b405156576886ecb5df84db8c0e87187cd2f8a00f4' git_hashtag "v#{@_ver}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.9.0-1_armv7l/libavif-0.9.0-1-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.10.1-1_armv7l/libavif-0.10.1-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.9.0-1_armv7l/libavif-0.9.0-1-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.10.1-1_armv7l/libavif-0.10.1-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.9.0-1_i686/libavif-0.9.0-1-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.10.1-1_i686/libavif-0.10.1-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.9.0-1_x86_64/libavif-0.9.0-1-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libavif/0.10.1-1_x86_64/libavif-0.10.1-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'a8da55cfc5b76744c0925508e0824f861a6846d87960ebefbfdcf09c4d36a9c9', aarch64: '6742660c503f4e1ac5f39e8b5e3c5ef04b064d5d01ab9b36ebf6c8d0d912db64',
armv7l: 'a8da55cfc5b76744c0925508e0824f861a6846d87960ebefbfdcf09c4d36a9c9', armv7l: '6742660c503f4e1ac5f39e8b5e3c5ef04b064d5d01ab9b36ebf6c8d0d912db64',
i686: '2b0ff587fc88d91ea8142d6eec6e5aba0c00a6ca0a9c63d83551c66c97a44e36', i686: '88f3295861a9005e0dda42b4ffe1f7b9a5950fd5d024498aa009387fa4991639',
x86_64: 'd35b961e2c797c54aedbf2e7addac2c0f8e8a1419d51d85fd62c27c66fd53975' x86_64: '5913a00db3f91eb5c64e95aa844ea6d7be2605b9e6244bb1dc640644ca1df634'
}) })
depends_on 'libaom' depends_on 'libaom'
depends_on 'dav1d' depends_on 'dav1d'
depends_on 'rav1e' depends_on 'rav1e'
depends_on 'svt_av1' if ARCH == 'x86_64' depends_on 'svt_av1'
depends_on 'libpng' depends_on 'libpng'
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'libyuv' depends_on 'libyuv'
depends_on 'nasm' => :build depends_on 'nasm' => :build
depends_on 'pkgconf' => :build depends_on 'pkgconf' => :build
depends_on 'gdk_pixbuf' => :build depends_on 'gcc' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.build def self.build
ARCH == 'x86_64' ? (@svt = 'ON') : (@svt = 'OFF')
Dir.mkdir 'builddir' Dir.mkdir 'builddir'
Dir.chdir 'builddir' do Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -I#{CREW_PREFIX}/include/harfbuzz' \ system "cmake \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \ -G Ninja \
#{CREW_CMAKE_OPTIONS} \ #{CREW_CMAKE_OPTIONS} \
-DAVIF_BUILD_APPS=ON \ -DAVIF_BUILD_APPS=ON \
-DAVIF_CODEC_AOM=ON \ -DAVIF_CODEC_AOM=ON \
-DAVIF_CODEC_DAV1D=ON \ -DAVIF_CODEC_DAV1D=ON \
-DAVIF_CODEC_RAV1E=ON \ -DAVIF_CODEC_RAV1E=ON \
-DAVIF_CODEC_SVT=#{@svt} \ -DAVIF_CODEC_SVT=ON \
-DAVIF_BUILD_GDK_PIXBUF=ON \ -DAVIF_BUILD_GDK_PIXBUF=ON \
.." .."
end end
@@ -61,9 +60,9 @@ class Libavif < Package
end end
def self.postinstall def self.postinstall
if File.exist?("#{CREW_PREFIX}/bin/gdk-pixbuf-query-loaders") return unless File.exist?("#{CREW_PREFIX}/bin/gdk-pixbuf-query-loaders")
system 'gdk-pixbuf-query-loaders',
'--update-cache' system 'gdk-pixbuf-query-loaders',
end '--update-cache'
end end
end end

View File

@@ -0,0 +1,46 @@
# Adapted from Arch Linux libcloudproviders PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/libcloudproviders/trunk/PKGBUILD
require 'package'
class Libcloudproviders < Package
description 'DBus API that allows cloud storage sync clients to expose their services'
homepage 'https://gitlab.gnome.org/World/libcloudproviders'
version '0.3.1'
license 'LGPL3'
compatibility 'all'
source_url 'https://gitlab.gnome.org/World/libcloudproviders.git'
git_hashtag version
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcloudproviders/0.3.1_armv7l/libcloudproviders-0.3.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcloudproviders/0.3.1_armv7l/libcloudproviders-0.3.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcloudproviders/0.3.1_i686/libcloudproviders-0.3.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcloudproviders/0.3.1_x86_64/libcloudproviders-0.3.1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '66bdf01e15334ebf3116560bfe420c135c88985c9aec1b9681e723a85f1d7643',
armv7l: '66bdf01e15334ebf3116560bfe420c135c88985c9aec1b9681e723a85f1d7643',
i686: 'e82c90e2d4b30c72c236ac229f7897a5fffc7b0f642928645b6137517d46d414',
x86_64: 'c09ca53402d15711f03131517aadeb610bac7ae3a4269ec30ac9e9719ecf5fae'
})
depends_on 'gobject_introspection' => :build
depends_on 'vala' => :build
depends_on 'gtk_doc' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
gnome
def self.build
system "meson #{CREW_MESON_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end

View File

@@ -4,23 +4,23 @@ class Libcue < Package
description 'Parses so-called cue sheets and handles the parsed data.' description 'Parses so-called cue sheets and handles the parsed data.'
homepage 'https://github.com/lipnitsk/libcue/' homepage 'https://github.com/lipnitsk/libcue/'
@_ver = '2.2.1' @_ver = '2.2.1'
version "#{@_ver}-1" version "#{@_ver}-2"
compatibility 'all'
license 'GPL-2' license 'GPL-2'
compatibility 'all'
source_url 'https://github.com/lipnitsk/libcue.git' source_url 'https://github.com/lipnitsk/libcue.git'
git_hashtag "v#{@_ver}" git_hashtag "v#{@_ver}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-1_armv7l/libcue-2.2.1-1-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-2_armv7l/libcue-2.2.1-2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-1_armv7l/libcue-2.2.1-1-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-2_armv7l/libcue-2.2.1-2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-1_i686/libcue-2.2.1-1-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-2_i686/libcue-2.2.1-2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-1_x86_64/libcue-2.2.1-1-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcue/2.2.1-2_x86_64/libcue-2.2.1-2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '0d8289b34f20ccad9051d5588888b3236c002aecd077138d1d468ce85d0b84c7', aarch64: '7280f4c8791036ff19b4f7c66247a4061bdbcf1174c462b6514ddf9d595f246d',
armv7l: '0d8289b34f20ccad9051d5588888b3236c002aecd077138d1d468ce85d0b84c7', armv7l: '7280f4c8791036ff19b4f7c66247a4061bdbcf1174c462b6514ddf9d595f246d',
i686: '8d2821a6059b805cfc7789ccde5f769c6e86c4c04b99ca96647e8e82f81d8541', i686: 'ff73b593cb5b157df293efbba4eda3aace6ccf3f8ff7a65501e06d3114d96f5f',
x86_64: '3c63b508f9b104d76317bb62b291746bc692d57dabcf3e806d8be736f69971d3' x86_64: '643d18797d75d95900d74fe3287f92f3273019b6221b503fa0cb4abecc632269'
}) })
def self.build def self.build

View File

@@ -3,24 +3,24 @@ require 'package'
class Libcurl < Package class Libcurl < Package
description 'Command line tool and library for transferring data with URLs.' description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.se/' homepage 'https://curl.se/'
@_ver = '7.85.0' @_ver = '7.86.0'
version "#{@_ver}-2" version @_ver
license 'curl' license 'curl'
compatibility 'all' compatibility 'all'
source_url "https://curl.se/download/curl-#{@_ver}.tar.xz" source_url "https://curl.se/download/curl-#{@_ver}.tar.xz"
source_sha256 '88b54a6d4b9a48cb4d873c7056dcba997ddd5b7be5a2d537a4acb55c20b04be6' source_sha256 '2d61116e5f485581f6d59865377df4463f2e788677ac43222b496d4e49fb627b'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.85.0-2_armv7l/libcurl-7.85.0-2-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.86.0_armv7l/libcurl-7.86.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.85.0-2_armv7l/libcurl-7.85.0-2-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.86.0_armv7l/libcurl-7.86.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.85.0-2_i686/libcurl-7.85.0-2-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.86.0_i686/libcurl-7.86.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.85.0-2_x86_64/libcurl-7.85.0-2-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libcurl/7.86.0_x86_64/libcurl-7.86.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'ef8a20bbf17d0af629faba739d64996620b23750741567148fa2b07d8b3da02b', aarch64: '5e1dba3eef4a0cf7fd9c2edba1a1c5f823a2c3bbace196cb6102099f963aa3ad',
armv7l: 'ef8a20bbf17d0af629faba739d64996620b23750741567148fa2b07d8b3da02b', armv7l: '5e1dba3eef4a0cf7fd9c2edba1a1c5f823a2c3bbace196cb6102099f963aa3ad',
i686: 'ff09a8aab5a36e60eba3c07334eaf250bfa118464c40f8926beaf9f00fc5f6b1', i686: '4f70bccbcc26c3182d76d542fa75b6ef70aea5352479fb2a24dd0b2af1f529c8',
x86_64: 'd5db076ec9605407bc0e7e0ba8f9d0d3575a6e31d7670c56ab3028c4ca19dd6a' x86_64: '8d579bd3ca36b7304e4505dd2a05a9872f667057b6974396d3c24a49727a416c'
}) })
depends_on 'brotli' # R depends_on 'brotli' # R
@@ -40,6 +40,7 @@ class Libcurl < Package
depends_on 'valgrind' => :build depends_on 'valgrind' => :build
depends_on 'zlibpkg' # R depends_on 'zlibpkg' # R
depends_on 'zstd' # R depends_on 'zstd' # R
no_patchelf no_patchelf
def self.build def self.build

View File

@@ -3,23 +3,23 @@ require 'package'
class Libdazzle < Package class Libdazzle < Package
description 'The libdazzle library is a companion library to GObject and Gtk+.' description 'The libdazzle library is a companion library to GObject and Gtk+.'
homepage 'https://gitlab.gnome.org/GNOME/libdazzle/' homepage 'https://gitlab.gnome.org/GNOME/libdazzle/'
version '3.42.0' version '3.44.0'
license 'GPL-3+' license 'GPL-3+'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/libdazzle.git' source_url 'https://gitlab.gnome.org/GNOME/libdazzle.git'
git_hashtag version git_hashtag version
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.42.0_armv7l/libdazzle-3.42.0-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.44.0_armv7l/libdazzle-3.44.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.42.0_armv7l/libdazzle-3.42.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.44.0_armv7l/libdazzle-3.44.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.42.0_i686/libdazzle-3.42.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.44.0_i686/libdazzle-3.44.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.42.0_x86_64/libdazzle-3.42.0-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdazzle/3.44.0_x86_64/libdazzle-3.44.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '73220246b614627588ea66c5c34a534aad824c6cd23c36a84195126f0c535e81', aarch64: '52e3f53104ecfd23518fd1d74be8029ceee5e888f1b0f87356f660ca2ef1b61e',
armv7l: '73220246b614627588ea66c5c34a534aad824c6cd23c36a84195126f0c535e81', armv7l: '52e3f53104ecfd23518fd1d74be8029ceee5e888f1b0f87356f660ca2ef1b61e',
i686: 'aad003a9c452e18a2b895a9da0700f3c4c0147ccc2630a79aba1f1b373f54b5c', i686: '91adea6f5b4386aec4c175bf971470902fb7321ade452c432c5d3c679a230e08',
x86_64: '38c0d450cd7aacacb4f556f328d87e3b110189914906fff6e814e6d4cc5cacec' x86_64: 'da118b278df9520003ffd8e7e2fdcebc28ab553b6a3c0b9491637b886ef919c5'
}) })
depends_on 'cairo' depends_on 'cairo'
@@ -28,6 +28,8 @@ class Libdazzle < Package
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'pango' depends_on 'pango'
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,7 +3,7 @@ require 'package'
class Libdrm < Package class Libdrm < Package
description 'Cross-driver middleware for DRI protocol.' description 'Cross-driver middleware for DRI protocol.'
homepage 'https://dri.freedesktop.org' homepage 'https://dri.freedesktop.org'
@_ver = '2.4.112' @_ver = '2.4.113'
version @_ver version @_ver
license 'MIT' license 'MIT'
compatibility 'all' compatibility 'all'
@@ -11,35 +11,37 @@ class Libdrm < Package
git_hashtag "libdrm-#{@_ver}" git_hashtag "libdrm-#{@_ver}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.112_armv7l/libdrm-2.4.112-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.113_armv7l/libdrm-2.4.113-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.112_armv7l/libdrm-2.4.112-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.113_armv7l/libdrm-2.4.113-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.112_i686/libdrm-2.4.112-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.113_i686/libdrm-2.4.113-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.112_x86_64/libdrm-2.4.112-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libdrm/2.4.113_x86_64/libdrm-2.4.113-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '80aaba199fd6f8c788e07cb1dc1d77b77318d810d7d7593a24d7d422d927b798', aarch64: 'd89807cb6e368b1bb03f8351a3c699463fe81cb0533fc2d54ec0d917f41974c8',
armv7l: '80aaba199fd6f8c788e07cb1dc1d77b77318d810d7d7593a24d7d422d927b798', armv7l: 'd89807cb6e368b1bb03f8351a3c699463fe81cb0533fc2d54ec0d917f41974c8',
i686: '280ee9624f654a35e16f77a053488e13d9b1f2e7f51b1c060abb286636c76749', i686: '41e96c881ac6e9dd40b500095d1e8bc060477cb5c6b2662661ae5d4797fc78cc',
x86_64: '6f0aca30b18bd101dcc1e38d888e2c734b260291a9d2d19076dd540919ed0cdd' x86_64: '950a8cbf4110cc3b9e10127aa09be07e8d9828e115d6eb4ec18ec23d81818f77'
}) })
depends_on 'libpciaccess' # R depends_on 'libpciaccess' # R
depends_on 'xorg_lib' => :build depends_on 'xorg_lib' => :build
depends_on 'eudev' => :build depends_on 'eudev' => :build
depends_on 'libxslt' => :build depends_on 'libxslt' => :build
depends_on 'glibc' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dfreedreno-kgsl=true \ -Dfreedreno-kgsl=true \
-Damdgpu=true \ -Damdgpu=enabled \
-Dradeon=true \ -Dradeon=enabled \
-Dnouveau=true \ -Dnouveau=enabled \
-Dintel=true \ -Dintel=auto \
-Dvmwgfx=true \ -Dvmwgfx=enabled \
-Dvc4=true \ -Dvc4=auto \
-Dfreedreno=true \ -Dfreedreno=enabled \
-Detnaviv=true \ -Detnaviv=auto \
-Dexynos=true \ -Dexynos=auto \
-Dtests=false \
-Dudev=true \ -Dudev=true \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'

View File

@@ -5,30 +5,30 @@ require 'package'
class Libefl < Package class Libefl < Package
description 'Enlightenment Foundation Libraries' description 'Enlightenment Foundation Libraries'
homepage 'https://enlightenment.org' homepage 'https://enlightenment.org'
version '1.24.3' version '1.26.3'
license 'BSD, BSD-2, BSD-3, LGPL-2.1, GPL-2, freetype, MIT, Apache-2.0' # Needs verifiying license 'BSD, BSD-2, BSD-3, LGPL-2.1, GPL-2, freetype, MIT, Apache-2.0' # Needs verifiying
compatibility 'all' compatibility 'all'
source_url 'https://download.enlightenment.org/rel/libs/efl/efl-1.24.3.tar.xz' source_url 'https://download.enlightenment.org/rel/libs/efl/efl-1.26.3.tar.xz'
source_sha256 'de95c6e673c170c1e21382918b122417c091c643e7dcaced89aa785529625c2a' source_sha256 'd9f83aa0fd9334f44deeb4e4952dc0e5144683afac786feebce6030951617d15'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.24.3_armv7l/libefl-1.24.3-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.26.3_armv7l/libefl-1.26.3-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.24.3_armv7l/libefl-1.24.3-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.26.3_armv7l/libefl-1.26.3-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.24.3_i686/libefl-1.24.3-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.26.3_i686/libefl-1.26.3-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.24.3_x86_64/libefl-1.24.3-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libefl/1.26.3_x86_64/libefl-1.26.3-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'a8711a86825b0186ce5749455cf1763c9a338a2dffdad78cdbf1eab185b6a879', aarch64: 'f1bf40ac1f75c23e2eccc2b1aae3e8df459ed3a7155fffae17a89bd6f082d277',
armv7l: 'a8711a86825b0186ce5749455cf1763c9a338a2dffdad78cdbf1eab185b6a879', armv7l: 'f1bf40ac1f75c23e2eccc2b1aae3e8df459ed3a7155fffae17a89bd6f082d277',
i686: 'e5f5bba5bdb07c1abaa60229fee05f97b6a617c60af647734a839340e38a8429', i686: 'e0f1ddc89d693ecbb627f957c56e5764eaf471acd8ab17f51d001112e5db79e1',
x86_64: 'be56db051dee123ac67bb9938acc09a930ba5a58e785b9a818d2ac74fbba97aa' x86_64: 'c1761b15c8a7910deff5fd58282197b91609db928b4ed880a210827c46fba301'
}) })
depends_on 'lz4' depends_on 'lz4'
depends_on 'libusb' depends_on 'libusb'
depends_on 'fontconfig' depends_on 'fontconfig'
depends_on 'fribidi' depends_on 'fribidi'
depends_on 'libjpeg_turbo' depends_on 'libjpeg'
depends_on 'libpng' depends_on 'libpng'
depends_on 'giflib' depends_on 'giflib'
depends_on 'libtiff' depends_on 'libtiff'
@@ -62,23 +62,40 @@ class Libefl < Package
depends_on 'xcb_util_wm' depends_on 'xcb_util_wm'
depends_on 'xorg_proto' depends_on 'xorg_proto'
depends_on 'gnutls' depends_on 'gnutls'
depends_on 'dbus' # R
depends_on 'freetype' # R
depends_on 'gcc' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'lcms' # R
depends_on 'libgcrypt' # R
depends_on 'libglvnd' # R
depends_on 'libinput' # R
depends_on 'libunwind' # R
depends_on 'libx11' # R
depends_on 'libxcb' # R
depends_on 'libxext' # R
depends_on 'libxfixes' # R
depends_on 'libxkbcommon' # R
depends_on 'libxtst' # R
depends_on 'util_linux' # R
depends_on 'zlibpkg' # R
def self.build def self.build
system 'meson', system "meson #{CREW_MESON_OPTIONS} \
"--prefix=#{CREW_PREFIX}", -Dcrypto=gnutls \
"--libdir=#{CREW_LIB_PREFIX}", -Dsystemd=false \
'-Dcrypto=gnutls', -Dglib=false \
'-Dsystemd=false', -Dgstreamer=false \
'-Dglib=false', -Decore-imf-loaders-disabler=ibus,scim \
'-Dgstreamer=false', builddir"
'-Decore-imf-loaders-disabler=ibus,scim', system 'meson configure builddir'
'-Demotion-loaders-disabler=gstreamer1,gstreamer,xine', system 'mold -run samu -C builddir'
'-Demotion-generic-loaders-disabler=vlc',
'_build'
system 'ninja -v -C _build'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end end
end end

View File

@@ -3,28 +3,33 @@ require 'package'
class Libexiv2 < Package class Libexiv2 < Package
description 'Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata.' description 'Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata.'
homepage 'http://exiv2.org/' homepage 'http://exiv2.org/'
@_ver = '0.27.3-d8dd' @_ver = '0.27.5'
version @_ver version @_ver
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/Exiv2/exiv2/archive/d8dd632ad511db37245e4fe644a3cd399d770399.zip' source_url 'https://github.com/Exiv2/exiv2/archive/refs/tags/v0.27.5.tar.gz'
source_sha256 '4cf76787b665186c7a484f16aaf92b306be3fa34feb1edbda79442811dd4287e' source_sha256 '1da1721f84809e4d37b3f106adb18b70b1b0441c860746ce6812bb3df184ed6c'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.3-d8dd_armv7l/libexiv2-0.27.3-d8dd-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.5_armv7l/libexiv2-0.27.5-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.3-d8dd_armv7l/libexiv2-0.27.3-d8dd-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.5_armv7l/libexiv2-0.27.5-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.3-d8dd_i686/libexiv2-0.27.3-d8dd-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.5_i686/libexiv2-0.27.5-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.3-d8dd_x86_64/libexiv2-0.27.3-d8dd-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libexiv2/0.27.5_x86_64/libexiv2-0.27.5-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'd5e464080d02bd02f92cc8faab43eae4ed3f65a86dd931302e9d3400df65ece1', aarch64: '12707819474aa94f34f38d2b81ac4ab8d94e79868ce31c4b6c56ba5ad0690a2a',
armv7l: 'd5e464080d02bd02f92cc8faab43eae4ed3f65a86dd931302e9d3400df65ece1', armv7l: '12707819474aa94f34f38d2b81ac4ab8d94e79868ce31c4b6c56ba5ad0690a2a',
i686: '182b35e673f39fc2288839ce36df148ecf646ed3aa239992001abf224c5e91e1', i686: 'c33dc88fbb67b7d2adc32b5cb01cce8cec7c0db0d92f3ef1ee2ae90adc717514',
x86_64: 'f538547a42943c62fbdc847a17ffb38304ffda35648116477885e661fcefd2f4' x86_64: '67103e8c19401e0c0a944e50856f3a40c41846e29dbfae84ef273af8134445c6'
}) })
depends_on 'libssh' depends_on 'libssh'
depends_on 'ccache' => :build depends_on 'ccache' => :build
depends_on 'expat' # R
depends_on 'gcc' # R
depends_on 'glibc' # R
depends_on 'libcurl' # R
depends_on 'zlibpkg' # R
def self.patch def self.patch
system "sed -i 's/MINGW OR CYGWIN OR CMAKE_HOST_SOLARIS/UNIX/g' cmake/compilerFlags.cmake" system "sed -i 's/MINGW OR CYGWIN OR CMAKE_HOST_SOLARIS/UNIX/g' cmake/compilerFlags.cmake"
@@ -33,10 +38,7 @@ class Libexiv2 < Package
def self.build def self.build
Dir.mkdir 'builddir' Dir.mkdir 'builddir'
Dir.chdir 'builddir' do Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "cmake \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \ -G Ninja \
#{CREW_CMAKE_OPTIONS} \ #{CREW_CMAKE_OPTIONS} \
-DEXIV2_ENABLE_CURL=ON \ -DEXIV2_ENABLE_CURL=ON \

View File

@@ -3,33 +3,37 @@ require 'package'
class Libfontenc < Package class Libfontenc < Package
description 'Fontenc Library from X.org' description 'Fontenc Library from X.org'
homepage 'https://xorg.freedesktop.org/' homepage 'https://xorg.freedesktop.org/'
version '1.1.4' version '1.1.6'
license 'custom'
compatibility 'all' compatibility 'all'
source_url 'https://www.x.org/releases/individual/lib/libfontenc-1.1.4.tar.bz2' license 'custom'
source_sha256 '2cfcce810ddd48f2e5dc658d28c1808e86dcf303eaff16728b9aa3dbc0092079' source_url 'https://www.x.org/releases/individual/lib/libfontenc-1.1.5.tar.xz'
source_sha256 '43ef0387090ea526faf8d3b0907ee0e4be0fb433c17e0b1bdb8433aa1de2b12c'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_armv7l/libfontenc-1.1.4-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_armv7l/libfontenc-1.1.4-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_armv7l/libfontenc-1.1.4-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_armv7l/libfontenc-1.1.4-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_i686/libfontenc-1.1.4-chromeos-i686.tar.xz', x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_x86_64/libfontenc-1.1.4-chromeos-x86_64.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.4_x86_64/libfontenc-1.1.4-chromeos-x86_64.tar.xz' i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfontenc/1.1.6_i686/libfontenc-1.1.6-chromeos-i686.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '435c3bc5faa5f9884f72b9d2e18ab9c5df8c20d4fbcde9f0fe56044f46c8282c', aarch64: 'cf093d4545369715602df5d61ed7338a867bbe11a07a26ddcd563c95478c78c5',
armv7l: '435c3bc5faa5f9884f72b9d2e18ab9c5df8c20d4fbcde9f0fe56044f46c8282c', armv7l: 'cf093d4545369715602df5d61ed7338a867bbe11a07a26ddcd563c95478c78c5',
i686: '8ec003098172eac92ac155ef84e6486df46f62a012dee51fc548ff4358559f73', x86_64: '08bc791449cfabb5833a5cbd7c35c541032bae3bf3f8755455935ec61fd815c4',
x86_64: '60dd2330462bd37bc69ba4ecafc2a0410e6eeeeffce41f6733f8b9ff7bf1d0b5' i686: '8929d18ee367196ebaf989813abe51979929896d2f881e8775babe37a49ba65f'
}) })
depends_on 'xorg_proto' depends_on 'xorg_proto'
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts/X11" system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_OPTIONS} \
--with-fontrootdir=#{CREW_PREFIX}/share/fonts/X11"
system 'make' system 'make'
end end
def self.install def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end

View File

@@ -4,33 +4,35 @@ class Libfs < Package
description 'X.org library interface to the X Font Server.' description 'X.org library interface to the X Font Server.'
homepage 'http://www.x.org' homepage 'http://www.x.org'
license 'custom' license 'custom'
version '1.0.7-0' version '1.0.9'
compatibility 'all' compatibility 'all'
source_url 'https://www.x.org/archive/individual/lib/libFS-1.0.7.tar.gz' source_url 'https://www.x.org/archive/individual/lib/libFS-1.0.9.tar.xz'
source_sha256 '91bf1c5ce4115b7dbf4e314fdbee54052708e8f7b6a2ec6e82c309bcbe40ef3d' source_sha256 '597379438b3242ccc7d7b0fc432dc6c844eca0d4a82a7b82518bfeb203fc208a'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.7-0_armv7l/libfs-1.0.7-0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.9_armv7l/libfs-1.0.9-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.7-0_armv7l/libfs-1.0.7-0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.9_armv7l/libfs-1.0.9-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.7-0_i686/libfs-1.0.7-0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.9_i686/libfs-1.0.9-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.7-0_x86_64/libfs-1.0.7-0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfs/1.0.9_x86_64/libfs-1.0.9-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '70879f9509e6c33cc7377706e251e53397c772c6ab1d59ffec7370bd6f247eb2', aarch64: '7f4159d023ced6bd8b42c5e398ce1a7876de0901077945e8dcdc0b8da1a15789',
armv7l: '70879f9509e6c33cc7377706e251e53397c772c6ab1d59ffec7370bd6f247eb2', armv7l: '7f4159d023ced6bd8b42c5e398ce1a7876de0901077945e8dcdc0b8da1a15789',
i686: 'b287f1ae9e043b83b14aa54e23f4abe3b9f10760316e41cedf994be2e1e72a52', i686: 'af677f44f3b43f0a4e34ff2c5a45fd28738e9147d1208e8820d219530a33dab1',
x86_64: '98f7cc48a3a2406ea1d110b051b3f18f5682b2096cfdb7f4f4f9c4b2255f2f42' x86_64: '806e70356efb784e7e8be0c8ff0de277619c611a8ea2c76a11a74d7a53439d1c'
}) })
depends_on 'xorg_proto' depends_on 'xorg_proto'
depends_on 'libxtrans' depends_on 'libxtrans'
depends_on 'glibc' # R
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_OPTIONS}"
system 'make' system 'make'
end end
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system "make DESTDIR=#{CREW_DEST_DIR} install"
end end
end end

View File

@@ -3,23 +3,23 @@ require 'package'
class Libgdiplus < Package class Libgdiplus < Package
description 'The mono library that provides a GDI+-compatible API on non-windows operating systems.' description 'The mono library that provides a GDI+-compatible API on non-windows operating systems.'
homepage 'https://www.mono-project.com/docs/gui/libgdiplus/' homepage 'https://www.mono-project.com/docs/gui/libgdiplus/'
version '6.0.5-3' version '6.1'
license 'MIT' license 'MIT'
compatibility 'all' compatibility 'all'
source_url 'https://download.mono-project.com/sources/libgdiplus/libgdiplus-6.0.5.tar.gz' source_url 'https://github.com/mono/libgdiplus.git'
source_sha256 'b81e4e5cc3e4831b2945de08bef26eb1bdcd795aeaf8f971b221c51213a025ef' git_hashtag version
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.0.5-3_armv7l/libgdiplus-6.0.5-3-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.1_armv7l/libgdiplus-6.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.0.5-3_armv7l/libgdiplus-6.0.5-3-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.1_armv7l/libgdiplus-6.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.0.5-3_i686/libgdiplus-6.0.5-3-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.1_i686/libgdiplus-6.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.0.5-3_x86_64/libgdiplus-6.0.5-3-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgdiplus/6.1_x86_64/libgdiplus-6.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'b8567295afed609d49bed5ecf8ccd9b363cfdb453afc1028ee8afd3a00e348b7', aarch64: '23101c669d315dc3bfd3b7cbc95791ff47920a906a77f4f7004d0402175cc12a',
armv7l: 'b8567295afed609d49bed5ecf8ccd9b363cfdb453afc1028ee8afd3a00e348b7', armv7l: '23101c669d315dc3bfd3b7cbc95791ff47920a906a77f4f7004d0402175cc12a',
i686: '889b8b69cb691d00f5b506d3f2770cb172c9a1ad8ddc0441a82d3d77e971fa79', i686: 'ebb81e6a1da9c4ec60d892782807a028e2502f638ee8f66a6bc3460d1360f931',
x86_64: '9c4f2e47dc4f95c88a188838cef7a5424fd272177d8eb4a7d32dfbeb212fc0b6' x86_64: '944f8319acc34f45ad2aa718a343cc4b9481784424fa7e529eec930d663167c4'
}) })
depends_on 'cairo' depends_on 'cairo'
@@ -27,6 +27,7 @@ class Libgdiplus < Package
depends_on 'freetype' depends_on 'freetype'
depends_on 'giflib' depends_on 'giflib'
depends_on 'glib' depends_on 'glib'
depends_on 'glibc' # R
depends_on 'graphite' depends_on 'graphite'
depends_on 'imake' => :build depends_on 'imake' => :build
depends_on 'libexif' depends_on 'libexif'
@@ -34,11 +35,17 @@ class Libgdiplus < Package
depends_on 'libpng' depends_on 'libpng'
depends_on 'libtiff' depends_on 'libtiff'
depends_on 'libwebp' depends_on 'libwebp'
depends_on 'expat' # R
depends_on 'harfbuzz' # R
depends_on 'libdeflate' # R
depends_on 'pango' # R
depends_on 'xzutils' # R
depends_on 'zlibpkg' # R
depends_on 'zstd' # R
def self.build def self.build
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
LDFLAGS='-flto=auto' \ system "./configure #{CREW_OPTIONS} \
./configure #{CREW_OPTIONS} \
--with-libexif \ --with-libexif \
--with-libtiff \ --with-libtiff \
--with-jpeg \ --with-jpeg \

View File

@@ -3,38 +3,48 @@ require 'package'
class Libgeotiff < Package class Libgeotiff < Package
description 'GeoTIFF is based on the TIFF format and is used as an interchange format for georeferenced raster imagery.' description 'GeoTIFF is based on the TIFF format and is used as an interchange format for georeferenced raster imagery.'
homepage 'https://github.com/OSGeo/libgeotiff' homepage 'https://github.com/OSGeo/libgeotiff'
version '1.6.0' version '1.7.1'
license 'GPL-2' license 'GPL-2'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/OSGeo/libgeotiff/releases/download/1.6.0/libgeotiff-1.6.0.tar.gz' source_url 'https://github.com/OSGeo/libgeotiff/releases/download/1.7.1/libgeotiff-1.7.1.tar.gz'
source_sha256 '9311017e5284cffb86f2c7b7a9df1fb5ebcdc61c30468fb2e6bca36e4272ebca' source_sha256 '05ab1347aaa471fc97347d8d4269ff0c00f30fa666d956baba37948ec87e55d6'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.6.0_armv7l/libgeotiff-1.6.0-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.7.1_armv7l/libgeotiff-1.7.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.6.0_armv7l/libgeotiff-1.6.0-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.7.1_armv7l/libgeotiff-1.7.1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.6.0_i686/libgeotiff-1.6.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.7.1_i686/libgeotiff-1.7.1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.6.0_x86_64/libgeotiff-1.6.0-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgeotiff/1.7.1_x86_64/libgeotiff-1.7.1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '5c83c9df55eb3c906814e64b05131b53b5bfc9ee6a47b08a1fd36a7973c1c765', aarch64: 'ca3b82c76afdc8f1b296ee5db782aceb947b78f6ccfd19093a881291bb7239af',
armv7l: '5c83c9df55eb3c906814e64b05131b53b5bfc9ee6a47b08a1fd36a7973c1c765', armv7l: 'ca3b82c76afdc8f1b296ee5db782aceb947b78f6ccfd19093a881291bb7239af',
i686: '6ed77cd71bf90cc71b2b27ebe174f2e0c3ed220432934dc5690e0440a1aa4ddb', i686: '1ba477f5bd5dec79dd0da7be7ce5ab11f09dcb7aa1e4d4f65ebd234a8b744017',
x86_64: 'cae4083f50f50092b52b2a3856889a8698339f25b1b12aecd4a7f5b09572afca' x86_64: 'c570d1d56a1255e569be9052135ad46b24e7f68886a8a98c7365a25a1ca664fe'
}) })
depends_on 'libjpeg' depends_on 'gcc' # R
depends_on 'proj4' depends_on 'glibc' # R
depends_on 'libtiff' # R
depends_on 'proj4' # R
def self.build def self.build
Dir.mkdir 'build' Dir.mkdir 'builddir'
Dir.chdir 'build' do Dir.chdir 'builddir' do
system "cmake -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_BUILD_TYPE=Release .. && make" system "cmake -G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DCMAKE_INSTALL_DOCDIR=#{CREW_PREFIX}/share/doc \
-DBUILD_SHARED_LIBS=true \
.."
end end
system 'ninja -C builddir'
end end
def self.install def self.install
Dir.chdir 'build' do system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share"
end FileUtils.mv "#{CREW_DEST_PREFIX}/doc", "#{CREW_DEST_PREFIX}/share/"
return unless ARCH == 'x86_64'
FileUtils.mv "#{CREW_DEST_PREFIX}/lib", "#{CREW_DEST_PREFIX}/lib64"
end end
end end

View File

@@ -3,7 +3,7 @@ require 'package'
class Libgit2 < Package class Libgit2 < Package
description 'A portable, pure C implementation of the Git core methods' description 'A portable, pure C implementation of the Git core methods'
homepage 'https://libgit2.org/' homepage 'https://libgit2.org/'
@_ver = '1.4.2' @_ver = '1.5.0'
version @_ver version @_ver
license 'GPL-2-with-linking-exception' license 'GPL-2-with-linking-exception'
compatibility 'all' compatibility 'all'
@@ -11,20 +11,24 @@ class Libgit2 < Package
git_hashtag "v#{@_ver}" git_hashtag "v#{@_ver}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.4.2_armv7l/libgit2-1.4.2-chromeos-armv7l.tar.zst', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.5.0_armv7l/libgit2-1.5.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.4.2_armv7l/libgit2-1.4.2-chromeos-armv7l.tar.zst', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.5.0_armv7l/libgit2-1.5.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.4.2_i686/libgit2-1.4.2-chromeos-i686.tar.zst', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.5.0_i686/libgit2-1.5.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.4.2_x86_64/libgit2-1.4.2-chromeos-x86_64.tar.zst' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgit2/1.5.0_x86_64/libgit2-1.5.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '8f893a29c3c3cf66a868fe6a02fe60f20c854d1b1b0dc5585550df52947679fb', aarch64: 'a047f829611f016ea6f1c2773838b4673446fded955049b849d402493e4de123',
armv7l: '8f893a29c3c3cf66a868fe6a02fe60f20c854d1b1b0dc5585550df52947679fb', armv7l: 'a047f829611f016ea6f1c2773838b4673446fded955049b849d402493e4de123',
i686: '328bb033fc1eaf16bac59a5b84264c7d138bc2d40750c6af78419e1c59ef286f', i686: '467813edb1d605f8464780d366d5587633219a3d322ec6f1edef2c59bb20c47f',
x86_64: 'f9db9f7f7cf14110f58447f7fada36b6f6b137a5b11fcf1eadc9218fc2b89e7e' x86_64: '8401c5d508b5d25eb4c804eb79c3e1331f21643cd6192c655a88627c2c7a6e41'
}) })
depends_on 'python3' depends_on 'python3'
depends_on 'libssh2' depends_on 'libssh2'
depends_on 'glibc' # R
depends_on 'openssl' # R
depends_on 'pcre' # R
depends_on 'zlibpkg' # R
def self.build def self.build
Dir.mkdir 'builddir' Dir.mkdir 'builddir'

View File

@@ -3,35 +3,40 @@ require 'package'
class Libgsf < Package class Libgsf < Package
description 'The G Structured File Library' description 'The G Structured File Library'
homepage 'https://gitlab.gnome.org/GNOME/libgsf' homepage 'https://gitlab.gnome.org/GNOME/libgsf'
@_ver = '1.14.47' @_ver = '1.14.50'
@_ver_prelastdot = @_ver.rpartition('.')[0] @_ver_prelastdot = @_ver.rpartition('.')[0]
version @_ver version @_ver
license 'GPL-2 and LGPL-2' license 'GPL-2 and LGPL-2'
compatibility 'all' compatibility 'all'
source_url "https://download.gnome.org/sources/libgsf/#{@_ver_prelastdot}/libgsf-#{@_ver}.tar.xz" source_url 'https://gitlab.gnome.org/GNOME/libgsf.git'
source_sha256 'd188ebd3787b5375a8fd38ee6f761a2007de5e98fa0cf5623f271daa67ba774d' git_hashtag "LIBGSF_#{version.gsub('.', '_')}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.47_armv7l/libgsf-1.14.47-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.50_armv7l/libgsf-1.14.50-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.47_armv7l/libgsf-1.14.47-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.50_armv7l/libgsf-1.14.50-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.47_i686/libgsf-1.14.47-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.50_i686/libgsf-1.14.50-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.47_x86_64/libgsf-1.14.47-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgsf/1.14.50_x86_64/libgsf-1.14.50-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'fdb327f0c46a75e3cd5c5e4bc7e2701fe5b622881837894f9b2314bcc4b29501', aarch64: '3387aaef57bb436bc10337b988cb27a519a7c0625bd4d7922b392bd3bc995dc2',
armv7l: 'fdb327f0c46a75e3cd5c5e4bc7e2701fe5b622881837894f9b2314bcc4b29501', armv7l: '3387aaef57bb436bc10337b988cb27a519a7c0625bd4d7922b392bd3bc995dc2',
i686: '200b8890ef591be47d6554bb280d4a60fcf2798bf2f970910207e3471c733842', i686: '17bb9b80ab65ceeac352c6c614fa2def76da03ea0545d12a55fd7cb6ffef28f1',
x86_64: '8d8c0cf26f3bad537ddc82020078ebb52062f83c7a33709f1b2c4cac0abc33c6' x86_64: '291211e57a54c7618c563eb0d94c8940117a498fcdc7f5520e880cf45ce230bb'
}) })
depends_on 'gdk_pixbuf' depends_on 'gdk_pixbuf'
depends_on 'gtk_doc' depends_on 'gtk_doc'
depends_on 'bz2' # R
depends_on 'gcc' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'icu4c' # R
depends_on 'libxml2' # R
depends_on 'zlibpkg' # R
def self.build def self.build
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "./configure #{CREW_OPTIONS} \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-shared=yes \ --enable-shared=yes \
--disable-maintainer-mode \ --disable-maintainer-mode \
--enable-introspection" --enable-introspection"

43
packages/libgtop.rb Normal file
View File

@@ -0,0 +1,43 @@
# Adapted from Arch Linux libgtop PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/libgtop/trunk/PKGBUILD
require 'package'
class Libgtop < Package
description 'A library for collecting system monitoring data'
homepage 'https://gitlab.gnome.org/GNOME/libgtop'
version '2.40.0-507809b'
license 'LGPL'
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/libgtop.git'
git_hashtag '507809b648634c6251e9aeeb8ffae1d38c5be5f7'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgtop/2.40.0-507809b_armv7l/libgtop-2.40.0-507809b-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgtop/2.40.0-507809b_armv7l/libgtop-2.40.0-507809b-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgtop/2.40.0-507809b_i686/libgtop-2.40.0-507809b-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgtop/2.40.0-507809b_x86_64/libgtop-2.40.0-507809b-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '162e38569618da3e070b43c13efb2a097ca66e4e1bc2b22cfc81f8c64166332f',
armv7l: '162e38569618da3e070b43c13efb2a097ca66e4e1bc2b22cfc81f8c64166332f',
i686: '7b37bd68ff372e474fabdce60b6b635e69291b7d6866457c268aa053ecb207da',
x86_64: '259446e4819d162fd7963535ae7a52ba2bc868e4b8939fe00dc27baf54e69a23'
})
depends_on 'libxau'
depends_on 'gobject_introspection' => :build
depends_on 'gtk_doc' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end

View File

@@ -3,26 +3,29 @@ require 'package'
class Libgudev < Package class Libgudev < Package
description 'libgudev is a library with GObject bindings to libudev' description 'libgudev is a library with GObject bindings to libudev'
homepage 'https://wiki.gnome.org/Projects/libgudev' homepage 'https://wiki.gnome.org/Projects/libgudev'
version '234-1c7e' version '237'
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/GNOME/libgudev/archive/1c7e05b40b92b67dac7a6cd27b70ba08956e4815.zip' source_url 'https://gitlab.gnome.org/GNOME/libgudev/-/archive/237/libgudev-237.tar.bz2'
source_sha256 '5ecb0c8ca76b6da7c7ad01f947c407f3670362bf5d3244075928dd86e040fcc4' source_sha256 '1cec460f8afaa0e613f92202699b31b5560843a4a86e019ebb1ef437675b74d8'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/234-1c7e_armv7l/libgudev-234-1c7e-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/237_armv7l/libgudev-237-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/234-1c7e_armv7l/libgudev-234-1c7e-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/237_armv7l/libgudev-237-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/234-1c7e_i686/libgudev-234-1c7e-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/237_i686/libgudev-237-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/234-1c7e_x86_64/libgudev-234-1c7e-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgudev/237_x86_64/libgudev-237-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'e636f1df415de3dddf08c3326d633b8bdf0223130e50cb2f62c5916b641c152a', aarch64: '53a0853639519ec1fe743c1fa028f2e578842da85a29b95b6cc232131b0e1f4c',
armv7l: 'e636f1df415de3dddf08c3326d633b8bdf0223130e50cb2f62c5916b641c152a', armv7l: '53a0853639519ec1fe743c1fa028f2e578842da85a29b95b6cc232131b0e1f4c',
i686: 'f4fb01f5d16cd38b890a85c501bfb9c22a29b8ad7a759430275b6a490d798795', i686: 'e413696ccf4a59228a8df4ebd6c227cb6726bc6b4aec07df021d8a3ea68f94c8',
x86_64: '0980fde25a7a552e3f672d63c50e350a369667b9dbc69191635341ca64937f76' x86_64: '0fcf9a8d0f001ab2f549d81b1465126a9fbe88642ac1b9e50285202cece8448b'
}) })
depends_on 'gobject_introspection' depends_on 'gobject_introspection'
depends_on 'eudev' # R
depends_on 'glib' # R
depends_on 'glibc' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,36 +3,44 @@ require 'package'
class Libgweather < Package class Libgweather < Package
description 'Location and timezone database and weather-lookup library' description 'Location and timezone database and weather-lookup library'
homepage 'https://wiki.gnome.org/Projects/LibGWeather' homepage 'https://wiki.gnome.org/Projects/LibGWeather'
version '40.beta' version '4.2.0'
license 'GPL-2+' license 'GPL-2+'
compatibility 'all' compatibility 'all'
source_url 'https://github.com/GNOME/libgweather/archive/40.beta.tar.gz' source_url 'https://gitlab.gnome.org/GNOME/libgweather/-/archive/4.2.0/libgweather-4.2.0.tar.bz2'
source_sha256 '89eebe5a83177f094c017a484be3a27b5e418fec2d9aaea1937bdc6ddc430627' source_sha256 '028cdca5005a17d88e78461e72c6b5c519e2df33f2e456075aeea9dc455aca20'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/40.beta_armv7l/libgweather-40.beta-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/4.2.0_armv7l/libgweather-4.2.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/40.beta_armv7l/libgweather-40.beta-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/4.2.0_armv7l/libgweather-4.2.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/40.beta_i686/libgweather-40.beta-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/4.2.0_i686/libgweather-4.2.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/40.beta_x86_64/libgweather-40.beta-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgweather/4.2.0_x86_64/libgweather-4.2.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'eb3d11bb2bd6fcc03b232c52e018851ae3e4aa6008dc4676c3f99218a6a62b77', aarch64: '40a0fe50c8ec6ac566a278531b27633a226d7aab695b91fb90b97a039775be47',
armv7l: 'eb3d11bb2bd6fcc03b232c52e018851ae3e4aa6008dc4676c3f99218a6a62b77', armv7l: '40a0fe50c8ec6ac566a278531b27633a226d7aab695b91fb90b97a039775be47',
i686: '544a1b6fe84b39e108bb4baeec800d8b3e84796c738b445d7e5a95d2bf2e843e', i686: '86a11111e713a7e1ff3fe4c59edbc8ab0395d31864735fa9fc6a29282ec3dd3f',
x86_64: 'fd210e31135860d1e84e55ddbc64ada18deb731b7815e3471d78e00b24e56ee3' x86_64: '3977878b91e477fcb590870b8595daf53e6a032bcf8a793da5bf6d1285b3ffe7'
}) })
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'geocode_glib'
depends_on 'dconf' depends_on 'dconf'
depends_on 'geocode_glib' # R
depends_on 'gobject_introspection' => :build depends_on 'gobject_introspection' => :build
depends_on 'gtk_doc' => :build depends_on 'gtk_doc' => :build
depends_on 'glade' => :build depends_on 'glade' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'libsoup2' # R
depends_on 'libxml2' # R
depends_on 'py3_gi_docgen' => :buuld
depends_on 'py3_smartypants' => :build
depends_on 'json_glib' # R
gnome
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \
-Dsystemd=disabled \ -Dsoup2=true \
builddir" builddir"
system 'meson configure builddir' system 'meson configure builddir'
system 'ninja -C builddir' system 'ninja -C builddir'

View File

@@ -6,23 +6,24 @@ require 'package'
class Libgxps < Package class Libgxps < Package
description 'XPS Documents library' description 'XPS Documents library'
homepage 'https://wiki.gnome.org/Projects/libgxps' homepage 'https://wiki.gnome.org/Projects/libgxps'
version '0.3.2' @_ver = '0.3.2'
version "#{@_ver}-2"
license 'GPL2' license 'GPL2'
compatibility 'all' compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libgxps/-/archive/#{version}/libgxps-#{version}.tar.bz2" source_url "https://gitlab.gnome.org/GNOME/libgxps/-/archive/#{@_ver}/libgxps-#{@_ver}.tar.bz2"
source_sha256 'ffbc656e801233a64ea5b6ab5532691e8b91f72cce3ea957615fe8523696d42a' source_sha256 'ffbc656e801233a64ea5b6ab5532691e8b91f72cce3ea957615fe8523696d42a'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2_armv7l/libgxps-0.3.2-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2-2_armv7l/libgxps-0.3.2-2-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2_armv7l/libgxps-0.3.2-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2-2_armv7l/libgxps-0.3.2-2-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2_i686/libgxps-0.3.2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2-2_i686/libgxps-0.3.2-2-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2_x86_64/libgxps-0.3.2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libgxps/0.3.2-2_x86_64/libgxps-0.3.2-2-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '47a8cac375a3ea3dace3d0498c79511d3973b2e39b6fd8d8593804e6de84dfeb', aarch64: '1461554706deed2492e3b07ce9bca2d2902086e7a540b1a27b757b9168424b52',
armv7l: '47a8cac375a3ea3dace3d0498c79511d3973b2e39b6fd8d8593804e6de84dfeb', armv7l: '1461554706deed2492e3b07ce9bca2d2902086e7a540b1a27b757b9168424b52',
i686: '7b6f550b505c2453841539b0ce36b5d8404ab098bdc2fa8f8c5f7f27cdda6ac8', i686: 'b0b4ea7a91286c6737e693bbd1523a3241cf499287a7553d0354f74ee3beceb9',
x86_64: '87bf32455bded966594a39131bf79ad198e06617df4ccc0327932c413b3d78b6' x86_64: '370e17e06126bda39c3d9ef3e44d1ee57f31bdf42198dd281a257db0afb827d9'
}) })
depends_on 'cairo' depends_on 'cairo'
@@ -39,6 +40,9 @@ class Libgxps < Package
depends_on 'libpng' depends_on 'libpng'
depends_on 'libtiff' depends_on 'libtiff'
depends_on 'openjpeg' depends_on 'openjpeg'
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
depends_on 'gcc' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} \ system "meson #{CREW_MESON_OPTIONS} \

View File

@@ -3,7 +3,7 @@ require 'package'
class Libhandy < Package class Libhandy < Package
description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.' description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.'
homepage 'https://gitlab.gnome.org/GNOME/libhandy/' homepage 'https://gitlab.gnome.org/GNOME/libhandy/'
@_ver = '1.4.0' @_ver = '1.8.0'
version @_ver version @_ver
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
@@ -11,16 +11,16 @@ class Libhandy < Package
git_hashtag @_ver git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.4.0_armv7l/libhandy-1.4.0-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.8.0_armv7l/libhandy-1.8.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.4.0_armv7l/libhandy-1.4.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.8.0_armv7l/libhandy-1.8.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.4.0_i686/libhandy-1.4.0-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.8.0_i686/libhandy-1.8.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.4.0_x86_64/libhandy-1.4.0-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libhandy/1.8.0_x86_64/libhandy-1.8.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '518a1687d6bfb8497e19a50f2a64810dc7e466ffc03bd29a63c93a2039730dc7', aarch64: '570f7011b52c4599c7cf7021d8aff15b0a93621d381030d5e04640498239565e',
armv7l: '518a1687d6bfb8497e19a50f2a64810dc7e466ffc03bd29a63c93a2039730dc7', armv7l: '570f7011b52c4599c7cf7021d8aff15b0a93621d381030d5e04640498239565e',
i686: 'a928efd9fd5014687b207cc734ece25eec6c87d43c63c28160ed3578747cf8f2', i686: '5a12c0b53e78054068d93d68428106ba0d15a2b9a93ee411d2cb666cffeabffb',
x86_64: '4d4ac622317b61751eff09e267e05b7998a2d5ca210b95126b3a82ab7a388caa' x86_64: '5bb6704da3f64fb2a1259fc79dae2680804d007316c552c23a8eefb506ca53f2'
}) })
depends_on 'atk' depends_on 'atk'
@@ -32,6 +32,8 @@ class Libhandy < Package
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'pango' depends_on 'pango'
depends_on 'vala' depends_on 'vala'
depends_on 'glibc' # R
depends_on 'harfbuzz' # R
def self.build def self.build
system "meson #{CREW_MESON_OPTIONS} builddir" system "meson #{CREW_MESON_OPTIONS} builddir"

View File

@@ -3,24 +3,24 @@ require 'package'
class Libheif < Package class Libheif < Package
description 'libheif is a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.' description 'libheif is a ISO/IEC 23008-12:2017 HEIF file format decoder and encoder.'
homepage 'https://github.com/strukturag/libheif' homepage 'https://github.com/strukturag/libheif'
@_ver = '1.11.0' @_ver = '1.13.0'
version "#{@_ver}-2" version @_ver
license 'GPL-3' license 'GPL-3'
compatibility 'all' compatibility 'all'
source_url "https://github.com/strukturag/libheif/releases/download/v#{@_ver}/libheif-#{@_ver}.tar.gz" source_url 'https://github.com/strukturag/libheif.git'
source_sha256 'c550938f56ff6dac83702251a143f87cb3a6c71a50d8723955290832d9960913' git_hashtag "v#{@_ver}"
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.11.0-2_armv7l/libheif-1.11.0-2-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.13.0_armv7l/libheif-1.13.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.11.0-2_armv7l/libheif-1.11.0-2-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.13.0_armv7l/libheif-1.13.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.11.0-2_i686/libheif-1.11.0-2-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.13.0_i686/libheif-1.13.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.11.0-2_x86_64/libheif-1.11.0-2-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libheif/1.13.0_x86_64/libheif-1.13.0-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '741663915e39e3f343c5d084423597484477eb49dc719f1395c62f84501ba8d9', aarch64: '54aac0957aeddde47d7a2b85c9bab3930314203cdc9d5fcfa8adbcc09d0e2eee',
armv7l: '741663915e39e3f343c5d084423597484477eb49dc719f1395c62f84501ba8d9', armv7l: '54aac0957aeddde47d7a2b85c9bab3930314203cdc9d5fcfa8adbcc09d0e2eee',
i686: '73ad610bbde6b2adb6ac5171efb9078e26ca9a252aece71688e5bd85b0478f86', i686: 'c18a1d2960a9e67047f23389fc53c22a18fe13fc56b61a1bad1eba6970d24c48',
x86_64: '00cdd26729e9af1d85ca26edd0094195cab10c53bb07158a892293ef94e033af' x86_64: '626d99ad78adb2e959bc0cf812ce53da110d79d3917378b110b914f545137660'
}) })
depends_on 'dav1d' depends_on 'dav1d'
@@ -30,14 +30,16 @@ class Libheif < Package
depends_on 'libpng' depends_on 'libpng'
depends_on 'libx265' depends_on 'libx265'
depends_on 'rav1e' depends_on 'rav1e'
depends_on 'gdk_pixbuf' => :build
depends_on 'gcc' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.build def self.build
Dir.mkdir 'builddir' Dir.mkdir 'builddir'
Dir.chdir 'builddir' do Dir.chdir 'builddir' do
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "cmake \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \ -G Ninja \
#{CREW_CMAKE_OPTIONS} \ #{CREW_CMAKE_OPTIONS} \
.." .."
@@ -50,9 +52,9 @@ class Libheif < Package
end end
def self.postinstall def self.postinstall
if File.exist?("#{CREW_PREFIX}/bin/gdk-pixbuf-query-loaders") return unless File.exist?("#{CREW_PREFIX}/bin/gdk-pixbuf-query-loaders")
system 'gdk-pixbuf-query-loaders',
'--update-cache' system 'gdk-pixbuf-query-loaders',
end '--update-cache'
end end
end end

View File

@@ -4,7 +4,7 @@ class Libinput < Package
description 'libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver.' description 'libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver.'
homepage 'https://www.freedesktop.org/wiki/Software/libinput' homepage 'https://www.freedesktop.org/wiki/Software/libinput'
@_ver = '1.21.0' @_ver = '1.21.0'
version @_ver.to_s version @_ver
license 'MIT' license 'MIT'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.freedesktop.org/libinput/libinput.git' source_url 'https://gitlab.freedesktop.org/libinput/libinput.git'

View File

@@ -1,37 +1,50 @@
require 'package' require 'package'
class Libjpeg < Package class Libjpeg < Package
description 'JPEG is a free library for image compression.' description 'Libjpeg-turbo implements both the traditional libjpeg API as well as the less powerful but more straightforward TurboJPEG API.'
homepage 'https://www.ijg.org/' homepage 'https://libjpeg-turbo.org'
version '9.4.0' @_ver = '2.1.4'
license 'custom' # Very similar to the BSD license version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://www.ijg.org/files/jpegsrc.v9d.tar.gz' source_url 'https://github.com/libjpeg-turbo/libjpeg-turbo.git'
source_sha256 '6c434a3be59f8f62425b2e3c077e785c9ce30ee5874ea1c270e843f273ba71ee' git_hashtag @_ver
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/9.4.0_armv7l/libjpeg-9.4.0-chromeos-armv7l.tpxz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/2.1.4_armv7l/libjpeg-2.1.4-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/9.4.0_armv7l/libjpeg-9.4.0-chromeos-armv7l.tpxz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/2.1.4_armv7l/libjpeg-2.1.4-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/9.4.0_i686/libjpeg-9.4.0-chromeos-i686.tpxz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/2.1.4_i686/libjpeg-2.1.4-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/9.4.0_x86_64/libjpeg-9.4.0-chromeos-x86_64.tpxz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjpeg/2.1.4_x86_64/libjpeg-2.1.4-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: '5aea50db0ee0ad0839f58b973cff9808b57babba318409a36b7967b1c4f8285f', aarch64: '1de3b99b8a2ce0618e2538ad517d62b29a85f1938dca07c0570933b7f1f58313',
armv7l: '5aea50db0ee0ad0839f58b973cff9808b57babba318409a36b7967b1c4f8285f', armv7l: '1de3b99b8a2ce0618e2538ad517d62b29a85f1938dca07c0570933b7f1f58313',
i686: '041768d7dcbe7720371629f8d5e1eafdf18a14bd69b1d06eefff5cc36f42f2c3', i686: 'e5b1f49cd89009289ebabb9cd2e76c3b000e49e8b752e376a8ef68e8b3c81b0d',
x86_64: '74ae5e410b0407999b85c0837c56d6e265c4dfb4098bc6413e6438b60bb89524' x86_64: 'fec9fd92a2b02df0a9811ca75b64e1ee4ff34897ad8db83093506ea9f86bdae1'
}) })
depends_on 'yasm' => :build
depends_on 'glibc' # R
def self.build def self.build
system '[ -x configure ] || ./bootstrap.py' Dir.mkdir 'builddir'
system "./configure #{CREW_OPTIONS}" Dir.chdir 'builddir' do
system 'make' system "cmake \
-G Ninja \
#{CREW_CMAKE_OPTIONS} \
-DWITH_JAVA=OFF \
-DWITH_12BIT=OFF \
-W no-dev \
.."
end
system 'ninja -C builddir'
end
def self.check
system 'ninja -C builddir test'
end end
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
Dir.chdir CREW_DEST_LIB_PREFIX do FileUtils.install 'jpegint.h', "#{CREW_DEST_PREFIX}/include/", mode: 0o644
FileUtils.ln_s 'libjpeg.so.9.4.0', 'libjpeg.so.8'
end
end end
end end

75
packages/libjxl.rb Normal file
View File

@@ -0,0 +1,75 @@
# Adapted from Arch Linux libjxl PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/libjxl/trunk/PKGBUILD
require 'package'
class Libjxl < Package
description 'JPEG XL image format reference implementation'
homepage 'https://jpeg.org/jpegxl/'
version '0.7.0'
license 'BSD'
compatibility 'all'
source_url 'https://github.com/libjxl/libjxl.git'
git_hashtag "v#{version}"
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjxl/0.7.0_armv7l/libjxl-0.7.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjxl/0.7.0_armv7l/libjxl-0.7.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjxl/0.7.0_i686/libjxl-0.7.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libjxl/0.7.0_x86_64/libjxl-0.7.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '67fe8d51bdbfc5c3067eaf8a22641f029c352799e84e92af79cd937d061fc827',
armv7l: '67fe8d51bdbfc5c3067eaf8a22641f029c352799e84e92af79cd937d061fc827',
i686: 'ce2b43b309ad44f99ae30bd0ef0bdf43edca48f8168d4a70fcb66bee58dd2950',
x86_64: '2e555f62e6339d993dd33ff730f92d03985932d4d10a0264ad844ea09e435fec'
})
depends_on 'brotli'
depends_on 'gdk_pixbuf'
depends_on 'giflib'
depends_on 'highway'
depends_on 'gimp' => :build
depends_on 'libjpeg' # This needs to be turbo.
depends_on 'xdg_utils' => :build
depends_on 'atk' # R
depends_on 'babl' # R
depends_on 'freetype' # R
depends_on 'gcc' # R
depends_on 'gegl' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'gtk2' # R
depends_on 'harfbuzz' # R
depends_on 'ilmbase' # R
depends_on 'json_glib' # R
depends_on 'libpng' # R
depends_on 'openexr' # R
depends_on 'pango' # R
depends_on 'zlibpkg' # R
def self.build
Dir.mkdir 'builddir'
Dir.chdir 'builddir' do
system "mold -run cmake \
#{CREW_CMAKE_OPTIONS} \
-DJPEGXL_ENABLE_BENCHMARK:BOOL='false' \
-DJPEGXL_ENABLE_EXAMPLES:BOOL='false' \
-DJPEGXL_ENABLE_FUZZERS:BOOL='false' \
-DJPEGXL_ENABLE_PLUGINS:BOOL='true' \
-DJPEGXL_ENABLE_VIEWERS:BOOL='false' \
-DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL='true' \
-DJPEGXL_FORCE_SYSTEM_GTEST:BOOL='false' \
-DJPEGXL_FORCE_SYSTEM_HWY:BOOL='true' \
-DJPEGXL_BUNDLE_LIBPNG:BOOL='NO' \
-Wdev \
-G Ninja \
.."
system 'mold -run samu'
end
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} samu -C builddir install"
end
end

50
packages/libmediaart.rb Normal file
View File

@@ -0,0 +1,50 @@
# Adapted from Arch Linux libmediaart PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/libmediaart/trunk/PKGBUILD
require 'package'
class Libmediaart < Package
description 'Library tasked with managing, extracting and handling media art caches'
homepage 'https://git.gnome.org/browse/libmediaart'
version '1.9.6'
license 'LGPL'
compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/libmediaart.git'
git_hashtag version
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmediaart/1.9.6_armv7l/libmediaart-1.9.6-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmediaart/1.9.6_armv7l/libmediaart-1.9.6-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmediaart/1.9.6_i686/libmediaart-1.9.6-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmediaart/1.9.6_x86_64/libmediaart-1.9.6-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: 'de847fbe6d813a6dd1ad6c1ab43e415253ceb87984e15c71421086041e1ed3dd',
armv7l: 'de847fbe6d813a6dd1ad6c1ab43e415253ceb87984e15c71421086041e1ed3dd',
i686: '0ec1513c6f5387aa6dfb6ad790fc3ff1a403c4d8fbf411a92da26dc308500c25',
x86_64: '70a880d9fa59bd426bf5cc3f6118db4e0e74312f7c1b339b62827899824f9bf5'
})
depends_on 'gdk_pixbuf' => :build
depends_on 'vala' => :build
depends_on 'gobject_introspection' => :build
depends_on 'gtk_doc' => :build
depends_on 'glib' # R
depends_on 'glibc' # R
gnome
def self.build
system "meson \
#{CREW_MESON_OPTIONS} \
-Dimage_library=gdk-pixbuf \
-Dtests=false \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end

View File

@@ -3,27 +3,29 @@ require 'package'
class Libmng < Package class Libmng < Package
description 'A PNG-like Image Format Supporting Multiple Images, Animation and Transparent JPEG' description 'A PNG-like Image Format Supporting Multiple Images, Animation and Transparent JPEG'
homepage 'http://www.libpng.org/pub/mng/' homepage 'http://www.libpng.org/pub/mng/'
version '2.0.3' version '2.0.3-1'
license 'libmng' license 'libmng'
compatibility 'all' compatibility 'all'
source_url 'https://prdownloads.sourceforge.net/project/libmng/libmng-devel/2.0.3/libmng-2.0.3.tar.xz' source_url 'https://prdownloads.sourceforge.net/project/libmng/libmng-devel/2.0.3/libmng-2.0.3.tar.xz'
source_sha256 '4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3' source_sha256 '4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3'
binary_url({ binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3_armv7l/libmng-2.0.3-chromeos-armv7l.tar.xz', aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3-1_armv7l/libmng-2.0.3-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3_armv7l/libmng-2.0.3-chromeos-armv7l.tar.xz', armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3-1_armv7l/libmng-2.0.3-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3_i686/libmng-2.0.3-chromeos-i686.tar.xz', i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3-1_i686/libmng-2.0.3-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3_x86_64/libmng-2.0.3-chromeos-x86_64.tar.xz' x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmng/2.0.3-1_x86_64/libmng-2.0.3-1-chromeos-x86_64.tar.zst'
}) })
binary_sha256({ binary_sha256({
aarch64: 'b940238dbe081af502bee237e1eeaea7322732433146ace0ff45c0cf07665552', aarch64: '7ddc6eaaf8264668c0ec04ffe02d0a3f24139a3e657b9498147df68458f69099',
armv7l: 'b940238dbe081af502bee237e1eeaea7322732433146ace0ff45c0cf07665552', armv7l: '7ddc6eaaf8264668c0ec04ffe02d0a3f24139a3e657b9498147df68458f69099',
i686: '47fcd3230b379554ab8285b8ed92098fd9f34ae5df96ad92cf6cbe232abac090', i686: '725351f8123d95a88ba23b8c0f26c4e72f0e207a992c6489717570bfbeba6e27',
x86_64: 'e8ffaa0dc0a372a93f04f9197872e2fd18675f21651a3632222ebfe8e21f4b6c' x86_64: '5b737b4b4ecd5374111b2478110f830a88b460104f1e87b9785f975f0a638eae'
}) })
depends_on 'lcms' depends_on 'lcms'
depends_on 'libjpeg' depends_on 'libjpeg'
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
def self.build def self.build
system './configure', system './configure',
@@ -35,4 +37,11 @@ class Libmng < Package
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
def self.postinstall
return unless File.exist?("#{CREW_PREFIX}/bin/gdk-pixbuf-query-loaders")
system 'gdk-pixbuf-query-loaders',
'--update-cache'
end
end end

Some files were not shown because too many files have changed in this diff Show More