diff --git a/extra/qt5/PKGBUILD b/extra/qt5/PKGBUILD index b67f87a1b..9c472a81f 100644 --- a/extra/qt5/PKGBUILD +++ b/extra/qt5/PKGBUILD @@ -4,9 +4,10 @@ # ALARM: Kevin Mihelich # - removed libfbclient, ibase # - no x86/neon optimizations -# - disabled distcc, restricted makeflags to -j3 +# - restricted makeflags to -j3 # - enabled opengl es2, mesa makedepend for headers # - added Raspberry Pi patches for armv6h +# - icu makedepend so qtwebkit can build highmem=1 @@ -40,7 +41,7 @@ makedepends=('libxcb' 'xcb-proto' 'xcb-util' 'xcb-util-image' 'xcb-util-wm' 'xcb 'python2' 'ruby' 'gperf' 'libxslt' 'libxcomposite' 'fontconfig' 'libmng' 'openal' 'gtk2' 'mesa' 'libxkbcommon' 'icu') groups=('qt' 'qt5') -options=('!libtool' '!distcc') +options=('!libtool') _pkgfqn="qt-everywhere-opensource-src-${pkgver}" source=("http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz" 'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop' @@ -61,7 +62,12 @@ prepare() { MAKEFLAGS="-j3" + # Raspberry Pi if [ "$CARCH" == 'armv6h' ]; then + patch -p1 -i "${srcdir}"/deppath_gnu.patch + patch -p1 -i "${srcdir}"/rpi.patch + patch -p1 -i "${srcdir}"/undef_B0.patch + rbp_config="-device linux-rasp-pi-g++ -eglfs" export CXXFLAGS=${CXXFLAGS}" -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" fi @@ -74,14 +80,6 @@ prepare() { sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ $(find . -name '*.py') - - # Raspberry Pi - if [ "$CARCH" == 'armv6h' ]; then - patch -p1 -i "${srcdir}"/deppath_gnu.patch - patch -p1 -i "${srcdir}"/rpi.patch - patch -p1 -i "${srcdir}"/undef_B0.patch - rbp_config="-device linux-rasp-pi-g++ -eglfs" - fi } build() {