diff options
author | Donald Carr | 2016-09-13 00:34:15 -0700 |
---|---|---|
committer | Donald Carr | 2016-09-13 00:34:15 -0700 |
commit | b143dfeff58334c0674a3717fddddbf023573f72 (patch) | |
tree | 55d84adbbea0804e4ab7d60a7017baec813ca6eb | |
parent | 0652acb6b9fa196fdd453f52871e7a38d7910ba7 (diff) | |
download | aur-b143dfeff58334c0674a3717fddddbf023573f72.tar.gz |
Articulate all 3 toolchains
Change-Id: I700f2f4326d6cfc5faa3e2bca30e8f7416d119b8
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -53,8 +53,6 @@ fi # vars _local_qt5_repo="/opt/dev/src/qtproject/qt5" -_toolchain_name=armv7-rpi2-linux-gnueabihf -_toolchain_pkg_prefix=qpi _pkgvermajmin="5.8" _pkgverpatch=".0" # -{alpha/beta/rc} @@ -70,12 +68,20 @@ _profiled_gpu_fn=qpi-proprietary.sh __eglpkgconfigpath="${__pkgconfigpath}/egl.pc" __glespkgconfigpath="${__pkgconfigpath}/glesv2.pc" -if [[ "${_piver}" = "3" ]]; then - _toolchain_name=aarch64-rpi3-linux-gnueabi - _toolchain_pkg_prefix=${_toolchain_pkg_prefix}-aarch64 - _use_mesa=true - _float=false -fi +case ${_piver} in +1) + _toolchain_name=armv6-rpi-linux-gnueabihf + _skip_web_engine=true +;; +2) + _toolchain_name=armv7-rpi2-linux-gnueabihf +;; +3) + _toolchain_name=aarch64-rpi3-linux-gnueabi + _use_mesa=true + _float=false +;; +esac if [[ -z "${_dev_suffix}" ]]; then _release_type="official_releases"; fi if [[ -f testing ]]; then _skip_web_engine=true; fi @@ -110,7 +116,7 @@ pkgdesc="Qt SDK for the Raspberry Pi 1/2/3" arch=("x86_64") url="http://www.qt.io" license=("LGPL3" "GPL3") -depends=("${_toolchain_pkg_prefix}-toolchain" "qtcreator") +depends=("qpi${_piver}-toolchain" "qtcreator") makedepends=("git" "pkgconfig" "gcc") _provider=http://qt.mirror.constant.com/ #_provider=https://download.qt.io |