Add pre-built binaries for packages f-p

This commit is contained in:
Ed Reel
2020-10-31 22:25:57 -05:00
parent 05774d4b6d
commit 3d477009ed
21 changed files with 290 additions and 112 deletions

View File

@@ -3,38 +3,36 @@ require 'package'
class Fontconfig < Package
description 'Fontconfig is a library for configuring and customizing font access.'
homepage 'https://www.freedesktop.org/software/fontconfig/front.html'
version '2.13.0'
version '2.13.92'
compatibility 'all'
source_url 'https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.0.tar.gz'
source_sha256 'a6ca290637d8b2c4e1dd40549b179202977593f7481ec83ddfb1765ad90037ba'
source_url 'https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.92.tar.xz'
source_sha256 '506e61283878c1726550bc94f2af26168f1e9f2106eac77eaaf0b2cdfad66e4e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.0-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.92-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.92-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.92-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/fontconfig-2.13.92-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ced3440f18ee896c1623ecd1ef3c493c41f6947ee4c6b4c54cd6bd23080e42ff',
armv7l: 'ced3440f18ee896c1623ecd1ef3c493c41f6947ee4c6b4c54cd6bd23080e42ff',
i686: '64a8085ac2a3cb30c1d523133778a868ece074fa973c5f7b0548b9b639f7ecb2',
x86_64: '7df51056ad09bf3b74fc1e85e6049306322f55641b191f3a8fa0378281c71702',
aarch64: '2901e70451140802f63b96ebf5e74d5e13ac7f1c4f54962329854bb195bface1',
armv7l: '2901e70451140802f63b96ebf5e74d5e13ac7f1c4f54962329854bb195bface1',
i686: '38af5a4671f0f347af336dbcbe48f98966207c5a25935ff0ce5de487a7edc627',
x86_64: '344e1ee8d34f9f7ad84cf4d1e92a28f71e2fbcd599f97a8abfc085fb2fbe9120',
})
depends_on 'expat'
depends_on 'gperf'
depends_on 'freetype'
depends_on 'freetype_sub'
depends_on 'jsonc'
depends_on 'util_linux'
def self.build
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--localstatedir=#{CREW_PREFIX}/cache"
system "./configure #{CREW_OPTIONS} --localstatedir=#{CREW_PREFIX}/cache"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end