# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): version = '5.0.1' name = 'qt5' licenses = [License.GPL] stype = SourceType.TARBALL btype = BuildType.MAKEFILE use_system_libs = True configure_tpl = "./configure -prefix %(prefix)s "\ "%(options)s" configure_options = "-confirm-license -qt-xcb -opensource -nomake tests " \ "-optimized-qmake " \ "-docdir '$CERBERO_PREFIX/share/qt5/doc' "\ "-headerdir '$CERBERO_PREFIX/include/qt5' " \ "-datadir '$CERBERO_PREFIX/share/qt5' " \ "-plugindir '$CERBERO_PREFIX/lib/qt5/plugins' " \ "-importdir '$CERBERO_PREFIX/lib/qt5/imports' " \ "-translationdir '$CERBERO_PREFIX/share/qt5/translations' " \ "-sysconfdir '$CERBERO_PREFIX/etc/xdg' " \ "-examplesdir '$CERBERO_PREFIX/lib/qt5/examples' " tarball_dirname= 'qt-everywhere-opensource-src-5.0.1' url = 'http://releases.qt-project.org/qt5/5.0.1/single/qt-everywhere-opensource-src-5.0.1.tar.gz' files_bins = ['assistant', 'designer', 'lconvert', 'linguist', 'lrelease', 'lupdate', 'moc', 'pixeltool', 'qcollectiongenerator', 'qdbus', 'qdbuscpp2xml', 'qdbusviewer', 'qdbusxml2cpp', 'qdoc', 'qhelpconverter', 'qhelpgenerator', 'qmake', 'qml1plugindump', 'qmlbundle', 'qmlmin', 'qmlplugindump', 'qmlprofiler', 'qmlscene', 'qmltestrunner', 'qmlviewer', 'rcc', 'uic', 'xmlpatterns', 'xmlpatternsvalidator'] files_libs = ['Qt5CLucene', 'Qt5Concurrent', 'Qt5Core', 'Qt5DBus', 'Qt5Declarative', 'Qt5Designer', 'Qt5DesignerComponents', 'Qt5Gui', 'Qt5Help', 'Qt5Multimedia', 'Qt5MultimediaQuick_p', 'Qt5MultimediaWidgets', 'Qt5Network', 'Qt5OpenGL', 'Qt5PrintSupport', 'Qt5Qml', 'Qt5Quick', 'Qt5QuickParticles', 'Qt5QuickTest', 'Qt5Script', 'Qt5ScriptTools', 'Qt5Sql', 'Qt5Svg', 'Qt5Test', 'Qt5V8', 'Qt5Widgets', 'Qt5Xml', 'Qt5XmlPatterns', 'qgsttools_p'] files_examples = ['lib/qt5/examples'] files_plugins = ['lib/qt5/plugins'] files_imports = ['lib/qt5/imports'] files_doc = ['share/qt5/doc'] files_translations = ['share/qt5/translations'] files_devel = [ 'lib/libQt5Bootstrap.a', 'lib/libQt5PlatformSupport.a', 'lib/libiQt5PlatformSupport.a', 'lib/libiQt5UiTools.a', 'lib/libiQt5QmlDevTools.a', 'include/qt5/', 'lib/pkgconfig/Qt5Bootstrap.pc', 'lib/pkgconfig/Qt5CLucene.pc', 'lib/pkgconfig/Qt5Concurrent.pc', 'lib/pkgconfig/Qt5Core.pc', 'lib/pkgconfig/Qt5DBus.pc', 'lib/pkgconfig/Qt5Declarative.pc', 'lib/pkgconfig/Qt5Designer.pc', 'lib/pkgconfig/Qt5DesignerComponents.pc', 'lib/pkgconfig/Qt5Gui.pc', 'lib/pkgconfig/Qt5Help.pc', 'lib/pkgconfig/Qt5Multimedia.pc', 'lib/pkgconfig/Qt5MultimediaQuick_p.pc', 'lib/pkgconfig/Qt5MultimediaWidgets.pc', 'lib/pkgconfig/Qt5Network.pc', 'lib/pkgconfig/Qt5OpenGL.pc', 'lib/pkgconfig/Qt5PlatformSupport.pc', 'lib/pkgconfig/Qt5PrintSupport.pc', 'lib/pkgconfig/Qt5Qml.pc', 'lib/pkgconfig/Qt5QmlDevTools.pc', 'lib/pkgconfig/Qt5Quick.pc', 'lib/pkgconfig/Qt5QuickParticles.pc', 'lib/pkgconfig/Qt5QuickTest.pc', 'lib/pkgconfig/Qt5Script.pc', 'lib/pkgconfig/Qt5ScriptTools.pc', 'lib/pkgconfig/Qt5Sql.pc', 'lib/pkgconfig/Qt5Svg.pc', 'lib/pkgconfig/Qt5Test.pc', 'lib/pkgconfig/Qt5UiTools.pc', 'lib/pkgconfig/Qt5V8.pc', 'lib/pkgconfig/Qt5Widgets.pc', 'lib/pkgconfig/Qt5Xml.pc', 'lib/pkgconfig/Qt5XmlPatterns.pc', 'lib/cmake/Qt5Concurrent/', 'lib/cmake/Qt5Core/', 'lib/cmake/Qt5DBus/', 'lib/cmake/Qt5Declarative/', 'lib/cmake/Qt5Designer/', 'lib/cmake/Qt5Gui/', 'lib/cmake/Qt5Help/', 'lib/cmake/Qt5LinguistTools/', 'lib/cmake/Qt5Multimedia/', 'lib/cmake/Qt5MultimediaWidgets/', 'lib/cmake/Qt5Network/', 'lib/cmake/Qt5OpenGL/', 'lib/cmake/Qt5PrintSupport/', 'lib/cmake/Qt5Qml/', 'lib/cmake/Qt5Quick/', 'lib/cmake/Qt5QuickTest/', 'lib/cmake/Qt5Script/', 'lib/cmake/Qt5ScriptTools/', 'lib/cmake/Qt5Sql/', 'lib/cmake/Qt5Svg/', 'lib/cmake/Qt5Test/', 'lib/cmake/Qt5UiTools/', 'lib/cmake/Qt5Widgets/', 'lib/cmake/Qt5Xml/', 'lib/cmake/Qt5XmlPatterns/', ]