changeset 6414:bb333bba79fa

Add fonts `Bitstream Vera'
author Masamichi Hosoda <trueroad@trueroad.jp>
date Sun, 16 Aug 2015 00:58:31 +0900
parents 1531ce146fbc
children d68b58defe61
files gub/specs/fonts-bitstream-vera.py gub/specs/lilypond-doc.py
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gub/specs/fonts-bitstream-vera.py	Sun Aug 16 00:58:31 2015 +0900
@@ -0,0 +1,14 @@
+from gub import tools
+from gub import build
+
+class Fonts_bitstream_vera (build.BinaryBuild):
+    source = 'http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2'
+    dependencies = ['tools::bzip2']
+    def install (self):
+        self.system ('mkdir -p %(install_prefix)s/share/fonts/truetype/bitstream/vera')
+        self.system ('cp %(srcdir)s/*.ttf %(install_prefix)s/share/fonts/truetype/bitstream/vera/')
+    def package (self):
+        build.AutoBuild.package (self)
+
+class Fonts_bitstream_vera__tools (tools.AutoBuild, Fonts_bitstream_vera):
+    pass
--- a/gub/specs/lilypond-doc.py	Sun Aug 16 00:56:50 2015 +0900
+++ b/gub/specs/lilypond-doc.py	Sun Aug 16 00:58:31 2015 +0900
@@ -14,6 +14,7 @@
                 #'tools::texlive',
                 'tools::fonts-libertine',
                 'tools::fonts-bitstream-charter',
+                'tools::fonts-bitstream-vera',
                 'system::makeinfo',
                 'system::zip',
                 ])