Commit c31892e5 authored by satmandu's avatar satmandu Committed by GitHub

FIx flatpak, fix gdk_pixbuf, add stressng (#5576)

* add updates

* add missing deps

* fix gdk_pixbuf postinstall
parent 0902c08b
...@@ -4,17 +4,17 @@ class Flatpak < Package ...@@ -4,17 +4,17 @@ class Flatpak < Package
description 'Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux.' description 'Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux.'
homepage 'https://flatpak.org' homepage 'https://flatpak.org'
@_ver = '1.10.2' @_ver = '1.10.2'
version "#{@_ver}+1" version "#{@_ver}-1"
license 'LGPL-2.1+' license 'LGPL-2.1+'
compatibility 'all' compatibility 'all'
source_url "https://github.com/flatpak/flatpak/releases/download/#{@_ver}/flatpak-#{@_ver}.tar.xz" source_url "https://github.com/flatpak/flatpak/releases/download/#{@_ver}/flatpak-#{@_ver}.tar.xz"
source_sha256 'db152739d072f8ff299e4e888d8963a1b4538da7b10e0b86525be438f2e1dde4' source_sha256 'db152739d072f8ff299e4e888d8963a1b4538da7b10e0b86525be438f2e1dde4'
binary_url({ binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2+1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2+1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2+1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2+1-chromeos-x86_64.tar.xz' x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/flatpak-1.10.2-1-chromeos-x86_64.tar.xz'
}) })
binary_sha256({ binary_sha256({
aarch64: 'f03b38526bd4874d0e917bac2e743929f8e118ab67796ee088f36e4712d4c35b', aarch64: 'f03b38526bd4874d0e917bac2e743929f8e118ab67796ee088f36e4712d4c35b',
...@@ -27,9 +27,15 @@ class Flatpak < Package ...@@ -27,9 +27,15 @@ class Flatpak < Package
depends_on 'bubblewrap' depends_on 'bubblewrap'
depends_on 'dconf' depends_on 'dconf'
depends_on 'fuse2' depends_on 'fuse2'
depends_on 'gdk_pixbuf'
depends_on 'gpgme'
depends_on 'json_glib'
depends_on 'libarchive'
depends_on 'libassuan'
depends_on 'libevent' depends_on 'libevent'
depends_on 'libostree' depends_on 'libostree'
depends_on 'libsoup2' depends_on 'libsoup2'
depends_on 'libxau'
depends_on 'polkit' depends_on 'polkit'
depends_on 'pulseaudio' depends_on 'pulseaudio'
depends_on 'pyparsing' depends_on 'pyparsing'
......
...@@ -73,8 +73,8 @@ class Gdk_pixbuf < Package ...@@ -73,8 +73,8 @@ class Gdk_pixbuf < Package
end end
def self.postinstall def self.postinstall
system 'env GDK_PIXBUF_MODULEDIR=#{CREW_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders \ system "env GDK_PIXBUF_MODULEDIR=#{CREW_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders \
GDK_PIXBUF_MODULE_FILE=#{CREW_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders.cache \ GDK_PIXBUF_MODULE_FILE=#{CREW_LIB_PREFIX}/gdk-pixbuf-2.0/2.10.0/loaders.cache \
gdk-pixbuf-query-loaders --update-cache' gdk-pixbuf-query-loaders --update-cache"
end end
end end
...@@ -11,6 +11,19 @@ class Stressng < Package ...@@ -11,6 +11,19 @@ class Stressng < Package
source_url "https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-#{@_ver}.tar.xz" source_url "https://kernel.ubuntu.com/~cking/tarballs/stress-ng/stress-ng-#{@_ver}.tar.xz"
source_sha256 'af7779aee38e6d94726ed7d5cf36384a64d50c86e42fff89c141d8609913f425' source_sha256 'af7779aee38e6d94726ed7d5cf36384a64d50c86e42fff89c141d8609913f425'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/stressng-0.12.05-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/stressng-0.12.05-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/stressng-0.12.05-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/stressng-0.12.05-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'c2d12f8c29ebb89709a40880f18bf29c2f1eb4e9b50f5f601e2a47aab598ef21',
armv7l: 'c2d12f8c29ebb89709a40880f18bf29c2f1eb4e9b50f5f601e2a47aab598ef21',
i686: '15f02f0c7819d9c3f5da89068b5c18f812f5428dabeab3ddf8f0d626ce0a8f7d',
x86_64: 'a2b49f6d383bbfb208daf3146205ebfd8bb4aaa9f2b0fa0be76a880cf32b2c18'
})
depends_on 'libbsd' depends_on 'libbsd'
def self.patch def self.patch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment