[arch-commits] Commit in qt6-doc/repos/kde-unstable-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 20 20:42:21 UTC 2020
Date: Tuesday, October 20, 2020 @ 20:42:21
Author: arojas
Revision: 398675
archrelease: copy kde-unstable to kde-unstable-any
Added:
qt6-doc/repos/kde-unstable-any/PKGBUILD
(from rev 398674, qt6-doc/kde-unstable/PKGBUILD)
Deleted:
qt6-doc/repos/kde-unstable-any/PKGBUILD
----------+
PKGBUILD | 153 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 77 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-20 20:39:55 UTC (rev 398674)
+++ PKGBUILD 2020-10-20 20:42:21 UTC (rev 398675)
@@ -1,76 +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.0-alpha
-pkgver=${_qtver/-/}
-pkgrel=1
-arch=('any')
-url='https://www.qt.io'
-license=(GPL3 LGPL3 FDL custom)
-depends=(libjpeg-turbo xcb-util-keysyms xcb-util-cursor libgl fontconfig xdg-utils
- shared-mime-info xcb-util-wm libxrender libxi sqlite mesa
- tslib libinput libxkbcommon-x11 libproxy libcups double-conversion md4c brotli libb2)
-makedepends=(cmake libfbclient mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs
- gtk3 libpulse cups freetds vulkan-headers qt6-tools)
-makedepends+=(clang python llvm xorg-server-xvfb)
-groups=(qt6)
-_pkgfn="qt-everywhere-src-${_qtver}"
-source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfn}.tar.xz")
-sha256sums=('a58400ef299e4238ec4c8cc0217f70373b186b015b749a53d5b14c87f2c408a1')
-
-prepare() {
- mkdir -p $_pkgfn/{qtbase,qttools}/bin
- ln -s /usr/lib/qt6/bin/rcc $_pkgfn/qtbase/bin
- ln -s /usr/lib/qt6/bin/{qtattributionsscanner,qdoc,qhelpgenerator} $_pkgfn/qttools/bin
-}
-
-build() {
-# Use qmake, see https://bugreports.qt.io/browse/QTBUG-87382
- cd $_pkgfn
- ./configure -confirm-license -opensource \
- -prefix /usr \
- -docdir /usr/share/doc/qt6 \
- -headerdir /usr/include/qt6 \
- -archdatadir /usr/lib/qt6 \
- -datadir /usr/share/qt6 \
- -bindir /usr/lib/qt6/bin \
- -sysconfdir /etc/xdg \
- -nomake examples
- export PATH="/usr/lib/qt6/bin:$PATH"
- make docs
-}
-
-package_qt6-doc() {
- cd $_pkgfn
- INSTALL_ROOT="$pkgdir" make install_docs
-
- install -Dm644 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 398674, qt6-doc/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-20 20:42:21 UTC (rev 398675)
@@ -0,0 +1,77 @@
+# 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.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('any')
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+makedepends=(mariadb-libs unixodbc postgresql alsa-lib gst-plugins-base-libs
+ gtk3 libpulse cups freetds vulkan-headers qt6-tools clang python llvm)
+groups=(qt6)
+_pkgfn="qt-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfn}.tar.xz"
+ qt6-platformintegration-docs.patch::"https://code.qt.io/cgit/qt/qtdoc.git/patch?id=31cf990a")
+sha256sums=('8ce60c420399cdb06544b3fc22d91ab38fc88a456738ed4d8c221e40064f8aaf'
+ '0738dbef695f7416380fc8bb0cf641ba093e104c4eab30517062d6722a2c2fa4')
+
+prepare() {
+ mkdir -p $_pkgfn/{qtbase,qttools}/bin
+ ln -s /usr/lib/qt6/bin/{uic,rcc} $_pkgfn/qtbase/bin
+ ln -s /usr/lib/qt6/bin/{qtattributionsscanner,qdoc,qhelpgenerator} $_pkgfn/qttools/bin
+
+ patch -d $_pkgfn/qtdoc -p1 -i ../../qt6-platformintegration-docs.patch # Fix build
+}
+
+build() {
+# Use qmake, see https://bugreports.qt.io/browse/QTBUG-87382
+ cd $_pkgfn
+ ./configure -confirm-license -opensource \
+ -prefix /usr \
+ -docdir /usr/share/doc/qt6 \
+ -headerdir /usr/include/qt6 \
+ -archdatadir /usr/lib/qt6 \
+ -datadir /usr/share/qt6 \
+ -bindir /usr/lib/qt6/bin \
+ -sysconfdir /etc/xdg \
+ -nomake examples
+ export PATH="/usr/lib/qt6/bin:$PATH"
+ make docs
+}
+
+package_qt6-doc() {
+ pkgdesc='A cross-platform application and UI framework (Documentation)'
+ cd $_pkgfn
+ INSTALL_ROOT="$pkgdir" make install_docs
+
+ install -Dm644 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
+}
More information about the arch-commits
mailing list