fixed install steps for version 4

This commit is contained in:
Gregory L. Lee 2015-02-17 16:26:00 -08:00
parent 17ac609d23
commit 44003449d5

View file

@ -63,24 +63,41 @@ def patch(self):
def install(self, spec, prefix): def install(self, spec, prefix):
# Apparently this is the only way to if self.spec.satisfies('@4'):
# "truly" get rid of webkit compiles now... configure('-v',
os.rename("qtwebkit","no-qtwebkit") '-confirm-license',
os.rename("qtwebkit-examples","no-qtwebkit-examples") '-opensource',
configure('-v', '-prefix', prefix,
'-confirm-license', '-openssl-linked',
'-opensource', '-dbus-linked',
'-prefix', prefix, #'-fast',
'-openssl-linked', '-opengl',
'-dbus-linked', '-optimized-qmake',
#'-fast', '-no-pch',
'-opengl', # phonon required for py-pyqt
'-qt-xcb', # '-no-phonon',
'-optimized-qmake', # '-no-phonon-backend',
'-no-pch', '-no-openvg')
# phonon required for py-pyqt elif self.spec.satisfies('@5'):
# '-no-phonon', # Apparently this is the only way to
# '-no-phonon-backend', # "truly" get rid of webkit compiles now...
'-no-openvg') os.rename("qtwebkit","no-qtwebkit")
os.rename("qtwebkit-examples","no-qtwebkit-examples")
configure('-v',
'-confirm-license',
'-opensource',
'-prefix', prefix,
'-openssl-linked',
'-dbus-linked',
#'-fast',
'-opengl',
'-qt-xcb',
'-optimized-qmake',
'-no-pch',
# phonon required for py-pyqt
# '-no-phonon',
# '-no-phonon-backend',
'-no-openvg')
make() make()
make("install") make("install")