[149349] trunk/dports/devel/qt5-creator/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Tue Jun 14 03:24:45 PDT 2016
Revision: 149349
https://trac.macports.org/changeset/149349
Author: mcalhoun at macports.org
Date: 2016-06-14 03:24:45 -0700 (Tue, 14 Jun 2016)
Log Message:
-----------
qt5-creator: update version 3.6.1->4.0.1
Modified Paths:
--------------
trunk/dports/devel/qt5-creator/Portfile
Modified: trunk/dports/devel/qt5-creator/Portfile
===================================================================
--- trunk/dports/devel/qt5-creator/Portfile 2016-06-14 10:21:47 UTC (rev 149348)
+++ trunk/dports/devel/qt5-creator/Portfile 2016-06-14 10:24:45 UTC (rev 149349)
@@ -12,11 +12,13 @@
}
PortGroup qmake5 1.0
-version 3.6.1
+version 4.0.1
#revision 0
categories devel aqua
platforms darwin
-license {LGPL-2.1 LGPL-3 GPL-3}
+# from https://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/
+# The GPL license comes with two exceptions that ensure that there are no license restrictions on generated code, and that bridging to 3rd party code is still possible.
+license GPL-3
maintainers mcalhoun openmaintainer
description Cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.
long_description Qt Creator is a cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.
@@ -25,15 +27,16 @@
distname qt-creator-opensource-src-${version}
master_sites https://download.qt.io/official_releases/qtcreator/[join [lrange [split ${version} .] 0 1] .]/${version}/
-checksums rmd160 ee20bc80e538e3e8f564b3dd731f85d3c909a858 \
- sha256 e53611f80332cd1d171a9b91f8467b6182186cbec6b4a9301f32367368f15de2
+checksums rmd160 312da42a263bc3e74b9493eb055fd6dc03736b57 \
+ sha256 95518a0b93d2d2fb7e5b46508fc1f59811edb2c5e05659262539dd316b8e5f4c
if { ${subport} eq ${name} } {
- depends_lib-append \
- port:qt5-qtscript \
- port:qt5-qtdeclarative \
- port:qt5-qttools \
- port:qt5-qtmacextras \
+ depends_lib-append \
+ port:qt5-qtscript \
+ port:qt5-qtdeclarative \
+ port:qt5-qttools \
+ port:qt5-qtmacextras \
+ port:qt5-qtquickcontrols \
port:qt5-qtsvg
depends_lib-append port:botan
@@ -71,9 +74,11 @@
# "${qt_apps_dir}/Qt Creator.app/Contents/Resources/QtProject/qtcreator/qtversion.xml"
# "${qt_apps_dir}/Qt Creator.app/Contents/Resources/QtProject/qtcreator/profiles.xml"
#
- # from the installer.dat file, it seems the following are run by the binary installer of Qt Creator version 5.5.1
- # sdktool addQt --id qt.55.clang_64 --name "Qt %{Qt:Version} clang 64bit" --qmake qmakeBinary --type Qt4ProjectManager.QtVersion.Desktop
- # sdktool addKit --id qt.55.clang_64_kit --name "Desktop Qt %{Qt:Version} clang 64bit" --devicetype Desktop --qt qt.55.clang_64 --toolchain x86-macos-generic-mach_o-64bit
+ # from the installer.dat file, it seems the following are run by the binary installer of Qt Creator version 5.6.1
+ # see http://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/configurations/pkg_templates/pkg_56/qt.56.clang_64/meta/installscript.qs
+ # sdktool addQt --id qt.56.clang_64 --name "Qt %{Qt:Version} clang 64bit" --qmake qmakeBinary --type Qt4ProjectManager.QtVersion.Desktop
+ # sdktool addKit --id qt.56.clang_64_kit --name "Desktop Qt %{Qt:Version} clang 64bit" --toolchain x86-macos-generic-mach_o-64bit --qt qt.56.clang_64 --debuggerengine 256 --devicetype Desktop
+ #
# modify for our purposes
#
# for unknown reason, using system instead of exec results in "QWidget: Cannot create a QWidget without QApplication"
@@ -97,14 +102,15 @@
set qt_qmake_spec_arch ${qt_qmake_spec_64}
}
- exec \
- "${sdktool}" \
- addKit \
- --id qt.5.macports_${arch}_kit \
- --name "Desktop Qt %{Qt:Version} from MacPorts ${arch}" \
- --devicetype Desktop \
- --qt qt.5.macports \
- --toolchain x86-macos-generic-mach_o-${toolchain_bit}bit \
+ exec \
+ "${sdktool}" \
+ addKit \
+ --id qt.5.macports_${arch}_kit \
+ --name "Desktop Qt %{Qt:Version} from MacPorts ${arch}" \
+ --toolchain x86-macos-generic-mach_o-${toolchain_bit}bit \
+ --qt qt.5.macports \
+ --debuggerengine 256 \
+ --devicetype Desktop \
--mkspec ${qt_qmake_spec_arch}
}
} else {
@@ -114,15 +120,16 @@
set toolchain_bit 64
}
- exec \
- "${sdktool}" \
- addKit \
- --id qt.5.macports_${build_arch}_kit \
- --name "Desktop Qt %{Qt:Version} from MacPorts ${build_arch}" \
- --devicetype Desktop \
- --qt qt.5.macports \
- --toolchain x86-macos-generic-mach_o-${toolchain_bit}bit \
- --mkspec ${qt_qmake_spec}
+ exec \
+ "${sdktool}" \
+ addKit \
+ --id qt.5.macports_${build_arch}_kit \
+ --name "Desktop Qt %{Qt:Version} from MacPorts ${build_arch}" \
+ --toolchain x86-macos-generic-mach_o-${toolchain_bit}bit \
+ --qt qt.5.macports \
+ --debuggerengine 256 \
+ --devicetype Desktop \
+ --mkspec ${qt_qmake_spec}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160614/387d6c4b/attachment.html>
More information about the macports-changes
mailing list