summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-27 05:53:27 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-27 05:53:27 +0000
commitba521207a9b725d8764f7453214ffc8bb9bd166a (patch)
treee18b3845bbf5e3dbd88e3452953b70f8d0bc3cb5
parenta9c9eac9272a79b1271d6abf122596ec32357860 (diff)
downloadpackages-ba521207a9b725d8764f7453214ffc8bb9bd166a.tar.gz
packages-ba521207a9b725d8764f7453214ffc8bb9bd166a.tar.bz2
packages-ba521207a9b725d8764f7453214ffc8bb9bd166a.tar.xz
packages-ba521207a9b725d8764f7453214ffc8bb9bd166a.zip
user/qt-creator: new package
-rw-r--r--user/qt-creator/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/qt-creator/APKBUILD b/user/qt-creator/APKBUILD
new file mode 100644
index 000000000..84f7f2cb7
--- /dev/null
+++ b/user/qt-creator/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=qt-creator
+pkgver=4.7.2
+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 llvm6-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"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make install INSTALL_ROOT="$pkgdir"/usr
+}
+
+sha512sums="b7278a7882747acc9be0484e10426becd942746e9b7b9cea7d57e3af72c261c02431c8682e1f9d6e61c5884d5aa06e503716d22157e61d3787327c3c00a452bc qt-creator-opensource-src-4.7.2.tar.gz"