Info4: << Package: qt5-%type_pkg[qt]-qt3d Version: 5.5.0 Revision: 1 Distribution: 10.9, 10.10 Description: Cross-Platform framework (%type_pkg[qt]) Type: qt (mac) License: LGPL Maintainer: None ### First version 5.3.1 by Hanspeter Niederstrasser ### Free to upgrade and modify parameters, but please discuss ### first on the fink-devel list Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (= %v-%r), qt5-%type_pkg[qt]-qt3dinput-shlibs (= %v-%r), qt5-%type_pkg[qt]-qt3dquick-shlibs (= %v-%r), qt5-%type_pkg[qt]-qt3dquickrenderer-shlibs (= %v-%r), qt5-%type_pkg[qt]-qt3drenderer-shlibs (= %v-%r) << BuildDepends: << qt5-%type_pkg[qt]-qtbase-dev-tools (>= %v-1), qt5-%type_pkg[qt]-qtbase (>= %v-1), qt5-%type_pkg[qt]-qtdeclarative (>= %v-1), fink (>= 0.34.4-1), fink-buildenv-modules, fink-package-precedence, libassimp, pkgconfig, xcode (>= 5.1.1), xcode.app (>= 5.1.1), ( %type_pkg[qt] = x11 ) x11-dev << BuildConflicts: uuid, libevent1.4, libevent2, libev4 BuildDependsOnly: true Source: http://download.qt.io/official_releases/qt/5.5/%v/submodules/qt3d-opensource-src-%v.tar.xz Source-MD5: 508c90c3a2a5f37f0f7c2dd696ab10f5 PatchScript: << # qmake/pkg-config expects -I%p/include/assimp, but pkg uses #include # https://bugreports.qt.io/browse/QTBUG-44582 perl -pi -e 's|\ at end of the 'want' list of .pc files want="Qt53DCore.pc Qt53DInput.pc Qt53DQuick.pc Qt53DQuickRenderer.pc Qt53DRenderer.pc " have=`/bin/ls -1 | tr '\n' ' '` popd if [ "$want" != "$have" ]; then echo "Unexpected build results (mismatched list of .pc)" echo " want: '$want'" echo " have: '$have'" exit 1 fi ### Clean up .la, .prl files ### remove build-dir location and fix '-framework ' -> '-Wl,-framework,' find %d/${QT_FINK_PREFIX}/lib -name \*.prl -o -name \*.la | xargs \ perl -pi -e 's|%b/lib|%p/lib|g; s|-framework |-Wl,-framework,|g' ### Clean up .pc files ### fix '-framework ' -> '-Wl,-framework,' find %d/${QT_FINK_PREFIX}/lib -name \*.pc | xargs \ perl -pi -e 's|-framework |-Wl,-framework,|g' ### clean up Libs.private perl -ni -e 'print unless /Libs.private:/' %d/${QT_FINK_PREFIX}/lib/pkgconfig/*.pc << #AppBundles: DocFiles: LICENSE.GPL LICENSE.LGPLv3 README SplitOff: << Package: qt5-%type_pkg[qt]-qt3dcore-shlibs Description: Qt 3D Core library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/Qt3DCore.framework/Versions/5/Qt3DCore ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt53DCore.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/Qt3DCore.framework/Versions/5/Qt3DCore 5.5.0 %n (>= 5.5.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt53DCore.5.dylib 5.5.0 %n (>= 5.5.0-1) << DescDetail: << Qt5 3D module. << << SplitOff2: << Package: qt5-%type_pkg[qt]-qt3dinput-shlibs Description: Qt 3D Input library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3drenderer-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/Qt3DInput.framework/Versions/5/Qt3DInput ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt53DInput.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/Qt3DInput.framework/Versions/5/Qt3DInput 5.5.0 %n (>= 5.5.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt53DInput.5.dylib 5.5.0 %n (>= 5.5.0-1) << DescDetail: << Qt5 3D input module. << << SplitOff3: << Package: qt5-%type_pkg[qt]-qt3dquick-shlibs Description: Qt 3D Quick Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/Qt3DQuick.framework/Versions/5/Qt3DQuick ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt53DQuick.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/Qt3DQuick.framework/Versions/5/Qt3DQuick 5.5.0 %n (>= 5.5.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt53DQuick.5.dylib 5.5.0 %n (>= 5.5.0-1) << DescDetail: << Qt5 3D Quick module. << << SplitOff4: << Package: qt5-%type_pkg[qt]-qt3dquickrenderer-shlibs Description: Qt 3D Quick Renderer Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3dquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3drenderer-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/Qt3DQuickRenderer.framework/Versions/5/Qt3DQuickRenderer ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt53DQuickRenderer.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/Qt3DQuickRenderer.framework/Versions/5/Qt3DQuickRenderer 5.5.0 %n (>= 5.5.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt53DQuickRenderer.5.dylib 5.5.0 %n (>= 5.5.0-1) << DescDetail: << Qt5 3D Quick Renderer module. << << SplitOff5: << Package: qt5-%type_pkg[qt]-qt3drenderer-shlibs Description: Qt 3D Quick Renderer Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/Qt3DRenderer.framework/Versions/5/Qt3DRenderer ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt53DRenderer.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/Qt3DRenderer.framework/Versions/5/Qt3DRenderer 5.5.0 %n (>= 5.5.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt53DRenderer.5.dylib 5.5.0 %n (>= 5.5.0-1) << DescDetail: << Qt5 3D Renderer module. << << SplitOff6: << Package: qt5-%type_pkg[qt]-qml-module-qt3d Description: Qt5 Qt3D QML module (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3dinput-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3dquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3dquickrenderer-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3drenderer-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), << Files: << lib/qt5-%type_pkg[qt]/share/qt5/qml/Qt3D << DescDetail: << SplitOff7: << Package: qt5-%type_pkg[qt]-qml-module-qtquick-scene3d Description: Qt5 Scene3D QML module (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3dinput-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3drenderer-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1) << Files: << lib/qt5-%type_pkg[qt]/share/qt5/qml/QtQuick << DescDetail: << SplitOff8: << Package: qt5-%type_pkg[qt]-sceneparsers-plugins Description: Qt5 positioning plugins (%type_pkg[qt]) Depends: << libassimp-shlibs, qt5-%type_pkg[qt]-qt3dcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qt3drenderer-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1) << Files: << lib/qt5-%type_pkg[qt]/plugins/sceneparsers << DescDetail: << Homepage: http://qt-project.org DescDetail: << Qt is a cross-platform application and UI framework with APIs for C++ programming and Qt Quick for rapid UI creation. * Intuitive class libraries * Easy to use and learn * Produce highly readable, easily maintainable and reusable code * High runtime performance and small footprint << DescUsage: << To compile against this Qt5, you need to make sure that "%p/lib/qt5-%type_pkg[qt]/bin" is first in your PATH and that qmake is present. Qmake is provided by "qt5-%type_pkg[qt]-qtbase-dev-tools". If you need to manually find the headers and libraries, you need your compiler flags to contain: -F%p/lib/qt5-%type_pkg[qt]/lib or this: -I%p/lib/qt5-%type_pkg[qt]/include ...and your linker flags to contain: -F%p/lib/qt5-%type_pkg[qt]/lib or -L%p/lib/qt5-%type_pkg[qt]/lib In this case, it's still a good idea to set your PATH to contain "%p/lib/qt5-%type_pkg[qt]/bin" as well. << DescPackaging: << We follow Ubuntu's lead in using the separate tarballs and separate most of the packages the same way they do. << << # End Info4