Example #1
0
 def __init__ (self, settings, source):
     target.AutoBuild.__init__ (self, settings, source)
     # FIXME: should add to C_INCLUDE_PATH
     builddir = self.builddir ()
     # FIXME: remove after both 2.12.3, 2.13.4 (or 2.14.0) are released.
     srcdir = self.srcdir ()
     self.target_gcc_flags = (settings.target_gcc_flags
                              + ' -I%(builddir)s' % locals ()
                              + ' -I%(srcdir)s/lily/out' % locals ())
     if isinstance (source, repository.Git):
         source.version = misc.bind_method (LilyPond.version_from_VERSION, source)
     if 'stat' in misc.librestrict () and not 'tools::texlive' in self.dependencies:
         build.append_dict (self, {'PATH': os.environ['PATH']}) # need mf, mpost from system
Example #2
0
 def __init__ (self, settings, source):
     target.AutoBuild.__init__ (self, settings, source)
     # FIXME: should add to C_INCLUDE_PATH
     builddir = self.builddir ()
     # FIXME: remove after both 2.12.3, 2.13.4 (or 2.14.0) are released.
     srcdir = self.srcdir ()
     self.target_gcc_flags = (settings.target_gcc_flags
                              + ' -I%(builddir)s' % locals ()
                              + ' -I%(srcdir)s/lily/out' % locals ())
     if isinstance (source, repository.Git):
         source.version = misc.bind_method (LilyPond.version_from_VERSION, source)
     if 'stat' in misc.librestrict () and not 'tools::texlive' in self.dependencies:
         build.append_dict (self, {'PATH': os.environ['PATH']}) # need mf, mpost from system
Example #3
0
 def __init__ (self, settings, source):
     target.AutoBuild.__init__ (self, settings, source)
     build.append_dict (self, {'PKG_CONFIG_PATH': ':%(system_prefix)s/share/pkgconfig'})