From fad646a1cbd426d38423c507a46fdc792e004696 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 9 Oct 2020 20:34:02 +0200 Subject: [PATCH] New package: qt6-declarative-6.1.0 --- common/shlibs | 11 ++++++++ srcpkgs/qt6-declarative-devel | 1 + srcpkgs/qt6-declarative-tools | 1 + srcpkgs/qt6-declarative/template | 43 ++++++++++++++++++++++++++++++++ srcpkgs/qt6-declarative/update | 1 + 5 files changed, 57 insertions(+) create mode 120000 srcpkgs/qt6-declarative-devel create mode 120000 srcpkgs/qt6-declarative-tools create mode 100644 srcpkgs/qt6-declarative/template create mode 100644 srcpkgs/qt6-declarative/update diff --git a/common/shlibs b/common/shlibs index 569d4d2237e..ba39775b36c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2000,6 +2000,17 @@ libQt6OpenGLWidgets.so.6 qt6-opengl-widgets-6.0.0_1 libQt6Test.so.6 qt6-test-6.0.0_1 libQt6WaylandCompositor.so.6 qt6-wayland-6.0.0_1 libQt6WaylandClient.so.6 qt6-wayland-6.0.0_1 +libQt6Core5Compat.so.6 qt6-qt5compat-6.0.0_1 +libQt6Svg.so.6 qt6-svg-6.0.0_1 +libQt6SvgWidgets.so.6 qt6-svg-6.0.0_1 +libQt6Qml.so.6 qt6-declarative-6.0.0_1 +libQt6QmlWorkerScript.so.6 qt6-declarative-6.0.0_1 +libQt6QuickTest.so.6 qt6-declarative-6.0.0_1 +libQt6QuickShapes.so.6 qt6-declarative-6.0.0_1 +libQt6QuickWidgets.so.6 qt6-declarative-6.0.0_1 +libQt6Quick.so.6 qt6-declarative-6.0.0_1 +libQt6QmlModels.so.6 qt6-declarative-6.0.0_1 +libQt6QuickParticles.so.6 qt6-declarative-6.0.0_1 libnpth.so.0 npth-1.1_1 libnpupnp.so.4 libnpupnp-4.0.2_1 libglfw.so.3 glfw-3.0.4_1 diff --git a/srcpkgs/qt6-declarative-devel b/srcpkgs/qt6-declarative-devel new file mode 120000 index 00000000000..fd03a4809f3 --- /dev/null +++ b/srcpkgs/qt6-declarative-devel @@ -0,0 +1 @@ +qt6-declarative \ No newline at end of file diff --git a/srcpkgs/qt6-declarative-tools b/srcpkgs/qt6-declarative-tools new file mode 120000 index 00000000000..fd03a4809f3 --- /dev/null +++ b/srcpkgs/qt6-declarative-tools @@ -0,0 +1 @@ +qt6-declarative \ No newline at end of file diff --git a/srcpkgs/qt6-declarative/template b/srcpkgs/qt6-declarative/template new file mode 100644 index 00000000000..6da38cd3343 --- /dev/null +++ b/srcpkgs/qt6-declarative/template @@ -0,0 +1,43 @@ +# Template file for 'qt6-declarative' +pkgname=qt6-declarative +version=6.1.0 +revision=1 +wrksrc="qtdeclarative-everywhere-src-${version}" +build_style=cmake +configure_args=" -DQT_HOST_PATH=/usr + -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=true" +hostmakedepends="qt6-base-devel perl pkg-config wayland-devel + qt6-declarative-devel" +makedepends="qt6-base-devel Vulkan-Headers" +short_desc="Cross-platform application and UI framework - Declarative" +maintainer="John " +license="GPL-3.0-only with Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later" +homepage="https://www.qt.io" +distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtdeclarative-everywhere-src-${version}.tar.xz" +checksum=e6f64314b8d54d7b541f52827b4e795317b17c3b7f39ad5210b8dbf343b75bda + +qt6-declarative-tools_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - tools" + pkg_install() { + vmove usr/lib/qt6/plugins/qmltooling + for bin in qmlcachegen qmleasing qmlformat qmlimportscanner \ + qmllint qmlplugindump qmlpreview qmlprofiler qmlscene \ + qmltestrunner qmltime qmltyperegistrar; do + vmove usr/lib/qt6/bin/$bin + done + } +} + +qt6-declarative-devel_package() { + depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1 + qt6-declarative-tools>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/qt6/mkspecs + vmove "usr/lib/*.so" + vmove "usr/lib/*.prl" + } +} diff --git a/srcpkgs/qt6-declarative/update b/srcpkgs/qt6-declarative/update new file mode 100644 index 00000000000..84455246522 --- /dev/null +++ b/srcpkgs/qt6-declarative/update @@ -0,0 +1 @@ +pkgname="${pkgname/6-/}-everywhere-src"