[arch-commits] Commit in qt6-doc/repos/extra-any (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Mar 3 14:40:16 UTC 2021
Date: Wednesday, March 3, 2021 @ 14:40:15
Author: arojas
Revision: 409107
archrelease: copy trunk to extra-any
Added:
qt6-doc/repos/extra-any/PKGBUILD
(from rev 409106, qt6-doc/trunk/PKGBUILD)
qt6-doc/repos/extra-any/qt6-doc-bindir.patch
(from rev 409106, qt6-doc/trunk/qt6-doc-bindir.patch)
Deleted:
qt6-doc/repos/extra-any/PKGBUILD
qt6-doc/repos/extra-any/qt6-doc-bindir.patch
----------------------+
PKGBUILD | 142 ++++++++++++++++++++++++-------------------------
qt6-doc-bindir.patch | 36 ++++++------
2 files changed, 89 insertions(+), 89 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-03 14:40:01 UTC (rev 409106)
+++ PKGBUILD 2021-03-03 14:40:15 UTC (rev 409107)
@@ -1,71 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=qt6-doc
-pkgname=(qt6-doc qt6-examples)
-_qtver=6.0.1
-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
- 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)
-sha256sums=('d13cfac103cd80b216cd2f73d0211dd6b1a1de2516911c89ce9c5ed14d9631a8'
- '60eebdf88559fefdb2b7c65b5f4ec091942aa1ffa371bedb4080545383b46109')
-
-prepare() {
- patch -d $_pkgfn/qtbase -p1 -i ../../qt6-doc-bindir.patch # Use installed tools
-}
-
-build() {
- cmake -B build -S $_pkgfn \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DINSTALL_BINDIR=lib/qt6/bin \
- -DINSTALL_DOCDIR=share/doc/qt6 \
- -DINSTALL_ARCHDATADIR=lib/qt6 \
- -DINSTALL_DATADIR=share/qt6 \
- -DINSTALL_INCLUDEDIR=include/qt6 \
- -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \
- -DINSTALL_EXAMPLESDIR=share/doc/qt6/examples \
- -DQT_FEATURE_journald=ON \
- -DQT_FEATURE_openssl_linked=ON
- cmake --build build --target docs
-}
-
-package_qt6-doc() {
- pkgdesc='A cross-platform application and UI framework (Documentation)'
- DESTDIR="$pkgdir" cmake --build build --target install_docs
-
- install -Dm644 $_pkgfn/LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase
-}
-
-package_qt6-examples() {
- pkgdesc='Examples and demos from qt6 documentation'
- depends=('qt6-doc')
-
- _base="$pkgdir"/usr/share/doc/qt6/examples
-
- # The various example dirs have conflicting .pro files, but
- # QtCreator requires them to be in the same top-level directory.
- # Matching the Qt5 installer, only the qtbase project is kept.
- mkdir -p $_base
- cp ${_pkgfn}/qtbase/examples/examples.pro $_base
-
- _fdirs=$(find "${_pkgfn}" -maxdepth 2 -type d -name examples)
- for _dir in $_fdirs; do
- _mod=$(basename ${_dir%/examples})
-
- if [ -e "$_dir/README" ]; then
- cp $_dir/README $_dir/README.$_mod
- fi
-
-# mkdir $_base/$_mod
- cp -rn $_dir/* $_base
- done
-}
Copied: qt6-doc/repos/extra-any/PKGBUILD (from rev 409106, qt6-doc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-03 14:40:15 UTC (rev 409107)
@@ -0,0 +1,71 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=qt6-doc
+pkgname=(qt6-doc qt6-examples)
+_qtver=6.0.2
+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
+ 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)
+sha256sums=('67a076640647783b95a907d2231e4f34cec69be5ed338c1c1b33124cadf10bdf'
+ '60eebdf88559fefdb2b7c65b5f4ec091942aa1ffa371bedb4080545383b46109')
+
+prepare() {
+ patch -d $_pkgfn/qtbase -p1 -i ../../qt6-doc-bindir.patch # Use installed tools
+}
+
+build() {
+ cmake -B build -S $_pkgfn \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINSTALL_BINDIR=lib/qt6/bin \
+ -DINSTALL_DOCDIR=share/doc/qt6 \
+ -DINSTALL_ARCHDATADIR=lib/qt6 \
+ -DINSTALL_DATADIR=share/qt6 \
+ -DINSTALL_INCLUDEDIR=include/qt6 \
+ -DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \
+ -DINSTALL_EXAMPLESDIR=share/doc/qt6/examples \
+ -DQT_FEATURE_journald=ON \
+ -DQT_FEATURE_openssl_linked=ON
+ cmake --build build --target docs
+}
+
+package_qt6-doc() {
+ pkgdesc='A cross-platform application and UI framework (Documentation)'
+ DESTDIR="$pkgdir" cmake --build build --target install_docs
+
+ install -Dm644 $_pkgfn/LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgbase
+}
+
+package_qt6-examples() {
+ pkgdesc='Examples and demos from qt6 documentation'
+ depends=('qt6-doc')
+
+ _base="$pkgdir"/usr/share/doc/qt6/examples
+
+ # The various example dirs have conflicting .pro files, but
+ # QtCreator requires them to be in the same top-level directory.
+ # Matching the Qt5 installer, only the qtbase project is kept.
+ mkdir -p $_base
+ cp ${_pkgfn}/qtbase/examples/examples.pro $_base
+
+ _fdirs=$(find "${_pkgfn}" -maxdepth 2 -type d -name examples)
+ for _dir in $_fdirs; do
+ _mod=$(basename ${_dir%/examples})
+
+ if [ -e "$_dir/README" ]; then
+ cp $_dir/README $_dir/README.$_mod
+ fi
+
+# mkdir $_base/$_mod
+ cp -rn $_dir/* $_base
+ done
+}
Deleted: qt6-doc-bindir.patch
===================================================================
--- qt6-doc-bindir.patch 2021-03-03 14:40:01 UTC (rev 409106)
+++ qt6-doc-bindir.patch 2021-03-03 14:40:15 UTC (rev 409107)
@@ -1,18 +0,0 @@
-diff --git a/cmake/QtDocsHelpers.cmake b/cmake/QtDocsHelpers.cmake
-index 8e4bd28918..963114e1ec 100644
---- a/cmake/QtDocsHelpers.cmake
-+++ b/cmake/QtDocsHelpers.cmake
-@@ -31,12 +31,7 @@ function(qt_internal_add_docs)
- return()
- endif()
-
-- if(QT_SUPERBUILD)
-- set(doc_tools_dir "${QtBase_BINARY_DIR}/${INSTALL_BINDIR}")
-- else()
-- set(doc_tools_dir "${QT_BUILD_INTERNALS_RELOCATABLE_INSTALL_PREFIX}/${INSTALL_BINDIR}")
-- endif()
--
-+ set(doc_tools_dir "/usr/lib/qt6/bin")
- set(qdoc_bin "${doc_tools_dir}/qdoc${CMAKE_EXECUTABLE_SUFFIX}")
- set(qtattributionsscanner_bin "${doc_tools_dir}/qtattributionsscanner${CMAKE_EXECUTABLE_SUFFIX}")
- set(qhelpgenerator_bin "${doc_tools_dir}/qhelpgenerator${CMAKE_EXECUTABLE_SUFFIX}")
Copied: qt6-doc/repos/extra-any/qt6-doc-bindir.patch (from rev 409106, qt6-doc/trunk/qt6-doc-bindir.patch)
===================================================================
--- qt6-doc-bindir.patch (rev 0)
+++ qt6-doc-bindir.patch 2021-03-03 14:40:15 UTC (rev 409107)
@@ -0,0 +1,18 @@
+diff --git a/cmake/QtDocsHelpers.cmake b/cmake/QtDocsHelpers.cmake
+index 8e4bd28918..963114e1ec 100644
+--- a/cmake/QtDocsHelpers.cmake
++++ b/cmake/QtDocsHelpers.cmake
+@@ -31,12 +31,7 @@ function(qt_internal_add_docs)
+ return()
+ endif()
+
+- if(QT_SUPERBUILD)
+- set(doc_tools_dir "${QtBase_BINARY_DIR}/${INSTALL_BINDIR}")
+- else()
+- set(doc_tools_dir "${QT_BUILD_INTERNALS_RELOCATABLE_INSTALL_PREFIX}/${INSTALL_BINDIR}")
+- endif()
+-
++ set(doc_tools_dir "/usr/lib/qt6/bin")
+ set(qdoc_bin "${doc_tools_dir}/qdoc${CMAKE_EXECUTABLE_SUFFIX}")
+ set(qtattributionsscanner_bin "${doc_tools_dir}/qtattributionsscanner${CMAKE_EXECUTABLE_SUFFIX}")
+ set(qhelpgenerator_bin "${doc_tools_dir}/qhelpgenerator${CMAKE_EXECUTABLE_SUFFIX}")
More information about the arch-commits
mailing list