mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -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)
42 lines
1.3 KiB
Ruby
42 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Gnome_online_accounts < Package
|
|
description 'Single sign-on framework for GNOME'
|
|
homepage 'https://wiki.gnome.org/Projects/GnomeOnlineAccounts'
|
|
version '3.39.92'
|
|
license 'LGPL-2+'
|
|
compatibility 'all'
|
|
source_url "https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/archive/#{version}/gnome-online-accounts-#{version}.tar.bz2"
|
|
source_sha256 '89e27c886c0266b8c84a56dbb0fb0baefa704dd4d0ec47dd154a26590554adc9'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: 'c99efb0ee72e176460beea2b7e75fb980d48f6f1fe56725437631fc17a804cc6',
|
|
armv7l: 'c99efb0ee72e176460beea2b7e75fb980d48f6f1fe56725437631fc17a804cc6',
|
|
i686: 'c5d6803aedb9f3ce4d17eefb958543c58ae6affc0c360d745091a846819e1375',
|
|
x86_64: 'bd8c7198503bbe8aed993679a6d1019bc3245dbfd73f9de404d92189b7c0a1d3'
|
|
})
|
|
|
|
depends_on 'webkit2gtk'
|
|
depends_on 'json_glib'
|
|
depends_on 'libnotify'
|
|
depends_on 'rest'
|
|
depends_on 'libsecret'
|
|
depends_on 'gcr'
|
|
depends_on 'gobject_introspection' => :build
|
|
depends_on 'gtk_doc' => :build
|
|
depends_on 'vala' => :build
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_OPTIONS} \
|
|
-Dgtk_doc=true \
|
|
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
|