Improve qt6-* packages

This commit is contained in:
Martchus 2020-10-07 18:29:41 +02:00
parent 1a4263841c
commit 7249d33b05
8 changed files with 15 additions and 10 deletions

View File

@ -10,7 +10,7 @@ pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes from Qt 5'
pkgdesc='Module that contains unsupported Qt 5 APIs'
depends=(qt6-base)
makedepends=(cmake ninja)
groups=(qt6)

View File

@ -6,6 +6,6 @@ pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes from Qt 5'
pkgdesc='Module that contains unsupported Qt 5 APIs'
depends=(qt6-base)
makedepends=(cmake ninja)

View File

@ -39,8 +39,8 @@ build() {
-DINSTALL_INCLUDEDIR=include/qt6 \
-DINSTALL_MKSPECSDIR=lib/qt6/mkspecs \
-DINSTALL_EXAMPLESDIR=share/doc/qt6/examples \
-DQT_FEATURE_journald=ON
# -DQT_FEATURE_openssl_linked=ON
-DQT_FEATURE_journald=ON \
-DQT_FEATURE_openssl_linked=ON
VERBOSE=1 cmake --build build
}

View File

@ -12,4 +12,4 @@ url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for QML and JavaScript languages'
depends=(qt6-base)
makedepends=(cmake python vulkan-headers at-spi2-core ninja)
makedepends=(cmake python vulkan-headers at-spi2-core ninja)

View File

@ -10,7 +10,7 @@ pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Shader tools'
pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer'
depends=(qt6-base)
makedepends=(cmake vulkan-headers ninja)
groups=(qt6)

View File

@ -6,6 +6,6 @@ pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Shader tools'
pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer'
depends=(qt6-base)
makedepends=(cmake vulkan-headers ninja)

View File

@ -13,7 +13,7 @@ license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
depends=(qt6-base hicolor-icon-theme)
makedepends=(cmake qt6-declarative vulkan-headers llvm clang ninja)
optdepends=('clang: for qdoc')
optdepends=('clang: for qdoc and lupdate')
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
@ -27,6 +27,11 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
mkdir "$pkgdir"/usr/bin
for b in "${pkgdir}"/usr/lib/qt6/bin/*; do
ln -rs "$pkgdir"/usr/lib/qt6/bin/$(basename $b) "$pkgdir"/usr/bin/$(basename $b)-qt6
done
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/usr/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;

View File

@ -1,4 +1,4 @@
% layout 'qt6-module';
% layout 'qt6-module', has_binaries => 1;
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
@ -9,4 +9,4 @@ license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
depends=(qt6-base hicolor-icon-theme)
makedepends=(cmake qt6-declarative vulkan-headers llvm clang ninja)
optdepends=('clang: for qdoc')
optdepends=('clang: for qdoc and lupdate')