Skip to content
Snippets Groups Projects
Commit 7d9d2dc3 authored by jean-michel's avatar jean-michel
Browse files

qt5-base-5.13.1-3

parent a2866ab3
No related branches found
No related tags found
No related merge requests found
...@@ -10,23 +10,23 @@ ...@@ -10,23 +10,23 @@
pkgbase=qt5-base pkgbase=qt5-base
pkgname=(qt5-base qt5-xcb-private-headers) pkgname=(qt5-base qt5-xcb-private-headers)
_qtver=5.13.0 _qtver=5.13.1
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=8 pkgrel=3
arch=('x86_64') arch=('x86_64')
url="https://www.qt.io" url="https://www.qt.io"
license=('GPL3' 'LGPL3' 'FDL' 'custom') license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc="A cross-platform application and UI framework" pkgdesc="A cross-platform application and UI framework"
_pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}" _pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}"
source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz" source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
qtbase-qxcbwindow.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/?id=0c183117" 'qtbug-77364.patch')
qtbase-zlib-compression.patch::"https://code.qt.io/cgit/qt/qtbase.git/patch/?id=cbdc9a77"
virtualbox-focus.patch)
conflicts=( conflicts=(
'qtchooser') 'qtchooser')
groups=( groups=(
'qt' 'qt'
'qt5') 'qt5')
depends=( depends=(
'libjpeg-turbo' 'libjpeg-turbo'
'xcb-util-keysyms' 'xcb-util-keysyms'
...@@ -47,6 +47,7 @@ depends=( ...@@ -47,6 +47,7 @@ depends=(
'libproxy' 'libproxy'
'libcups' 'libcups'
'double-conversion') 'double-conversion')
makedepends=( makedepends=(
'libfbclient' 'libfbclient'
'mariadb-libs' 'mariadb-libs'
...@@ -60,6 +61,7 @@ makedepends=( ...@@ -60,6 +61,7 @@ makedepends=(
'cups' 'cups'
'freetds' 'freetds'
'vulkan-headers') 'vulkan-headers')
optdepends=( optdepends=(
'qt5-svg: to use SVG icon themes' 'qt5-svg: to use SVG icon themes'
'qt5-translations: for some native UI translations' 'qt5-translations: for some native UI translations'
...@@ -81,9 +83,7 @@ prepare() { ...@@ -81,9 +83,7 @@ prepare() {
sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \ sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
mkspecs/common/g++-unix.conf mkspecs/common/g++-unix.conf
patch -p1 -i ../qtbase-qxcbwindow.patch # Fix NVIDIA freeze patch -p1 -i ../qtbug-77364.patch # Fix keyboard input in webengine
patch -p1 -i ../qtbase-zlib-compression.patch # Change the default compression back to zlib for backwards compatibility
patch -p1 -i ../virtualbox-focus.patch # Fix virtualbox constantly stealing focus https://bugreports.qt.io/browse/QTBUG-76742
} }
build() { build() {
...@@ -125,15 +125,15 @@ package_qt5-base() { ...@@ -125,15 +125,15 @@ package_qt5-base() {
## Drop QMAKE_PRL_BUILD_DIR because reference the build dir ## Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "${pkgdir}/usr/lib" -type f -name '*.prl' \ find "${pkgdir}/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
## Fix wrong qmake path in pri file ## Fix wrong qmake path in pri file
sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \ sed -i "s|${srcdir}/${_pkgfqn}|/usr|" \
"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri "${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
## Symlinks for backwards compatibility ## Symlinks for backwards compatibility
for b in "${pkgdir}"/usr/bin/*; do for b in "${pkgdir}"/usr/bin/*; do
ln -s $(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5 ln -s $(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
done done
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment