mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
binutils => 2.39 + required texinfo rebuild (#7253)
This commit is contained in:
@@ -3,34 +3,40 @@ require 'package'
|
||||
class Texinfo < Package
|
||||
description 'Texinfo is the official documentation format of the GNU project.'
|
||||
homepage 'https://www.gnu.org/software/texinfo/'
|
||||
version '6.8'
|
||||
version '6.8-1'
|
||||
license 'GPL-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://ftpmirror.gnu.org/texinfo/texinfo-6.8.tar.xz'
|
||||
source_sha256 '8eb753ed28bca21f8f56c1a180362aed789229bd62fff58bf8368e9beb59fec4'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8_armv7l/texinfo-6.8-chromeos-armv7l.tpxz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8_armv7l/texinfo-6.8-chromeos-armv7l.tpxz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8_i686/texinfo-6.8-chromeos-i686.tpxz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8_x86_64/texinfo-6.8-chromeos-x86_64.tpxz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8-1_armv7l/texinfo-6.8-1-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8-1_armv7l/texinfo-6.8-1-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8-1_i686/texinfo-6.8-1-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/texinfo/6.8-1_x86_64/texinfo-6.8-1-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '8ab8c07b8df6060de246818fe5c94d8fb52c1c16789eddc1ecdcf47d77a53e71',
|
||||
armv7l: '8ab8c07b8df6060de246818fe5c94d8fb52c1c16789eddc1ecdcf47d77a53e71',
|
||||
i686: 'd0a9f83f9314f21775cdddf404dfd63117ad55a22bfc2c2134c22e045ed7e1ac',
|
||||
x86_64: '9b3df80fbebafc830f9ad99c73ab8aaaa3ad0d0ca13cf33a6a4ed9fb737e8ed3'
|
||||
aarch64: 'b74885ef4051db9e1706e77f7ec58747ad1f4de3901c08f28831b07fd7f0f6b4',
|
||||
armv7l: 'b74885ef4051db9e1706e77f7ec58747ad1f4de3901c08f28831b07fd7f0f6b4',
|
||||
i686: '1a199141340ffa01dcb0287e590ad5844f70ce1dc9b5df9459df486aec420ce0',
|
||||
x86_64: '6a6c3c50dfbd0fbc32552308d45ba48cf44e55fd7c29563aabbaefa9b3726bfe'
|
||||
})
|
||||
|
||||
depends_on 'perl'
|
||||
depends_on 'perl_locale_messages'
|
||||
depends_on 'perl_text_unidecode'
|
||||
depends_on 'perl_unicode_eastasianwidth'
|
||||
|
||||
def self.build
|
||||
# configure and make
|
||||
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS} \
|
||||
# LDflags set to workaround i686 build issues.
|
||||
@ldflags = ''
|
||||
@ldflags = 'LDFLAGS=-static' if ARCH == 'i686'
|
||||
system "#{@ldflags} ./configure #{CREW_OPTIONS} \
|
||||
--with-external-Text-Unidecode \
|
||||
--with-external-Unicode-EastAsianWidth"
|
||||
# Fix broken i686 build.
|
||||
system "sed -i 's/-static//' info/Makefile" if ARCH == 'i686'
|
||||
system 'make'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user