diff options
author | Donald Carr | 2016-02-18 15:58:09 -0800 |
---|---|---|
committer | Donald Carr | 2016-02-18 16:25:30 -0800 |
commit | eacad3660948a16f01470f2868c02c32620d79fb (patch) | |
tree | 84a420a00e21202c9bec7e53b3a6f42537046c5f | |
parent | 2889a6e8349a2c3817d588a0d6e1ebf6174b51a8 (diff) | |
download | aur-eacad3660948a16f01470f2868c02c32620d79fb.tar.gz |
Add wayland compositor support (prone to breakage) to options list
Change-Id: If92df70853502ce33b04006f998e976dc57959a6
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -20,6 +20,7 @@ _skip_web_engine=true _static_build=false _build_from_head=false _local_qt5_repo="/opt/dev/src/qtproject/qt5" +_wayland_compositor=true pkgver=5.6.0 pkgrel=5 @@ -89,6 +90,10 @@ if $_build_from_head; then _device_configure_flags="$_device_configure_flags -skip qt3d -skip qtsystems -skip qttools -skip qtwebkit" fi +if $_wayland_compositor; then + _device_configure_flags="$_device_configure_flags -skip qtwayland" +fi + build() { local _srcdir="${srcdir}/${_source_package_name}" local _bindir="${_srcdir}-build" @@ -160,7 +165,6 @@ fi -no-xcb \ \ -skip qtscript \ - -skip qtwayland \ -skip qtquickcontrols2 \ \ -sysroot ${_sysroot} \ @@ -170,6 +174,7 @@ fi make || exit 1 +if $_wayland_compositor; then # regrettably required, as qtwayland barfs on shadow builds # as private header paths not included: no clue how to fix, bypassing @@ -177,6 +182,7 @@ fi cd "${_bindir}/qtwayland" ${_bindir}/qtbase/bin/qmake CONFIG+=wayland-compositor || exit 1 make || exit 1 +fi } create_install_script() @@ -206,9 +212,11 @@ package() { cd "${_bindir}" INSTALL_ROOT="$pkgdir" make install || exit 1 +if $_wayland_compositor; then # regrettably required cd "${_bindir}/qtwayland" INSTALL_ROOT="$pkgdir" make install || exit 1 +fi # Qt is now installed to $pkgdir/$sysroot/$prefix # manually generate/decompose host/target |