mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* version.rb: Allow rust package version to be updated. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update xdg_base package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * perl_locale_messages => perl_libintl_perl Signed-off-by: Satadru Pramanik <satadru@gmail.com> * popt => 1.19 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * mawk => 1.3.4-20250131 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * rdfind => 1.7.0 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * doxygen => 1.14.0 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fixup anitya mappings and package versions. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * libunbound => 1.24.0 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * progress => 0.17 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update ag Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust packages.yml Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add gnu_time to essential packages since it is used in tests. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * suggested changes Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more suggested changes Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
30 lines
1.4 KiB
Ruby
30 lines
1.4 KiB
Ruby
require 'buildsystems/autotools'
|
|
|
|
class Intltool < Autotools
|
|
description 'intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.'
|
|
homepage 'https://freedesktop.org/wiki/Software/intltool/'
|
|
version '0.51.0-1'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url "https://launchpad.net/intltool/trunk/#{version.split('-').first}/+download/intltool-#{version.split('-').first}.tar.gz"
|
|
source_sha256 '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '47c82f3b2e4d6c2959ee1edf1d8dc480eb4e28e0bfac9efc823be7d937bfadcb',
|
|
armv7l: '47c82f3b2e4d6c2959ee1edf1d8dc480eb4e28e0bfac9efc823be7d937bfadcb',
|
|
i686: '41acb4802df44c0264e496a6a20c96a8db8bf5626d6214a72dee58f26a2caa9a',
|
|
x86_64: '128c16c438bcf23d0d9cc27afe947c7ece5e5ba96d96dd5838d3550f702bfe40'
|
|
})
|
|
|
|
depends_on 'libtool'
|
|
depends_on 'perl_xml_parser'
|
|
depends_on 'patch' => :build
|
|
|
|
def self.patch
|
|
system 'curl -#LO https://raw.githubusercontent.com/Alexpux/MSYS2-packages/master/intltool/perl-5.22-compatibility.patch'
|
|
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest(File.read('perl-5.22-compatibility.patch')) == '9c6527072aada6e3cb9aceb6e07cfdf51d58839a2beb650168da0601a85ebda3'
|
|
system 'patch intltool-update.in perl-5.22-compatibility.patch'
|
|
end
|
|
end
|