Xamarin Public Jenkins (auto-signing) 6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +00:00

28 lines
861 B
Python

class LibrsvgPackage(GnomeXzPackage):
def __init__(self):
GnomeXzPackage.__init__(self, 'librsvg', version_major='2.37', version_minor='0',
configure_flags=['--disable-Bsymbolic', '--disable-introspection'])
make = 'make DESTDIR=%{stage_root}'
def install(self):
# handle some mislocation
misdir = '%s%s' % (self.stage_root, self.staged_profile)
unprotect_dir(self.stage_root)
Package.install(self)
# scoop up
if not os.path.exists(misdir):
error('Could not find mislocated libsrvg files')
self.sh(
'rsync -a --ignore-existing %s/* %s' %
(misdir, self.staged_prefix))
self.sh('rm -rf %s/*' % misdir)
def deploy(self):
self.sh('gdk-pixbuf-query-loaders --update-cache')
LibrsvgPackage()