mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* epiphany => 43.1 * add binaries * fix compatibility * arm needs the gcc dep --------- Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
71 lines
2.3 KiB
Ruby
71 lines
2.3 KiB
Ruby
# Adapted from Arch Linux epiphany PKGBUILD at:
|
|
# https://github.com/archlinux/svntogit-packages/raw/packages/epiphany/trunk/PKGBUILD
|
|
|
|
require 'package'
|
|
|
|
class Epiphany < Package
|
|
description 'A GNOME web browser based on the WebKit rendering engine'
|
|
homepage 'https://wiki.gnome.org/Apps/Web'
|
|
version '43.1'
|
|
license 'GPL'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://gitlab.gnome.org/GNOME/epiphany.git'
|
|
git_hashtag version
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/43.1_armv7l/epiphany-43.1-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/43.1_armv7l/epiphany-43.1-chromeos-armv7l.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/epiphany/43.1_x86_64/epiphany-43.1-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: 'edbfc2a6ef0097b8ffbb55bd8696a996c9ea148281aba325c0d2534425a53d77',
|
|
armv7l: 'edbfc2a6ef0097b8ffbb55bd8696a996c9ea148281aba325c0d2534425a53d77',
|
|
x86_64: '0757192bb0ba72bf09da813e4ddabee332f3ae9ad1b8d621a3f9b23bf8658305'
|
|
})
|
|
|
|
depends_on 'atk' # R
|
|
depends_on 'at_spi2_core' # R
|
|
depends_on 'docbook_xml' => :build
|
|
depends_on 'freetype' => :build
|
|
depends_on 'gcc' # R
|
|
depends_on 'gcr_3' # R
|
|
depends_on 'gdk_pixbuf' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'glib' # R
|
|
depends_on 'gmp' # R
|
|
depends_on 'gobject_introspection' => :build
|
|
depends_on 'gtk3' # R
|
|
depends_on 'harfbuzz' # R
|
|
depends_on 'help2man' => :build
|
|
depends_on 'iso_codes' => :build
|
|
depends_on 'json_glib' # R
|
|
depends_on 'libarchive' # R
|
|
depends_on 'libdazzle' # R
|
|
depends_on 'libhandy' # R
|
|
depends_on 'libportal' # R
|
|
depends_on 'libsecret' # R
|
|
depends_on 'libsoup' # R
|
|
depends_on 'libxml2' # R
|
|
depends_on 'lsb_release' => :build
|
|
depends_on 'nettle' # R
|
|
depends_on 'pango' # R
|
|
depends_on 'sqlite' # R
|
|
depends_on 'startup_notification' => :build
|
|
depends_on 'valgrind' => :build
|
|
depends_on 'webkit2gtk_4_1' # R
|
|
depends_on 'gcc' # R
|
|
|
|
gnome
|
|
|
|
def self.build
|
|
system "meson setup #{CREW_MESON_OPTIONS} \
|
|
builddir"
|
|
system 'meson configure builddir'
|
|
system "#{CREW_NINJA} -C builddir"
|
|
end
|
|
|
|
def self.install
|
|
system "DESTDIR=#{CREW_DEST_DIR} #{CREW_NINJA} -C builddir install"
|
|
end
|
|
end
|