Skip to content

Commit

Permalink
qtcreator: update to 7.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocimier committed Mar 29, 2022
1 parent 0b0ad90 commit 795ada3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 55 deletions.
39 changes: 0 additions & 39 deletions srcpkgs/qtcreator/patches/QTCREATORBUG-26910.diff

This file was deleted.

23 changes: 7 additions & 16 deletions srcpkgs/qtcreator/template
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
# Template file for 'qtcreator'
pkgname=qtcreator
version=6.0.2
version=7.0.0
revision=1
wrksrc="qt-creator-opensource-src-${version}"
build_style=qmake
make_install_args="INSTALL_ROOT=\${DESTDIR}/usr"
build_style=cmake
hostmakedepends="clang llvm perl pkg-config python3 which qt5-qmake
qt5-host-tools"
qt5-host-tools qt5-tools"
makedepends="qt5-declarative-devel qt5-script-devel qt5-tools-devel
qt5-quickcontrols qt5-svg-devel clang llvm"
qt5-quickcontrols qt5-svg-devel qt5-plugin-odbc qt5-plugin-sqlite
qt5-plugin-tds qt5-plugin-pgsql qt5-plugin-mysql
clang llvm clang-tools-extra"
depends="qt5-declarative-devel qt5-quickcontrols qt5-plugin-sqlite"
short_desc="Cross-platform IDE for Qt developers"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
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/changes-${version}.md"
distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/${wrksrc}.tar.xz"
checksum=3d173c1a02ce55137a23f294e1a840d7648656e97826067eb29d9df653351bfa
checksum=d39a05e48bb961cfab61135a5ee5503fc4d381c74000b910f36bf0cea37736d9
replaces="qtcreator-data>=0"
python_version=3

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
fi

pre_configure() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
vsed -i src/plugins/qmldesigner/qmldesignerplugin.pro \
src/plugins/clangformat/clangformat.pro \
-e "/LIBS += /aLIBS += -L${XBPS_CROSS_BASE}/usr/lib -lexecinfo"
vsed -i src/plugins/debugger/debugger.pro \
-e "/RESOURCES += /aLIBS += -L${XBPS_CROSS_BASE}/usr/lib -lexecinfo"
fi
}

post_install() {
# Install the license with the annotation for
# the Qt Company GPL Exception 1.0
Expand Down

0 comments on commit 795ada3

Please sign in to comment.