diff options
author | Donald Carr | 2017-09-22 02:15:40 -0700 |
---|---|---|
committer | Donald Carr | 2017-09-25 19:23:42 -0700 |
commit | 78bc00f80b15533dc8e4568a8dc0f22b2fcb826e (patch) | |
tree | 3932f0381d730f79dac398965454670d25da5b35 /PKGBUILD | |
parent | 722e1635e80abb987e6f10172f802b7182203470 (diff) | |
download | aur-78bc00f80b15533dc8e4568a8dc0f22b2fcb826e.tar.gz |
Specialize included platform for static targets
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 117 |
1 files changed, 60 insertions, 57 deletions
@@ -222,64 +222,67 @@ _arch_specific_configure_options="\ -no-rpath \ " -#-no-xcb \ -_exhaustive_static_specific_configure_options="\ - -no-direct2d \ - -no-directfb \ - -no-eglfs \ - -no-gbm \ - -no-kms \ - -no-linuxfb \ - -no-mirclient \ - -no-cups \ - -no-iconv \ - -no-accessibility \ - -no-gif \ - -skip qtconnectivity \ - -skip qtlocation \ - -skip qtremoteobjects \ - -skip qtsvg \ - -skip qtwebglplugin \ - -skip qt3d \ - -skip qtdatavis3d \ - -skip qtmacextras - -skip qtscript \ - -skip qttools \ - -skip qtwebsockets \ - -skip qtactiveqt - -skip qtmultimedia \ - -skip qtscxml \ - -skip qttranslations \ - -skip qtwebview \ - -skip qtandroidextras \ - -skip qtdoc \ - -skip qtnetworkauth \ - -skip qtsensors \ - -skip qtvirtualkeyboard \ - -skip qtwinextras \ - -skip qtgamepad \ - -skip qtpurchasing - -skip qtserialbus \ - -skip qtwayland \ - -skip qtx11extras \ - -skip qtcanvas3d \ - -skip qtgraphicaleffects \ - -skip qtquickcontrols \ - -skip qtserialport \ - -skip qtwebchannel \ - -skip qtcharts \ - -skip qtimageformats \ - -skip qtquickcontrols2 \ - -skip qtspeech \ - -skip qtwebengine \ - -no-sql-mysql \ - -no-sql-psql \ - -no-qml-debug \ - -no-tslib \ - -no-feature-bearermanagement \ -" - if $_static_build; then + if $_target_host; then + _additional_configure_flags="$_additional_configure_flags -no-eglfs" + else + _additional_configure_flags="$_additional_configure_flags -no-xcb" + fi + _exhaustive_static_specific_configure_options="\ + -no-direct2d \ + -no-directfb \ + -no-gbm \ + -no-kms \ + -no-linuxfb \ + -no-mirclient \ + -no-cups \ + -no-iconv \ + -no-accessibility \ + -no-gif \ + -skip qtconnectivity \ + -skip qtlocation \ + -skip qtremoteobjects \ + -skip qtsvg \ + -skip qtwebglplugin \ + -skip qt3d \ + -skip qtdatavis3d \ + -skip qtmacextras + -skip qtscript \ + -skip qttools \ + -skip qtwebsockets \ + -skip qtactiveqt + -skip qtmultimedia \ + -skip qtscxml \ + -skip qttranslations \ + -skip qtwebview \ + -skip qtandroidextras \ + -skip qtdoc \ + -skip qtnetworkauth \ + -skip qtsensors \ + -skip qtvirtualkeyboard \ + -skip qtwinextras \ + -skip qtgamepad \ + -skip qtpurchasing + -skip qtserialbus \ + -skip qtwayland \ + -skip qtx11extras \ + -skip qtcanvas3d \ + -skip qtgraphicaleffects \ + -skip qtquickcontrols \ + -skip qtserialport \ + -skip qtwebchannel \ + -skip qtcharts \ + -skip qtimageformats \ + -skip qtquickcontrols2 \ + -skip qtspeech \ + -skip qtwebengine \ + -no-sql-mysql \ + -no-sql-psql \ + -no-qml-debug \ + -no-tslib \ + -no-feature-bearermanagement \ + " + _additional_configure_flags="$_additional_configure_flags $_exhaustive_static_specific_configure_options" fi |