Files
chromebrew/packages/font_bitstream_75dpi.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

33 lines
1.0 KiB
Ruby

require 'package'
class Font_bitstream_75dpi < Package
description 'Standard 100dpi Bitstream PCF fonts'
homepage 'https://xorg.freedesktop.org/'
version '1.0.3'
license 'custom'
compatibility 'all'
source_url 'https://www.x.org/releases/individual/font/font-bitstream-75dpi-1.0.3.tar.bz2'
source_sha256 'ba3f5e4610c07bd5859881660753ec6d75d179f26fc967aa776dbb3d5d5cf48e'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'e5df678cc719b19dcb74ad1589a7d0044ba67f6df60ba72625f43fc0280304dc',
armv7l: 'e5df678cc719b19dcb74ad1589a7d0044ba67f6df60ba72625f43fc0280304dc',
i686: 'dbb337a5e34891f4eaef3c0baa3d667efea2ee0600b0d100ca8ae78e38c4723b',
x86_64: '495010865f5de0b2f9f361ccaa6c1824e9114e854c01582731be00450d1fa4be'
})
depends_on 'bdftopcf'
depends_on 'font_util'
depends_on 'mkfontscale'
def self.build
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end