mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/qt4 to 4.8.7-23
This commit is contained in:
parent
8cf5204fdc
commit
5943e24184
1 changed files with 5 additions and 3 deletions
|
@ -12,8 +12,8 @@
|
||||||
|
|
||||||
pkgname=qt4
|
pkgname=qt4
|
||||||
pkgver=4.8.7
|
pkgver=4.8.7
|
||||||
pkgrel=22
|
pkgrel=23
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
url='http://qt-project.org/'
|
url='http://qt-project.org/'
|
||||||
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
||||||
pkgdesc='A cross-platform application and UI framework'
|
pkgdesc='A cross-platform application and UI framework'
|
||||||
|
@ -116,12 +116,14 @@ prepare() {
|
||||||
|
|
||||||
# Fix build with OpenSSL 1.1 (Debian + OpenMandriva)
|
# Fix build with OpenSSL 1.1 (Debian + OpenMandriva)
|
||||||
patch -p1 -i "$srcdir"/qt4-openssl-1.1.patch
|
patch -p1 -i "$srcdir"/qt4-openssl-1.1.patch
|
||||||
|
|
||||||
|
echo "QMAKE_CXXFLAGS += -std=gnu++98" >> src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri
|
||||||
|
echo "QMAKE_CXXFLAGS += -std=gnu++98" >> src/plugins/accessible/qaccessiblebase.pri
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export QT4DIR="${srcdir}"/${_pkgfqn}
|
export QT4DIR="${srcdir}"/${_pkgfqn}
|
||||||
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
|
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
|
||||||
export CXXFLAGS+=" -std=gnu++98" # Fix build with GCC 6
|
|
||||||
|
|
||||||
cd ${_pkgfqn}
|
cd ${_pkgfqn}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue