Files
chromebrew/packages/font_adobe_75dpi.rb
Maximilian Downey Twiss eb14c41653 Remove compatibility from packages with incompatible dependencies (#9458)
* Remove i686 compatibility from packages with dependencies incompatible with i686

* Remove armv7l compatibility from packages with dependencies incompatible with arvm7l

* Abort builds/installs if the package has incompatible dependencies
2024-03-11 13:09:12 -04:00

32 lines
973 B
Ruby

require 'package'
class Font_adobe_75dpi < Package
description 'Standard 75pi Adobe PCF fonts'
homepage 'https://xorg.freedesktop.org/'
version '1.0.3'
license 'custom'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://www.x.org/releases/individual/font/font-adobe-75dpi-1.0.3.tar.bz2'
source_sha256 'c6024a1e4a1e65f413f994dd08b734efd393ce0a502eb465deb77b9a36db4d09'
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'ce42dd81802a50ef02e136b209b97c4f622f1fe1ee639ee0d34002771e95ba54',
armv7l: 'ce42dd81802a50ef02e136b209b97c4f622f1fe1ee639ee0d34002771e95ba54',
x86_64: '24a9499a17f3af0eb9f1c44ca71557b3ec8b7fa304f5955dcfbe4761ca0e97bb'
})
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