mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* gparted -> 1.8.1 in updater-gparted-1.8.1 * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container. * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * Cleanup gparted. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update dependencies to use :executable instead of :executable_only Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.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' => :executable
|
|
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
|