[arch-commits] Commit in qt6-doc/repos/kde-unstable-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 26 20:19:24 UTC 2020
Date: Monday, October 26, 2020 @ 20:19:23
Author: arojas
Revision: 398833
archrelease: copy kde-unstable to kde-unstable-any
Added:
qt6-doc/repos/kde-unstable-any/PKGBUILD
(from rev 398832, qt6-doc/kde-unstable/PKGBUILD)
Deleted:
qt6-doc/repos/kde-unstable-any/PKGBUILD
----------+
PKGBUILD | 150 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 73 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-26 20:19:06 UTC (rev 398832)
+++ PKGBUILD 2020-10-26 20:19:23 UTC (rev 398833)
@@ -1,77 +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-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
-}
Copied: qt6-doc/repos/kde-unstable-any/PKGBUILD (from rev 398832, qt6-doc/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-26 20:19:23 UTC (rev 398833)
@@ -0,0 +1,73 @@
+# 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-beta2
+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")
+sha256sums=('9c4cc2fb781d682e86d8b3754a18a4d8969e02fa8509da31e5343065ead5fbd5')
+
+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
+}
+
+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