blob: 1c6203fafc8d3a3921ea55330fad9bece0e25beb (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt-creator
pkgver=4.8.2
pkgrel=1
pkgdesc="Cross-platform multi-language programming IDE"
url="https://doc.qt.io/qtcreator/index.html"
arch="all"
options="!check" # No test suite.
license="LGPL-2.0 WITH Qt-LGPL-exception-1.1"
depends="qt5-qtquickcontrols"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtserialport-dev
qt5-qtscript-dev qt5-qttools-dev clang-dev llvm8-dev python3
libexecinfo-dev"
subpackages="$pkgname-dev"
source="https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.gz"
ldpath="/usr/lib/qtcreator"
builddir="$srcdir/$pkgname-opensource-src-$pkgver"
build() {
cd "$builddir"
export LLVM_INSTALL_DIR=/usr
qmake -r "QMAKE_CFLAGS += $CFLAGS" "QMAKE_CXXFLAGS += $CXXFLAGS" "QMAKE_LFLAGS += $LDFLAGS" "QMAKE_LIBS += -lexecinfo"
ln -s /usr/bin/python3 "$srcdir"/python
PATH="$PATH:$srcdir" make
rm "$srcdir"/python
}
package() {
cd "$builddir"
make install INSTALL_ROOT="$pkgdir"/usr
}
sha512sums="dfaa620caa0f92adc095c661b9e1688d4e42b8fab2520d14a2b524f14af376d61683519e5dc50165dd7e47d98c55cf47890ca712c71b83a5a13aa3c9a6f9505e qt-creator-opensource-src-4.8.2.tar.gz"
|