Skip to content

Commit

Permalink
extra/qt to 4.7.4-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Mihelich committed Sep 3, 2011
1 parent 14e855d commit f9e0348
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 90 deletions.
52 changes: 24 additions & 28 deletions extra/qt/PKGBUILD
@@ -1,4 +1,4 @@
# $Id: PKGBUILD 126981 2011-06-09 07:23:06Z andrea $
# $Id: PKGBUILD 136831 2011-09-01 23:43:27Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

Expand All @@ -7,13 +7,14 @@
# - disabled distcc, ccache - bad things happen
# - don't use -no-neon on armv7
# - make -j1 for v5, -j2 for v7 (pandaboard builder)
# - added -fno-strict-volatile-bitfields to CXXFLAGS to fix ARM bug

plugrel=1

pkgbase=qt
pkgname=('qt' 'qt-private-headers')
pkgver=4.7.3
pkgrel=3
pkgver=4.7.4
pkgrel=1
arch=('i686' 'x86_64')
url='http://qt.nokia.com/'
license=('GPL3' 'LGPL')
Expand All @@ -25,14 +26,12 @@ options=('!libtool' '!distcc' '!ccache')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("ftp://ftp.qt.nokia.com/qt/source/${_pkgfqn}.tar.gz"
'assistant.desktop' 'designer.desktop' 'linguist.desktop'
'qtconfig.desktop'
'qtbug-16292.patch')
md5sums=('49b96eefb1224cc529af6fe5608654fe'
'qtconfig.desktop')
md5sums=('ddf7d83f912cf1283aa066368464fa22'
'fc211414130ab2764132e7370f8e5caa'
'85179f5e0437514f8639957e1d8baf62'
'f11852b97583610f3dbb669ebc3e21bc'
'6b771c8a81dd90b45e8a79afa0e5bbfd'
'dc7ed8c2e8c68a175f7f05a34dccc937')
'6b771c8a81dd90b45e8a79afa0e5bbfd')

build() {
unset QMAKESPEC
Expand All @@ -41,24 +40,21 @@ build() {
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}

# FS#24601
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -fno-strict-volatile-bitfields"

cd $srcdir/$_pkgfqn

# Already fixed upstream
patch -p1 -i "${srcdir}"/qtbug-16292.patch

sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf
sed -i "/^QMAKE_RPATH/s| -Wl,-rpath,||g" mkspecs/common/g++.conf
sed -i "/^QMAKE_LFLAGS\s/s|+=|+= $LDFLAGS|g" mkspecs/common/g++.conf

if [ "${CARCH}" = "armv7h" ]; then
useneon=""
mymakeflags="-j2"
else
useneon="-no-neon"
mymakeflags="-j1"
fi
if [ "${CARCH}" = "armv7h" ]; then
useneon=""
mymakeflags="-j2"
else
useneon="-no-neon"
mymakeflags="-j1"
fi

./configure -confirm-license -opensource \
-prefix /usr \
Expand Down Expand Up @@ -99,15 +95,15 @@ build() {
-opengl \
-no-openvg \
-glib \
-no-mmx \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-sse3 \
-no-ssse3 \
-no-sse4.1 \
-no-sse4.2 \
-no-avx ${useneon}
-no-mmx \
-no-3dnow \
-no-sse \
-no-sse2 \
-no-sse3 \
-no-ssse3 \
-no-sse4.1 \
-no-sse4.2 \
-no-avx ${useneon}
make ${mymakeflags}
}

Expand Down
62 changes: 0 additions & 62 deletions extra/qt/qtbug-16292.patch

This file was deleted.

0 comments on commit f9e0348

Please sign in to comment.