new Gnome 40.0 builds, split tepl into _5 & _6 packages

This commit is contained in:
Satadru Pramanik
2021-03-23 12:00:45 -04:00
parent fbee98d0c4
commit 68a0c631e4
8 changed files with 190 additions and 102 deletions

View File

@@ -3,44 +3,49 @@ require 'package'
class Yelp < Package
description 'Get help with GNOME'
homepage 'https://wiki.gnome.org/Apps/Yelp'
@_ver = '40.rc'
@_ver = '40.0'
version @_ver
license 'GPL-2+'
compatibility 'all'
source_url "https://github.com/GNOME/yelp/archive/#{@_ver}.tar.gz"
source_sha256 '57cecf29edbe7b5701e5c21c345fe4492503e2c87fb7cc5ef4257b5fd77f8bde'
source_url "https://gitlab.gnome.org/GNOME/yelp/-/archive/#{@_ver}/yelp-#{@_ver}.tar.bz2"
source_sha256 'ec640d7a56970ab3ac6283d6c3a90ae45b7676c739671b303cbfb2f4323bf7af'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.rc-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.rc-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.rc-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.rc-chromeos-x86_64.tar.xz'
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/yelp-40.0-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: 'cfe4fb78c87d69ef4380e094c32dc3609fff239f506ef31db4d45d2400fadf82',
armv7l: 'cfe4fb78c87d69ef4380e094c32dc3609fff239f506ef31db4d45d2400fadf82',
i686: '3976c9f34a6edba4a43b35475e2ca9dfdffc885c8fa33f5d55da5a106d629d42',
x86_64: 'c476142c4a8ae47c3ffde56e6d931544707f8e88fb1dd44c409030a018812c56'
aarch64: '021a5a25255e9bd5c5f44fe170abc70bb18ecd6b72a5a312da295c1c2831420b',
armv7l: '021a5a25255e9bd5c5f44fe170abc70bb18ecd6b72a5a312da295c1c2831420b',
i686: '7425444ffefcb107ac34fb8d8bb12d0a3117e7aaae83f44f938ba37a732e7a8d',
x86_64: '33ef261b6056265b6fa65b81c3fef50f8c5792f7e70ace0639d65f453a7f2f69'
})
depends_on 'appstream_glib'
depends_on 'atk'
depends_on 'cairo'
depends_on 'gdk_pixbuf'
depends_on 'glib'
depends_on 'gtk3'
depends_on 'harfbuzz'
depends_on 'libsoup2'
depends_on 'libxslt'
depends_on 'pango'
depends_on 'webkit2gtk'
depends_on 'yelp_xsl'
depends_on 'libxslt'
depends_on 'appstream_glib'
depends_on 'gtk_doc' => ':build'
depends_on 'itstool' => ':build'
depends_on 'xorg_server' => ':build'
def self.build
system 'NOCONFIGURE=1 ./autogen.sh'
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-compile-warnings=minimum \
--enable-debug=no \
--disable-dependency-tracking"
# Documentation generation segfaults without X11"
# system "xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' make"
system 'make'
end