mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-08 09:21:30 +01:00
62 lines
1.9 KiB
Plaintext
62 lines
1.9 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Alexey Minnekhanov <alexeymin@postmarketos.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=qt-creator
|
|
pkgver=4.15.2
|
|
pkgrel=0
|
|
pkgdesc="Lightweight and cross-platform C++ IDE"
|
|
url="https://qt-project.org/wiki/Category:Tools::QtCreator"
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
|
license="GPL-3.0-only WITH Qt-GPL-exception-1.0"
|
|
depends="
|
|
qt5-qtbase-sqlite
|
|
qt5-qtquickcontrols
|
|
qt5-qtquickcontrols2
|
|
qt5-qtbase-dev
|
|
qt5-qttools-dev
|
|
"
|
|
makedepends="
|
|
botan-dev
|
|
clang-dev
|
|
clang-static
|
|
cmake
|
|
elfutils-dev
|
|
llvm11-dev
|
|
llvm11-static
|
|
qt5-qtdeclarative-dev
|
|
qt5-qtscript-dev
|
|
qt5-qtsvg-dev
|
|
qt5-qtquickcontrols2-dev
|
|
syntax-highlighting-dev
|
|
"
|
|
ldpath="/usr/lib/qtcreator:/usr/lib/qtcreator/plugins"
|
|
source="
|
|
https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz
|
|
fix-execinfo.patch
|
|
fix-malloc-trim.patch
|
|
"
|
|
|
|
builddir="$srcdir"/qt-creator-opensource-src-$pkgver
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
|
-DBUILD_PLUGIN_CLANGFORMAT=OFF
|
|
# Note: -DBUILD_PLUGIN_CLANGFORMAT=OFF: incompatible llvm/clang? without this:
|
|
# /usr/include/clang/Basic/LLVM.h:21:10: fatal error: llvm/Support/Casting.h: No such file or directory
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
b29d5d97a1faa8d5756069d90c18d6d367e09057b97bd75c774bc2d1e373f9f4dcc24211188259f8d397bb932a65daaacda433bced796fd165654f5c3c621258 qt-creator-opensource-src-4.15.2.tar.xz
|
|
2265351131763da0454d08d72e0370ed70901c333a56eb566c5463c04fa8c2d2577b539fc7d0b1e0ad1b0229de9b343a1b610f59c4c41d13beb786bfbe213f62 fix-execinfo.patch
|
|
009efcc9532ad3d8a26b9b44f31e6a8f82c87359aca5ff1943caed8b9fc53cdee81a8256b082602804435410bf8c4df795c06993a49ef42a5910b5c34057aee9 fix-malloc-trim.patch
|
|
"
|