extra/qt6-doc to 6.2.0-1

This commit is contained in:
Kevin Mihelich 2021-10-01 13:05:46 +00:00
parent 18d65b5b4c
commit eae9dc3a92

View file

@ -7,28 +7,22 @@
pkgbase=qt6-doc
pkgname=(qt6-doc qt6-examples)
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=('any')
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
makedepends=(cmake mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs
makedepends=(cmake ninja mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs
gtk3 libpulse cups freetds vulkan-headers clang python llvm qt6-tools)
groups=(qt6)
_pkgfn="qt-everywhere-src-$_qtver"
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/single/$_pkgfn.tar.xz
qt6-doc-bindir.patch::https://code.qt.io/cgit/qt/qtbase.git/patch/?id=582fdf06)
sha256sums=('552342a81fa76967656b0301233b4b586d36967fad5cd110765347aebe07413c'
'7ab018729ae933f7f4ba0a4783f8f66277c681aa9dd7657ecdf011120b56bda1')
prepare() {
patch -d $_pkgfn/qtbase -p1 -i ../../qt6-doc-bindir.patch # Use installed tools
}
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/single/$_pkgfn.tar.xz)
sha256sums=('60c2dc0ee86dd338e5c5194bd95922abfc097841e3e855693dfb4f5aaf0db4db')
build() {
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(Core PRIVATE atomic)" >> ${_pkgfn}/qtbase/src/corelib/CMakeLists.txt
cmake -B build -S $_pkgfn \
cmake -B build -S $_pkgfn -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQT_HOST_PATH=/usr \
-DINSTALL_BINDIR=lib/qt6/bin \