extra/qt5-base to 5.10.0-4

This commit is contained in:
Kevin Mihelich 2018-02-03 20:28:20 +00:00
parent 3fdc76f59e
commit 19912e0239
3 changed files with 7 additions and 14 deletions

View file

@ -11,7 +11,7 @@ pkgbase=qt5-base
pkgname=(qt5-base qt5-xcb-private-headers)
_qtver=5.10.0
pkgver=${_qtver/-/}
pkgrel=3.1
pkgrel=4
arch=('x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
@ -32,9 +32,11 @@ conflicts=('qtchooser')
groups=('qt' 'qt5')
_pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
qtbug-65235.patch::"https://github.com/qt/qtbase/commit/79d78d81.patch")
qtbug-65235.patch::"https://github.com/qt/qtbase/commit/79d78d81.patch"
qtbug-59261.patch::"https://github.com/qt/qtbase/commit/d1960360.patch")
sha256sums=('fd5578cd320a13617c12cf2b19439386b203d6d45548e855f94e07be9829f762'
'32d71a129adad13fc90e2ec9b15d0a21d9dd3f02bd8094882b18e4451d39ffe7')
'32d71a129adad13fc90e2ec9b15d0a21d9dd3f02bd8094882b18e4451d39ffe7'
'91c89eb302316c32cbe5018ac92d8fcd96201eed3e6e11cb40f410f45cb17138')
prepare() {
cd ${_pkgfqn}
@ -54,6 +56,7 @@ prepare() {
sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' -i mkspecs/features/create_cmake.prf
patch -p1 -i ../qtbug-65235.patch # https://bugreports.qt.io/browse/QTBUG-65235
patch -p1 -i ../qtbug-59261.patch # https://bugreports.qt.io/browse/QTBUG-59261
}
build() {

View file

@ -1,11 +0,0 @@
--- qtbase-everywhere-src-5.10.0-beta4/src/corelib/io/qfilesystemengine_unix.cpp.orig 2017-11-14 12:10:28.156094557 +0000
+++ qtbase-everywhere-src-5.10.0-beta4/src/corelib/io/qfilesystemengine_unix.cpp 2017-11-14 12:10:46.156136206 +0000
@@ -95,7 +95,7 @@
{ return syscall(SYS_renameat2, oldfd, oldpath, newfd, newpath, flags); }
# endif
-# if !QT_CONFIG(statx) && defined(SYS_statx) && QT_HAS_INCLUDE(<linux/stat.h>)
+# if 0
# include <linux/stat.h>
static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf)
{ return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); }

View file

@ -3,6 +3,7 @@ calibre
gcin
kwin
lxqt-qtplugin
plasma-framework
plasma-integration
qqc2-desktop-style
qt5ct