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

merge libhandy and libhandy1 (#5357)

parent e8a54b50
......@@ -22,7 +22,7 @@ class Gnome_tweaks < Package
depends_on 'gnome_settings_daemon'
depends_on 'gsettings_desktop_schemas'
depends_on 'pygobject'
depends_on 'libhandy1'
depends_on 'libhandy'
depends_on 'libnotify'
def self.build
......
......@@ -28,7 +28,7 @@ class Gnome_weather < Package
depends_on 'gnome_desktop'
depends_on 'gobject_introspection' => ':build'
depends_on 'appstream_glib' => ':build'
depends_on 'libhandy1'
depends_on 'libhandy'
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
......
......@@ -3,23 +3,23 @@ require 'package'
class Libhandy < Package
description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.'
homepage 'https://gitlab.gnome.org/GNOME/libhandy/'
@_ver = '1.0.3'
@_ver = '1.1.90'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libhandy/-/archive/#{@_ver}/libhandy-#{@_ver}.tar.bz2"
source_sha256 '8cdeb88deaf13efbc0da73306bf8f8d14b6e5b108807a4f7b43d6a7c6e3a158d'
source_sha256 '6ddac98a287e4e9b31e3ec3d72dae756c4ef6e12f3b1150db7ec2ee339750bde'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.0.3-chromeos-x86_64.tar.xz',
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-1.1.90-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
aarch64: '4e5c2b68cdf5884bf233086a4cb8258c39d7c4f3abc84e262b9dc485292eff1a',
armv7l: '4e5c2b68cdf5884bf233086a4cb8258c39d7c4f3abc84e262b9dc485292eff1a',
i686: 'fabc2b197a1b8c6c1560a0ba3dd4f6a1839715e38f7079a11bd6169dbf54f38b',
x86_64: 'b2b09e3a0ded79ce0ab151c489d95549c3b8c508ee485d8fdfdb4f4e0edcfb29',
binary_sha256({
aarch64: '55c875283be39533c6683a967e1857ad844c4e8cdf6d638852118ba8e2b61d16',
armv7l: '55c875283be39533c6683a967e1857ad844c4e8cdf6d638852118ba8e2b61d16',
i686: '5cba24d72415faa55c8064c0693ad79051ad88545d9b55b2ad2f5deede171921',
x86_64: '89e363e201acb5c7040ceb5f4b34d0800996816c3559059b8a8abb0b3d341b38'
})
depends_on 'vala'
......
require 'package'
class Libhandy1 < Package
description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.'
homepage 'https://gitlab.gnome.org/GNOME/libhandy/'
@_ver = '1.1.90'
version @_ver
compatibility 'all'
source_url "https://gitlab.gnome.org/GNOME/libhandy/-/archive/#{@_ver}/libhandy-#{@_ver}.tar.bz2"
source_sha256 '6ddac98a287e4e9b31e3ec3d72dae756c4ef6e12f3b1150db7ec2ee339750bde'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy1-1.1.90-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '790a2510e89e4712c6d82cb07326b2fd5c9c34cc2e0f4fefe257d5fcc0c84615',
armv7l: '790a2510e89e4712c6d82cb07326b2fd5c9c34cc2e0f4fefe257d5fcc0c84615',
i686: 'fa28e0f5fdde0cc2cb79bf8cfff0222f3afe3de97025ffbd3f754722c4c3eb6c',
x86_64: 'df36a10a4e9e86c84d98142bfbbec8e0431162002ffce3d0b837042d13a67d9f'
})
depends_on 'vala'
def self.prebuild
system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build"
end
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
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