mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/qt5: cleanup, remove !distcc
This commit is contained in:
parent
a24805ca34
commit
5b93dd324a
1 changed files with 8 additions and 10 deletions
|
@ -4,9 +4,10 @@
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - removed libfbclient, ibase
|
# - removed libfbclient, ibase
|
||||||
# - no x86/neon optimizations
|
# - no x86/neon optimizations
|
||||||
# - disabled distcc, restricted makeflags to -j3
|
# - restricted makeflags to -j3
|
||||||
# - enabled opengl es2, mesa makedepend for headers
|
# - enabled opengl es2, mesa makedepend for headers
|
||||||
# - added Raspberry Pi patches for armv6h
|
# - added Raspberry Pi patches for armv6h
|
||||||
|
# - icu makedepend so qtwebkit can build
|
||||||
|
|
||||||
highmem=1
|
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'
|
'python2' 'ruby' 'gperf' 'libxslt' 'libxcomposite' 'fontconfig'
|
||||||
'libmng' 'openal' 'gtk2' 'mesa' 'libxkbcommon' 'icu')
|
'libmng' 'openal' 'gtk2' 'mesa' 'libxkbcommon' 'icu')
|
||||||
groups=('qt' 'qt5')
|
groups=('qt' 'qt5')
|
||||||
options=('!libtool' '!distcc')
|
options=('!libtool')
|
||||||
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
|
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
|
||||||
source=("http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz"
|
source=("http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz"
|
||||||
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop'
|
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop'
|
||||||
|
@ -61,7 +62,12 @@ prepare() {
|
||||||
|
|
||||||
MAKEFLAGS="-j3"
|
MAKEFLAGS="-j3"
|
||||||
|
|
||||||
|
# Raspberry Pi
|
||||||
if [ "$CARCH" == 'armv6h' ]; then
|
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"
|
export CXXFLAGS=${CXXFLAGS}" -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -74,14 +80,6 @@ prepare() {
|
||||||
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
|
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
|
||||||
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
|
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
|
||||||
$(find . -name '*.py')
|
$(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() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue