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)
40 lines
1.2 KiB
Ruby
40 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Wpebackend_fdo < Package
|
|
description 'Freedesktop.org backend for WPE WebKit'
|
|
homepage 'https://wpewebkit.org'
|
|
version '1.14.0'
|
|
license 'BSD-2'
|
|
compatibility 'all'
|
|
source_url "https://github.com/Igalia/WPEBackend-fdo/releases/download/#{version}/wpebackend-fdo-#{version}.tar.xz"
|
|
source_sha256 'e75b0cb2c7145448416e8696013d8883f675c66c11ed750e06865efec5809155'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '8bf04acd2a0086a4dfd8376829577d00de7366cd4304383d65bf2226d05449de',
|
|
armv7l: '8bf04acd2a0086a4dfd8376829577d00de7366cd4304383d65bf2226d05449de',
|
|
i686: 'fb3fc5fdccd6f30b40860574f098d194e3c6b67dd5ee116784ecadacbda4bd83',
|
|
x86_64: '2f878e911a8b013af12f05680f5c894b1e23b5c04301a8d936ff55993387a6c4'
|
|
})
|
|
|
|
depends_on 'libwpe'
|
|
depends_on 'wayland'
|
|
depends_on 'libepoxy'
|
|
depends_on 'mesa' => :build
|
|
depends_on 'wayland_protocols' => :build
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glib' # R
|
|
depends_on 'glibc' # R
|
|
|
|
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
|