summaryrefslogblamecommitdiff
path: root/user/qt-creator/APKBUILD
blob: 4c1cac4fd198d0c1d7abb0562ea136f78b252b8e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                  
             
        






                                                                      
                                                                    






                                                                                                                         

                                                                                                                              
            


           


                                               
                                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt-creator
pkgver=4.12.3
pkgrel=0
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() {
	export LLVM_INSTALL_DIR=/usr
	qmake -r "QMAKE_CFLAGS += $CFLAGS" "QMAKE_CXXFLAGS += $CXXFLAGS" "QMAKE_LFLAGS += $LDFLAGS" "QMAKE_LIBS += -lexecinfo"
	make
}

package() {
	make install INSTALL_ROOT="$pkgdir"/usr
}

sha512sums="57266aaf97af260d0e24032902e74c8f182ac112e9e81bd20a33dc94940a2a9c17aab4a3d6af0f8d62c0b8f0ef781c574227ea46acab4af0e39f0139e2835fa5  qt-creator-opensource-src-4.12.3.tar.gz"