Files
chromebrew/packages/fontconfig.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

45 lines
1.5 KiB
Ruby

require 'buildsystems/meson'
# build order: harfbuzz => freetype => fontconfig => cairo => pango
class Fontconfig < Meson
description 'Fontconfig is a library for configuring and customizing font access.'
homepage 'https://www.freedesktop.org/wiki/Software/fontconfig/'
version '2.15.0-2'
license 'MIT'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.freedesktop.org/fontconfig/fontconfig.git'
git_hashtag version.split('-').first
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'f4b3f86770a0373bdbddc34a284ec36a5b0a7df1d0ef10e4caa0ce449dd5a235',
armv7l: 'f4b3f86770a0373bdbddc34a284ec36a5b0a7df1d0ef10e4caa0ce449dd5a235',
x86_64: 'bc9a2abe014c5ed4dfa097039af3c590b8251bbf8558aae1393f9fcf16c96a61'
})
depends_on 'expat' # R
depends_on 'freetype' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'gperf' => :build
depends_on 'graphite' => :build
depends_on 'harfbuzz' # R
depends_on 'json_c' => :build
depends_on 'libpng' => :build
depends_on 'util_linux' => :build
no_fhs
meson_options "--wrap-mode=default \
-Dlocalstatedir=#{CREW_PREFIX}/cache \
-Dtests=disabled"
def self.install
system "DESTDIR=#{CREW_DEST_DIR} #{CREW_NINJA} -C builddir install"
# The following are included in the libpng package.
FileUtils.rm Dir["#{CREW_DEST_LIB_PREFIX}/libpng*"]
FileUtils.rm Dir["#{CREW_DEST_PREFIX}/include/libpng16/png*"]
FileUtils.rm Dir["#{CREW_DEST_LIB_PREFIX}/pkgconfig/libpng*"]
end
end