blob: 476314f005ae9ab6479acc0f87eee001ec57d178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
class CairoPackage (CairoGraphicsPackage):
def __init__ (self):
Package.__init__ (self, 'cairo', '1.10.2')
def build (self):
self.configure_flags = [
'--enable-pdf'
]
if Package.profile.name == 'darwin':
self.configure_flags.extend ([
'--enable-quartz',
'--disable-xlib',
'--without-x'
])
elif Package.profile.name == 'linux':
self.configure_flags.extend ([
'--disable-quartz',
'--with-x'
])
Package.build (self)
CairoPackage ()
|