diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-10-23 13:31:48 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-23 14:25:41 -0300 |
commit | 96cfff53ce3593d17945f3285fd72e11f36f2011 (patch) | |
tree | 54525af7b0e581d607d20dfe237fc4862e359a24 | |
parent | 21e2bba8d1b15ecbc1d3fb9973aaf0ddaa428e07 (diff) |
community/qt5-qtdeclarative: use python3 during build
-rw-r--r-- | community/qt5-qtdeclarative/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/community/qt5-qtdeclarative/APKBUILD b/community/qt5-qtdeclarative/APKBUILD index 47600b819a7..da63a24b74b 100644 --- a/community/qt5-qtdeclarative/APKBUILD +++ b/community/qt5-qtdeclarative/APKBUILD @@ -12,7 +12,7 @@ pkgdesc="Qt5 - QtDeclarative component" url="http://qt-project.org/" arch="all" license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions" -makedepends="qt5-qtbase-dev python" +makedepends="qt5-qtbase-dev python3" subpackages="$pkgname-dev" case $pkgver in @@ -27,17 +27,18 @@ _qt5_prefix=/usr/lib/qt5 builddir="$srcdir"/$_pkgname-${_V%-*} build() { - cd "$builddir" + # HACK so calls to "python" get what we want + ln -s /usr/bin/python3 python + export PATH="$(pwd):$PATH" + qmake-qt5 && make } check() { - cd "$builddir" make check } package() { - cd "$builddir" make install INSTALL_ROOT="$pkgdir" mkdir -p "$pkgdir"/usr/bin/ |