mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/qt5-doc to 5.15.2-2
This commit is contained in:
parent
ede431b571
commit
d5153d59ac
1 changed files with 14 additions and 6 deletions
|
@ -9,16 +9,22 @@ pkgbase=qt5-doc
|
||||||
pkgname=(qt5-doc qt5-examples)
|
pkgname=(qt5-doc qt5-examples)
|
||||||
_qtver=5.15.2
|
_qtver=5.15.2
|
||||||
pkgver=${_qtver/-/}
|
pkgver=${_qtver/-/}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://www.qt.io'
|
url='https://www.qt.io'
|
||||||
license=('GPL3' 'LGPL3' 'FDL' 'custom')
|
license=('GPL3' 'LGPL3' 'FDL' 'custom')
|
||||||
makedepends=('qt5-tools' 'python2' 'python' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite'
|
makedepends=('qt5-tools' 'python' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite'
|
||||||
'gperf' 'nss' 'clang')
|
'gperf' 'nss' 'clang')
|
||||||
groups=('qt' 'qt5')
|
groups=('qt' 'qt5')
|
||||||
_pkgfqn="qt-everywhere-src-${_qtver}"
|
_pkgfqn="qt-everywhere-src-${_qtver}"
|
||||||
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
|
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz"
|
||||||
sha256sums=('3a530d1b243b5dec00bc54937455471aaa3e56849d2593edb8ded07228202240')
|
https://invent.kde.org/qt/qt/qtbase/-/commit/8252ef5f.patch
|
||||||
|
https://invent.kde.org/qt/qt/qtbase/-/commit/cb2da673.patch
|
||||||
|
qt5-webengine-python3.patch)
|
||||||
|
sha256sums=('3a530d1b243b5dec00bc54937455471aaa3e56849d2593edb8ded07228202240'
|
||||||
|
'8ab742b991ed5c43e8da4b1ce1982fd38fe611aaac3d57ee37728b59932b518a'
|
||||||
|
'33304570431c0dd3becc22f3f0911ccfc781a1ce6c7926c3acb08278cd2e60c3'
|
||||||
|
'54de45621463a7c07f87482fbcbb9eacbc60d840bb69b34bc6c776d1df720453')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd ${_pkgfqn}
|
cd ${_pkgfqn}
|
||||||
|
@ -26,14 +32,16 @@ prepare() {
|
||||||
ln -s /usr/bin qttools/
|
ln -s /usr/bin qttools/
|
||||||
ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
|
ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
|
||||||
|
|
||||||
sed -e 's|QMAKE_PYTHON2 = python|QMAKE_PYTHON2 = python2|' -i qtwebengine/mkspecs/features/functions.prf # Use python2
|
patch -d qtbase -p1 < "$srcdir"/8252ef5f.patch # Fix build with GCC 11
|
||||||
|
patch -d qtbase -p1 < "$srcdir"/cb2da673.patch
|
||||||
|
patch -d qtwebengine -p1 < "$srcdir"/qt5-webengine-python3.patch # Fix build with Python 3
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${_pkgfqn}
|
cd ${_pkgfqn}
|
||||||
|
|
||||||
[[ $CARCH == "arm" ]] && CONFIG="-skip qtwebengine"
|
[[ $CARCH == "arm" ]] && CONFIG="-skip qtwebengine"
|
||||||
QMAKE_PYTHON2=python2 ./configure -confirm-license -opensource \
|
./configure -confirm-license -opensource \
|
||||||
-prefix /usr \
|
-prefix /usr \
|
||||||
-docdir /usr/share/doc/qt \
|
-docdir /usr/share/doc/qt \
|
||||||
-headerdir /usr/include/qt \
|
-headerdir /usr/include/qt \
|
||||||
|
|
Loading…
Reference in a new issue