Files
chromebrew/packages/cairo.rb
Satadru Pramanik, DO, MPH, MEng a5fc2e945d Harfbuzz => 10.0.1 + downstream updates (#10526)
* Harfbuzz => 10.0.1 + downstream updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* suggested changes, bump version

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* remove glibc limitation on qt5_base

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fixup

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-25 15:12:09 -05:00

40 lines
1.2 KiB
Ruby

require 'buildsystems/meson'
# build order: harfbuzz => freetype => fontconfig => cairo => pango
class Cairo < Meson
description 'Cairo is a 2D graphics library with support for multiple output devices.'
homepage 'https://www.cairographics.org'
version '1.18.2'
license 'LGPL-2.1 or MPL-1.1'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.freedesktop.org/cairo/cairo.git'
git_hashtag version
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'a5dc26b94030439f13d34b3dc36aa14169cd2dfff918e1953f6de6c7c01a46c6',
armv7l: 'a5dc26b94030439f13d34b3dc36aa14169cd2dfff918e1953f6de6c7c01a46c6',
x86_64: '9ae42198c6c69d131d8431a26da921bb7a1da4fb79c98a12d3ecfce1138d818b'
})
depends_on 'fontconfig' # R
depends_on 'freetype' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'glib' # R
depends_on 'harfbuzz' # R
depends_on 'libpng' # R
depends_on 'libx11' # R
depends_on 'libxcb' # R
depends_on 'libxrender' # R
depends_on 'lzo' # R
depends_on 'mesa' => :build
depends_on 'pixman' # R
depends_on 'zlib' # R
conflicts_ok # because this overwrites the limited cairo from harfbuzz
meson_options '-Dxlib-xcb=enabled \
-Dtests=disabled'
end