mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Add adobe 100dpi fonts (#4601)
This commit is contained in:
19
packages/encodings.rb
Normal file
19
packages/encodings.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
require 'package'
|
||||
|
||||
class Encodings < Package
|
||||
description 'X11 Font Index Generator'
|
||||
homepage 'https://xorg.freedesktop.org'
|
||||
version '1.0.5'
|
||||
compatibility 'all'
|
||||
source_url 'https://www.x.org/releases/individual/font/encodings-1.0.5.tar.bz2'
|
||||
source_sha256 'bd96e16143a044b19e87f217cf6a3763a70c561d1076aad6f6d862ec41774a31'
|
||||
|
||||
def self.build
|
||||
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
|
||||
system "sed -e 's|^\(encodings_DATA = $(DATA_FILES)\).*|\1|' -i Makefile" # Found in xbps-src
|
||||
system 'make'
|
||||
end
|
||||
def self.install
|
||||
system "make install DESTDIR=#{CREW_DEST_DIR}"
|
||||
end
|
||||
end
|
||||
20
packages/font_adobe_100dpi.rb
Normal file
20
packages/font_adobe_100dpi.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'package'
|
||||
|
||||
class Font_adobe_100dpi < Package
|
||||
description 'Standard 100dpi Adobe PCF fonts'
|
||||
homepage 'https://xorg.freedesktop.org/'
|
||||
version '1.0.3'
|
||||
compatibility 'all'
|
||||
source_url 'https://www.x.org/releases/individual/font/font-adobe-100dpi-1.0.3.tar.bz2'
|
||||
source_sha256 'b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054'
|
||||
|
||||
depends_on 'bdftopcf'
|
||||
depends_on 'font_util'
|
||||
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
|
||||
20
packages/font_adobe_utopia_100dpi.rb
Normal file
20
packages/font_adobe_utopia_100dpi.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'package'
|
||||
|
||||
class Font_adobe_utopia_100dpi < Package
|
||||
description '100dpi Adobe Utopia PCF fonts'
|
||||
homepage 'https://xorg.freedesktop.org/'
|
||||
version '1.0.4'
|
||||
compatibility 'all'
|
||||
source_url 'https://www.x.org/releases/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2'
|
||||
source_sha256 'd16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5'
|
||||
|
||||
depends_on 'bdftopcf'
|
||||
depends_on 'font_util'
|
||||
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
|
||||
20
packages/font_adobe_utopia_type1.rb
Normal file
20
packages/font_adobe_utopia_type1.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
require 'package'
|
||||
|
||||
class Font_adobe_utopia_type1 < Package
|
||||
description 'Adobe Utopia Type1 fonts'
|
||||
homepage 'https://xorg.freedesktop.org/'
|
||||
version '1.0.4'
|
||||
compatibility 'all'
|
||||
source_url 'https://www.x.org/releases/individual/font/font-adobe-utopia-type1-1.0.4.tar.bz2'
|
||||
source_sha256 '979435105f897a70f8993fa02c8362160b0513366c2ab896965416f96dbb8077'
|
||||
|
||||
depends_on 'bdftopcf'
|
||||
depends_on 'font_util'
|
||||
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
|
||||
Reference in New Issue
Block a user