Date: Tuesday, July 12, 2022 @ 20:49:54 Author: arojas Revision: 451006
archrelease: copy kde-unstable to kde-unstable-any Added: qt6-doc/repos/kde-unstable-any/PKGBUILD (from rev 451005, qt6-doc/kde-unstable/PKGBUILD) Deleted: qt6-doc/repos/kde-unstable-any/PKGBUILD ----------+ PKGBUILD | 134 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-12 20:49:40 UTC (rev 451005) +++ PKGBUILD 2022-07-12 20:49:54 UTC (rev 451006) @@ -1,67 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgbase=qt6-doc -pkgname=(qt6-doc qt6-examples) -_qtver=6.4.0-beta1 -pkgver=${_qtver/-/} -pkgrel=1 -arch=('any') -url='https://www.qt.io' -license=(GPL3 LGPL3 FDL custom) -makedepends=(cmake ninja mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs - gtk3 libpulse cups freetds vulkan-headers clang python llvm qt6-tools qt6-declarative) -groups=(qt6) -_pkgfn=qt-everywhere-src-$_qtver -source=(https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/single/$_pkgfn.tar.xz) -sha256sums=('fa4d17ccdbdf9d69296a341cf1816962d83c045479a7223c7867295f61bb734f') - -build() { - cmake -B build -S $_pkgfn -G Ninja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DQT_HOST_PATH=/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 \ - -DCMAKE_MESSAGE_LOG_LEVEL=STATUS - 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/kde-unstable-any/PKGBUILD (from rev 451005, qt6-doc/kde-unstable/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-12 20:49:54 UTC (rev 451006) @@ -0,0 +1,67 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgbase=qt6-doc +pkgname=(qt6-doc qt6-examples) +_qtver=6.4.0-beta2 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('any') +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +makedepends=(cmake ninja mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs + gtk3 libpulse cups freetds vulkan-headers clang python llvm qt6-tools qt6-declarative) +groups=(qt6) +_pkgfn=qt-everywhere-src-$_qtver +source=(https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/single/$_pkgfn.tar.xz) +sha256sums=('99c7fd0baf8962ee242fb19391d95fc2ba1d298ea18cb91d9fe1352e2d2003ec') + +build() { + cmake -B build -S $_pkgfn -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQT_HOST_PATH=/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 \ + -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + 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 +}