Teach auto-dep about cairo

This commit is contained in:
K. Lange 2018-09-21 20:27:05 +09:00
parent 0821cc05d1
commit cc366b2491
2 changed files with 10 additions and 1 deletions

9
.gitignore vendored
View File

@ -28,8 +28,15 @@
/base/usr/bin/*
/base/usr/lib/*
# Generic
/base/usr/share/aclocal
/base/usr/share/gtk-doc
# Freetype
/base/usr/include/freetype2
/base/usr/include/ft2build.h
/base/usr/share/aclocal
/base/usr/share/fonts
# Cairo + Pixman
/base/usr/include/cairo
/base/usr/include/pixman-1

View File

@ -34,6 +34,8 @@ class Classifier(object):
'<toaru/textregion.h>': (None, '-ltoaru_textregion', ['<toaru/sdf.h>', '<toaru/yutani.h>','<toaru/graphics.h>', '<toaru/hashmap.h>']),
# OPTIONAL third-party libraries, for extensions / ports
'<ft2build.h>': ('freetype2', '-lfreetype', []),
'<pixman.h>': ('pixman-1', '-lpixman-1', []),
'<cairo.h>': ('cairo', '-lcairo', ['<ft2build.h>', '<pixman.h>']),
}
def __init__(self, filename):