diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -43,13 +43,17 @@ if [[ -z ${startdir} ]]; then _building=false; fi +if [[ -f target-host ]]; then + _target_host=true + _minimal=false +fi + if [[ -f full-build ]]; then _minimal=false - _debug=false fi # Sanity check options -if $_building; then +if $_building && ! $_target_host; then if [[ -z $_piver ]] && [[ -n $LOCAL_PI_VER ]]; then _piver=$LOCAL_PI_VER; fi _sysroot=/mnt/pi${_piver} if [[ -z "${_piver}" ]]; then @@ -63,10 +67,6 @@ if $_building; then fi fi -if [[ $_piver = "" ]]; then - _target_host=true -fi - # vars _local_qt5_repo="/opt/dev/src/qtproject/qt5" _pkgvermajmin="5.9" @@ -118,16 +118,12 @@ fi if [[ -z "${_dev_suffix}" ]]; then _release_type="official_releases"; fi $_build_from_head && _patching=false && _shadow_build=true -$_skip_web_engine && _additional_configure_flags="$_additional_configure_flags -skip qtwebengine" +$_skip_web_engine && _additional_configure_flags="$_additional_configure_flags -skip qtwebengine -no-icu" $_skip_qt_script && _additional_configure_flags="$_additional_configure_flags -skip qtscript" $_skip_qt_widgets && _additional_configure_flags="$_additional_configure_flags -no-widgets" $_static_build && _additional_configure_flags="$_additional_configure_flags -static" $_float && _additional_configure_flags="$_additional_configure_flags -qreal float" -if $_skip_web_engine; then - _additional_configure_flags="$_additional_configure_flags -no-icu" -fi - # PKGBUILD vars install=qpi.install |