Commit 3ac535ef authored by satmandu's avatar satmandu Committed by GitHub

libhandy -> 1.0.2 (#4617)

parent b2738a65
...@@ -3,34 +3,21 @@ require 'package' ...@@ -3,34 +3,21 @@ require 'package'
class Libhandy < Package class Libhandy < Package
description 'The aim of the handy library is to help with developing UI for mobile devices using GTK/GNOME.' 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/' homepage 'https://gitlab.gnome.org/GNOME/libhandy/'
version '0.90.0' version '1.0.2'
compatibility 'all' compatibility 'all'
source_url 'https://gitlab.gnome.org/GNOME/libhandy/-/archive/0.90.0/libhandy-0.90.0.tar.bz2' source_url 'https://gitlab.gnome.org/GNOME/libhandy/-/archive/1.0.2/libhandy-1.0.2.tar.bz2'
source_sha256 '24f015851cb5ac20c8ae9c88303229f91af84e9f1652904e15ebd3a94c51b4f6' source_sha256 '5b1ceebf80a82bb56804370d88481b8a4affe5d33f13a7fd06905135cceaaf88'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-0.90.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-0.90.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-0.90.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libhandy-0.90.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '9a2965bdc5300e83f56ec47e5665bdb1ba62317eeb3c424ad2229468c7452d95',
armv7l: '9a2965bdc5300e83f56ec47e5665bdb1ba62317eeb3c424ad2229468c7452d95',
i686: 'b9d0422c882c1d486eb75887fadd32c4aaa7d593f091304539cdcab9d479bf83',
x86_64: '26d17e23a965f52c549216abd010140f4f4e213f8aa86efb5f0962cf3ce4c429',
})
def self.prebuild def self.prebuild
system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build" system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build"
end end
def self.build def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} --buildtype=release _build" system "meson #{CREW_MESON_OPTIONS} build"
system 'ninja -v -C _build' system 'ninja -v -C build'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
end 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