mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Update `xclock` `twm` `xterm` `powershell` * Update `skype` and `screenfetch` Fixes #4564 * Removed /dev/null * New Package: bash * Use https and mirror * Use #{CREW_OPTIONS} * Update xterm.rb * Add `bash` to `buildessential` as a dependency * Replace system default bash * Update `mpfr` * #{CREW_VERSION} don't work on cloudready * Update bash.rb * Update `wine` * Update mc * Update opera.rb * Update nano.rb * Update gsettings_desktop_schemas.rb * Update gsettings_desktop_schemas.rb, use meson * Fix syntax error * Add dependencies to `wine` * Remove bash from buildessential.rb * Update screenfetch.rb * Update powershell.rb * Update mpfr.rb * Remove dependencies duplicate with core packages * Update twm, use #{CREW_OPTIONS} * Update xclock, use #{CREW_OPTIONS} * Add --prefix * Add ffmpeg dependency * Delete mpfr.rb * Left mpfr.rb untouch * Add #{CREW_OPTIONS}, tested on x86_64 * Update Opera * fix CREW_OPTIONS * Update wine.rb * Update bash.rb * Remove core dependencies
33 lines
941 B
Ruby
33 lines
941 B
Ruby
require 'package'
|
|
|
|
class Gsettings_desktop_schemas < Package
|
|
description 'Collection of GSettings schemas for GNOME desktop.'
|
|
homepage 'https://git.gnome.org/browse/gsettings-desktop-schemas'
|
|
version '3.38.0'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/GNOME/gsettings-desktop-schemas/archive/3.38.0.tar.gz'
|
|
source_sha256 'b808bd285ac7176f2e9e3a8763c3913121ab9f109d2988c70e3f1f8e742a630d'
|
|
|
|
depends_on 'gnome_common'
|
|
depends_on 'glib'
|
|
depends_on 'gobject_introspection'
|
|
|
|
def self.build
|
|
system "sed -i -r 's:\"(/system):\"/org/gnome\1:g' schemas/*.in"
|
|
ENV['CFLAGS'] = "-fuse-ld=lld"
|
|
ENV['CXXFLAGS'] = "-fuse-ld=lld"
|
|
system "meson #{CREW_MESON_OPTIONS}"
|
|
system "meson compile -C builddir"
|
|
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} meson install -C builddir"
|
|
end
|
|
|
|
def self.postinstall
|
|
system "glib-compile-schemas #{CREW_PREFIX}/share/glib-2.0/schemas"
|
|
end
|
|
|
|
end
|