qt6-qtdoc: trying 6.8.2

This commit is contained in:
Raven 2025-03-15 12:59:49 +06:00
parent fd6d75b1dd
commit abdf36976b
2 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash -x
QT_BRANCH=6.8.0
QT_VERSION=6.8.0
QT_BRANCH=6.8.2
QT_VERSION=6.8.2
# Install fedora deps for qt6-qtbase, qt6-qttools
#sudo dnf builddep qt6-qtbase qt6-qttools qt6-qtwebengine -y
@ -21,6 +21,8 @@ git submodule foreach "git pull"
# Init the base source
./init-repository
#. /opt/rh/gcc-toolset-14/enable
# hard-code docdir for now, rpm --eval %{_qt6_docdir} yields unexpanded %{_docdir}/qt6 , wtf -- rex
./configure -confirm-license -opensource -prefix $(rpm --eval "%{_qt6_prefix}") \
-archdatadir $(rpm --eval "%{_qt6_archdatadir}") -bindir $(rpm --eval "%{_qt6_bindir}") \
@ -47,14 +49,14 @@ ln -s /usr/lib64/qt6/libexec/qhelpgenerator qtbase/lib64/qt6/libexec/qhelpgenera
# export QT_PLUGIN_PATH to get compiled qhelpgenerator to run
export QT_PLUGIN_PATH=/usr/lib64/qt6/plugins
cmake --build . --target docs
cmake --build . --target docs || exit 1
#cmake --build . --target qch_docs
# Install docs on tmp directory
DEST=${PWD}/install
rm -rf $DEST/ && mkdir -p ${DEST}
DESTDIR=$DEST cmake --build . --target install_docs -k
DESTDIR=$DEST cmake --build . --target install_docs -k || exit 1
XZ_OPT="-T 2"
tar -C $DEST -cJf ../qt-doc-opensource-src-${QT_VERSION}.tar.xz .

View File

@ -1,6 +1,6 @@
Name: qt6-doc
Summary: Qt6 - Complete documentation
Version: 6.8.1
Version: 6.8.2
Release: 1%{?dist}
BuildArch: noarch
@ -58,6 +58,9 @@ tar xf %{SOURCE0} -C %{buildroot}
%{_qt6_docdir}/*/*.tags
%changelog
* Sat Feb 15 2024 Raven <raven@sysadmins.ws> - 6.8.2-1
- 6.8.2
* Tue Dec 3 2024 Raven <raven@sysadmins.ws> - 6.8.1-1
- 6.8.1