qtcreator: update to 10.0.2.
replace -full subpackage with -qt5, add -qt6 subpackage
This commit is contained in:
parent
d4c5948d72
commit
3d94af6033
|
@ -0,0 +1 @@
|
|||
qtcreator
|
|
@ -0,0 +1 @@
|
|||
qtcreator
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'qtcreator'
|
||||
pkgname=qtcreator
|
||||
version=9.0.1
|
||||
revision=2
|
||||
version=10.0.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="$(vopt_bool qbs BUILD_QBS) -DWITH_DOCS=ON -DBUILD_WITH_PCH=OFF
|
||||
-DQT_HOST_PATH=/usr/ -DQT_HOST_PATH_CMAKE_DIR=/usr/lib64/cmake/Qt6"
|
||||
hostmakedepends="clang llvm perl pkg-config python3 which
|
||||
qt6-base-devel qt6-tools qtchooser qt6-shadertools-devel"
|
||||
qt6-base-devel qt6-tools qtchooser qt6-shadertools-devel qt6-declarative-tools"
|
||||
makedepends="qt6-declarative-devel
|
||||
qt6-quick3d-devel qt6-svg-devel qt6-plugin-odbc qt6-plugin-sqlite
|
||||
qt6-plugin-pgsql qt6-plugin-mysql qt6-qt5compat-devel
|
||||
|
@ -19,7 +19,7 @@ license="LGPL-3.0-or-later, custom:QtCompany-GPL-Exception-1.0"
|
|||
homepage="https://wiki.qt.io/Category:Tools::QtCreator"
|
||||
changelog="https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changelog/changes-${version}.md"
|
||||
distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/qt-creator-opensource-src-${version}.tar.xz"
|
||||
checksum=4e4e881b2635bac07e785c9e889ab9a253ad47a00074e260cbccdb3c0aef189f
|
||||
checksum=da7fc5e7dc1a80c71c09e245b7d2711eb01ba575e2f99110d04a7ce799926d4e
|
||||
replaces="qtcreator-data>=0"
|
||||
python_version=3
|
||||
|
||||
|
@ -40,6 +40,12 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|||
CXXFLAGS+=" -latomic "
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
if [ "$XBPS_CROSS_BUILD" ]; then
|
||||
ln -sf /usr/lib/qt6/libexec/qmltyperegistrar ${XBPS_CROSS_BASE}/usr/lib/qt6/libexec/qmltyperegistrar
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Install the license with the annotation for
|
||||
# the Qt Company GPL Exception 1.0
|
||||
|
@ -47,6 +53,12 @@ post_install() {
|
|||
}
|
||||
|
||||
qtcreator-full_package() {
|
||||
short_desc+=" - full Qt5 dependencies (transitional dummy package)"
|
||||
depends="qtcreator-qt5>=${version}_${revision}"
|
||||
build_style=meta
|
||||
}
|
||||
|
||||
qtcreator-qt5_package() {
|
||||
short_desc+=" - full Qt5 dependencies"
|
||||
depends="${sourcepkg}>=${version}_${revision} base-devel
|
||||
qt5-3d-devel qt5-charts-devel qt5-connectivity-devel qt5-datavis3d-devel
|
||||
|
@ -69,7 +81,25 @@ qtcreator-full_package() {
|
|||
esac
|
||||
fi
|
||||
build_style=meta
|
||||
pkg_install() {
|
||||
echo "Just the dependencies"
|
||||
}
|
||||
}
|
||||
|
||||
qtcreator-qt6_package() {
|
||||
short_desc+=" - full Qt6 dependencies"
|
||||
depends="${sourcepkg}>=${version}_${revision} base-devel
|
||||
qt6-3d-devel qt6-charts-devel qt6-concurrent qt6-connectivity-devel
|
||||
qt6-declarative-devel qt6-location-devel qt6-lottie-devel qt6-multimedia-devel
|
||||
qt6-networkauth-devel qt6-qt5compat-devel qt6-remoteobjects-devel qt6-scxml-devel
|
||||
qt6-sensors-devel qt6-serialport-devel qt6-shadertools-devel qt6-svg-devel
|
||||
qt6-tools-devel qt6-virtualkeyboard-devel qt6-wayland-devel qt6-webchannel-devel
|
||||
qt6-websockets-devel qt6-tools qt6-designer qt6-imageformats qt6-translations
|
||||
qt6-plugin-mysql qt6-plugin-odbc qt6-plugin-pgsql qt6-plugin-sqlite qt6-base-doc"
|
||||
# Not for big endian targets and not if word sizes of host and target differ
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "le" -a "$XBPS_TARGET_WORDSIZE" = "$XBPS_WORDSIZE" ]; then
|
||||
# qt5-webengine cannot be built for armv5tel
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv5tel*) ;;
|
||||
*) depends+=" qt6-webengine-devel" ;;
|
||||
esac
|
||||
fi
|
||||
build_style=meta
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue