Add pre-built binaries for packages e-x (#4612)

This commit is contained in:
Ed Reel
2020-11-25 11:59:32 -06:00
committed by GitHub
parent 3ac535ef99
commit e6509cb481
27 changed files with 460 additions and 66 deletions

View File

@@ -8,13 +8,29 @@ class Font_adobe_100dpi < Package
source_url 'https://www.x.org/releases/individual/font/font-adobe-100dpi-1.0.3.tar.bz2'
source_sha256 'b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/font_adobe_100dpi-1.0.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/font_adobe_100dpi-1.0.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/font_adobe_100dpi-1.0.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/font_adobe_100dpi-1.0.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bd1f009f3db17d73db401bcfdddca3f8471b29e2d387569aabe9d5ffc000a8df',
armv7l: 'bd1f009f3db17d73db401bcfdddca3f8471b29e2d387569aabe9d5ffc000a8df',
i686: 'a472e463432ad5a82c4e1362f96fa406c25640308c646a258342b8e9d04f891e',
x86_64: 'b682ca853cb284f521969cd47683b21ae55089014d9408980b5c4d9e6b5c1e35',
})
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'
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end