Files
chromebrew/packages/gnome_shell.rb
Maximilian Downey Twiss eb14c41653 Remove compatibility from packages with incompatible dependencies (#9458)
* Remove i686 compatibility from packages with dependencies incompatible with i686

* Remove armv7l compatibility from packages with dependencies incompatible with arvm7l

* Abort builds/installs if the package has incompatible dependencies
2024-03-11 13:09:12 -04:00

52 lines
1.4 KiB
Ruby

require 'package'
class Gnome_shell < Package
description 'Next generation desktop shell'
homepage 'https://wiki.gnome.org/Projects/GnomeShell'
version '41.0'
license 'GPL-2+ and LGPL-2+'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.gnome.org/GNOME/gnome-shell.git'
git_hashtag version
binary_compression 'tpxz'
binary_sha256({
aarch64: 'eea813182b4fb943620beab82fabbdbde3b68cae8867ebc938e35c6a90612918',
armv7l: 'eea813182b4fb943620beab82fabbdbde3b68cae8867ebc938e35c6a90612918',
x86_64: '6afe54dadee75fb2a4b1794d68237ddcc17ac0eea5aafd679ae534d2b876f7cb'
})
depends_on 'gcr'
depends_on 'gjs'
depends_on 'ibus'
depends_on 'mutter'
depends_on 'sassc'
depends_on 'asciidoc'
depends_on 'startup_notification'
depends_on 'gnome_autoar'
depends_on 'upower'
depends_on 'gnome_session'
depends_on 'gnome_settings_daemon'
depends_on 'gtk_doc' => :build
depends_on 'evolution_data_server' => :build
depends_on 'gobject_introspection' => :build
depends_on 'mutter'
depends_on 'py3_pygments' => :build
depends_on 'vulkan_icd_loader' => :build
def self.build
system "meson setup #{CREW_MESON_OPTIONS} \
-Dgtk_doc=true \
-Dsystemd=false \
-Dnetworkmanager=false \
-Dtests=false \
builddir"
system 'meson configure --no-pager builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end