mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* harfbuzz => 11.3.2 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Build on linux/amd64 to branch harfbuzz. * Updating package files for linux/386 to branch harfbuzz. * Updating package files for linux/arm/v7 to branch harfbuzz. * freetype rebuild Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Updating package files for linux/amd64 to branch harfbuzz. * rebuild fontconfig Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Updating package files for linux/amd64 to branch harfbuzz. * cairo rebuild Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Updating package files for linux/amd64 to branch harfbuzz. * Rebuild pango Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Updating package files for linux/amd64 to branch harfbuzz. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
46 lines
1.5 KiB
Ruby
46 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.17.1-1'
|
|
license 'MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://gitlab.freedesktop.org/fontconfig/fontconfig.git'
|
|
git_hashtag version.split('-').first
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '0ee8249b0067ddcc372a65b66fa0a0b8d08646033ccafa0cad4e92ae0661e1bf',
|
|
armv7l: '0ee8249b0067ddcc372a65b66fa0a0b8d08646033ccafa0cad4e92ae0661e1bf',
|
|
x86_64: 'c58ec272425563fe76cc28662ff3682b36c0499660b142bc53144f967b39b307'
|
|
})
|
|
|
|
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
|
|
|
|
conflicts_ok # Allow overwriting harfbuzz files.
|
|
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
|