mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Update desktop_file_utils Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Move package to meson. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-desktop_file_utils: Build Run on linux/arm/v7. * updater-desktop_file_utils: Build Run on linux/386. * updater-desktop_file_utils: Build Run on linux/amd64. * updater-desktop_file_utils: Package File Update Run on linux/386 container. * libxml2 => 2.15 Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
39 lines
1.3 KiB
Ruby
39 lines
1.3 KiB
Ruby
require 'buildsystems/cmake'
|
||
|
||
class Libxml2 < CMake
|
||
description 'Libxml2 is the XML C parser and toolkit developed for the Gnome project.'
|
||
homepage 'http://xmlsoft.org/'
|
||
version "2.15.0-#{CREW_ICU_VER}"
|
||
license 'MIT'
|
||
compatibility 'all'
|
||
source_url 'https://gitlab.gnome.org/GNOME/libxml2.git'
|
||
git_hashtag "v#{version.split('-').first}"
|
||
binary_compression 'tar.zst'
|
||
|
||
binary_sha256({
|
||
aarch64: '854f46931fa1cf1d4ec02313e428b00e72530ad30a5a2351e5e16470d50b9c99',
|
||
armv7l: '854f46931fa1cf1d4ec02313e428b00e72530ad30a5a2351e5e16470d50b9c99',
|
||
i686: '5c957f1362fa017320ad9596117139c39585f0cfa114d9a6260e3e87eaada9f0',
|
||
x86_64: '073c6948eee2be9c6926e82672b38024cdf8fc9fde536447c73aa2e3bd6f343d'
|
||
})
|
||
|
||
depends_on 'gcc_lib' # R
|
||
depends_on 'glibc' # R
|
||
depends_on 'icu4c' # R
|
||
|
||
conflicts_ok
|
||
gnome
|
||
|
||
def self.patch
|
||
# Fix encoding.c:1961:31: error: ‘TRUE’ undeclared (first use in this function)
|
||
system "for f in $(grep -rl 'TRUE)'); do sed -i 's,TRUE),true),g' $f; done"
|
||
# Remove EBCDIC test since it fails.
|
||
# Check https://mail.gnome.org/archives/xml/2010-April/msg00010.html for details.
|
||
FileUtils.rm 'test/ebcdic_566012.xml'
|
||
end
|
||
|
||
cmake_options '-DLIBXML2_WITH_PYTHON=OFF \
|
||
-DLIBXML2_WITH_LZMA=OFF \
|
||
-DLIBXML2_WITH_ICU=ON'
|
||
end
|