Add qt6-* packages (alpha)

This commit is contained in:
Martchus 2020-10-06 17:49:34 +02:00
parent 98077a8c6e
commit 5cd867bc5c
40 changed files with 683 additions and 5 deletions

View File

@ -65,9 +65,10 @@ for my $top_level_dir (@$top_level_dirs) {
next unless $top_level_dir ne 'devel';
my $default_package_name = $top_level_dir->basename;
my $qt_module;
if ($default_package_name =~ qr/qt5-(.*)/) {
$qt_module = $1;
my ($qt_module, $qt_major_version);
if ($default_package_name =~ qr/qt(5|6)-(.*)/) {
$qt_major_version = $1;
$qt_module = $2;
}
my $variant_dirs = $top_level_dir->list({dir => 1});
@ -86,12 +87,13 @@ for my $top_level_dir (@$top_level_dirs) {
# determine files
my $files = $variant_dir->list;
my $patch_files = $files->grep(qr/.*\.patch/);
my $qt_module_sha256_file_name = "qt$qt_module-sha256.txt";
my $qt_module_sha256_file = defined $qt_module
? $variant_dir->child("qt$qt_module-sha256.txt")
? $variant_dir->child($qt_module_sha256_file_name)
: undef;
my $qt_module_sha256 = defined $qt_module_sha256_file && -f $qt_module_sha256_file
? Mojo::Util::trim($qt_module_sha256_file->slurp)
: "$qt_module_sha256_file missing";
: "$qt_module_sha256_file_name missing";
# determine variant parts
my $variant_prefix_part = $variant;
@ -125,6 +127,7 @@ for my $top_level_dir (@$top_level_dirs) {
package_name => "$package_name_prefix$default_package_name$package_name_suffix",
files => $files,
patch_files => $patch_files,
qt_major_version => $qt_major_version,
qt_module => $qt_module,
qt_module_sha256 => $qt_module_sha256,
static_variant => $is_static_variant,

View File

@ -0,0 +1,40 @@
# Maintainer: Martchus <martchus@gmx.net>
<%== content_for 'additional_contributors' %>\
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
<%== content_for 'comment_header' %>\
pkgname=qt6-<%== $qt_module %>
<%== content %>\
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"\
<%== include 'fragments/source_file_list', relevant_files => $patch_files %>)
sha256sums=('<%== $qt_module_sha256 %>'\
<%== include 'fragments/sha256_list', relevant_files => $patch_files %>)
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
% if (stash('has_binaries')) {
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
% }
% unless (stash('no_libs')) {
# 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' {} \;
% }
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-<%== $qt_module %>
}

35
qt6-3d/default/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-3d
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
depends=(qt6-declarative assimp)
makedepends=(cmake vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-3d
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
depends=(qt6-declarative assimp)
makedepends=(cmake vulkan-headers ninja)

View File

@ -0,0 +1 @@
3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27

View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-5compat
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes from Qt 5'
depends=(qt6-base)
makedepends=(cmake ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-5compat
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes from Qt 5'
depends=(qt6-base)
makedepends=(cmake ninja)

View File

@ -0,0 +1 @@
e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a

57
qt6-base/default/PKGBUILD Normal file
View File

@ -0,0 +1,57 @@
# Maintainer: Martchus <martchus@gmx.net>
# Based on: AUR package qt6-base-git, official qt5-base package
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-base
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework'
depends=(libjpeg-turbo xcb-util-keysyms xcb-util-renderutil libgl fontconfig xdg-utils
shared-mime-info xcb-util-wm libxrender libxi sqlite xcb-util-image mesa
tslib libinput libxkbcommon-x11 libproxy libcups double-conversion md4c brotli)
makedepends=(cmake libfbclient mariadb-libs unixodbc postgresql-libs alsa-lib gst-plugins-base-libs
gtk3 libpulse cups freetds vulkan-headers ninja)
optdepends=('postgresql-libs: PostgreSQL driver'
'mariadb-libs: MariaDB driver'
'unixodbc: ODBC driver'
'libfbclient: Firebird/iBase driver'
'freetds: MS SQL driver'
'gtk3: GTK platform plugin'
'perl: for fixqt4headers and syncqt')
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('1816c4490d3f1f6c6ae3f57a3ec9dff4e8bcab2951786cb0f457847c7ab0e8fa')
build() {
cmake -G Ninja -B build -S $_pkgfqn \
-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
VERBOSE=1 cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $_pkgfqn/LICENSE* -t "$pkgdir"/usr/share/licenses/$pkgname
# Symlinks for backwards compatibility
mkdir -p "$pkgdir"/usr/bin
for _b in uic rcc qmake; do
ln -rs "$pkgdir"/usr/lib/qt6/bin/$_b "$pkgdir"/usr/bin/$_b-qt6
done
}

View File

@ -0,0 +1 @@
1816c4490d3f1f6c6ae3f57a3ec9dff4e8bcab2951786cb0f457847c7ab0e8fa

View File

@ -0,0 +1,41 @@
# Maintainer: Martchus <martchus@gmx.net>
# Based on: AUR package qt6-declarative-git, official qt5-declarative package
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-declarative
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
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)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('0f72a753fd61e49572a1aa4a6e3bfe9e68461ad82320ac978d61b5ff9b8d27f0')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-declarative
}

View File

@ -0,0 +1,15 @@
% layout 'qt6-module', has_binaries => 1;
\
% content_for additional_contributors => begin
# Based on: AUR package qt6-declarative-git, official qt5-declarative package
% end
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
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)

View File

@ -0,0 +1 @@
0f72a753fd61e49572a1aa4a6e3bfe9e68461ad82320ac978d61b5ff9b8d27f0

35
qt6-doc/default/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# FIXME: requires sources of the Qt modules
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-doc
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework (Documentation)'
makedepends=(cmake qt6-tools qt6-declarative vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('ea4a3239bac44f78ba57cdb9982ca37c3feb1b49ebbfb253e6fb94178c60b6ce')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-doc
}

View File

@ -0,0 +1,14 @@
% layout 'qt6-module';
\
% content_for additional_contributors => begin
# FIXME: requires sources of the Qt modules
% end
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework (Documentation)'
makedepends=(cmake qt6-tools qt6-declarative vulkan-headers ninja)

View File

@ -0,0 +1 @@
ea4a3239bac44f78ba57cdb9982ca37c3feb1b49ebbfb253e6fb94178c60b6ce

View File

@ -0,0 +1,36 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-quick3d
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Qt module and API for defining 3D content in Qt Quick'
depends=(qt6-declarative)
makedepends=(cmake assimp qt6-shadertools vulkan-headers ninja)
optdepends=('assimp: Import from assimp')
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('e2acaa92f99bad113cb70f0b3dd14fc7042088f9e19ff6bbb4a6ae8b92dd8cd6')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-quick3d
}

View File

@ -0,0 +1,12 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Qt module and API for defining 3D content in Qt Quick'
depends=(qt6-declarative)
makedepends=(cmake assimp qt6-shadertools vulkan-headers ninja)
optdepends=('assimp: Import from assimp')

View File

@ -0,0 +1 @@
e2acaa92f99bad113cb70f0b3dd14fc7042088f9e19ff6bbb4a6ae8b92dd8cd6

View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-quickcontrols2
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Next generation user interface controls based on Qt Quick'
depends=(qt6-declarative)
makedepends=(cmake vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('2cf6c41075154e6dd92864f1ce95b58c3da35b4bb171a8fdc48cafb1802a3e00')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-quickcontrols2
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Next generation user interface controls based on Qt Quick'
depends=(qt6-declarative)
makedepends=(cmake vulkan-headers ninja)

View File

@ -0,0 +1 @@
2cf6c41075154e6dd92864f1ce95b58c3da35b4bb171a8fdc48cafb1802a3e00

View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-quicktimeline
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Qt module for keyframe-based timeline construction'
depends=(qt6-declarative)
makedepends=(cmake vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('55fd2503290440a78fb922b63a8bffe2366fd0d064a69226a11603b78a3f10c9')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-quicktimeline
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Qt module for keyframe-based timeline construction'
depends=(qt6-declarative)
makedepends=(cmake vulkan-headers ninja)

View File

@ -0,0 +1 @@
55fd2503290440a78fb922b63a8bffe2366fd0d064a69226a11603b78a3f10c9

View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-shadertools
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Shader tools'
depends=(qt6-base)
makedepends=(cmake vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-shadertools
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Shader tools'
depends=(qt6-base)
makedepends=(cmake vulkan-headers ninja)

View File

@ -0,0 +1 @@
7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d

35
qt6-svg/default/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-svg
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for displaying the contents of SVG files'
depends=(qt6-base)
makedepends=(cmake ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('1ff80c015fe044fa1b625d37830b02e0cc780ee92638a1b7a5561adb5a0546ee')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-svg
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for displaying the contents of SVG files'
depends=(qt6-base)
makedepends=(cmake ninja)

View File

@ -0,0 +1 @@
1ff80c015fe044fa1b625d37830b02e0cc780ee92638a1b7a5561adb5a0546ee

View File

@ -0,0 +1,36 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-tools
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
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')
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('69f242ecca020b78643d2d7aaae9e2c1713b6aa7b9b915b16cc9265bf5dfd212')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-tools
}

View File

@ -0,0 +1,12 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
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')

View File

@ -0,0 +1 @@
69f242ecca020b78643d2d7aaae9e2c1713b6aa7b9b915b16cc9265bf5dfd212

View File

@ -0,0 +1,31 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-translations
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework (Translations)'
depends=(qt6-base)
makedepends=(cmake qt6-tools ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('940fa99c2f90881667816a5acfae1c6ba1d76f79a80a42815857cfef25a23a7d')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-translations
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module', no_libs => 1;
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='A cross-platform application and UI framework (Translations)'
depends=(qt6-base)
makedepends=(cmake qt6-tools ninja)

View File

@ -0,0 +1 @@
940fa99c2f90881667816a5acfae1c6ba1d76f79a80a42815857cfef25a23a7d

View File

@ -0,0 +1,35 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-wayland
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides APIs for Wayland'
depends=(qt6-declarative libxcomposite)
makedepends=(cmake vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('cdddc443549b7c90ed062ef4b8f64563e91897464f0be22cb121be5c068bd57d')
build() {
cmake -G Ninja -B build -S $_pkgfqn
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# 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' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-wayland
}

View File

@ -0,0 +1,11 @@
% layout 'qt6-module';
\
_qtver=6.0.0-alpha
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides APIs for Wayland'
depends=(qt6-declarative libxcomposite)
makedepends=(cmake vulkan-headers ninja)

View File

@ -0,0 +1 @@
cdddc443549b7c90ed062ef4b8f64563e91897464f0be22cb121be5c068bd57d