mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Add binary_compression value to each package * Remove binary_url values and arrays * Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
37 lines
1.2 KiB
Ruby
37 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Dconf < Package
|
|
description 'The DConf package contains a low-level configuration system.'
|
|
homepage 'https://wiki.gnome.org/Projects/dconf'
|
|
version '0.40.0'
|
|
license 'LGPL-2.1+'
|
|
compatibility 'all'
|
|
source_url 'https://download.gnome.org/core/40/40.rc/sources/dconf-0.40.0.tar.xz'
|
|
source_sha256 'cf7f22a4c9200421d8d3325c5c1b8b93a36843650c9f95d6451e20f0bcb24533'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '2d1df99cdc3536a8e44f679c78adcb54030c2dc84fc806da32f68f49172960b4',
|
|
armv7l: '2d1df99cdc3536a8e44f679c78adcb54030c2dc84fc806da32f68f49172960b4',
|
|
i686: '1f17e19357695ff97dbe37aba82c5a3c40b138bba6e2acb18986b103e3d8832a',
|
|
x86_64: '4362ea8fa70e02799dc148f97891c30787f311ebfda78ccf0966d3843b9dc173'
|
|
})
|
|
|
|
depends_on 'dbus' => :build
|
|
depends_on 'gtk_doc' => :build
|
|
depends_on 'glib'
|
|
depends_on 'vala' => :build
|
|
depends_on 'bash_completion' => :build
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_OPTIONS} \
|
|
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
|