New package: qt6-declarative-6.1.0

This commit is contained in:
John 2020-10-09 20:34:02 +02:00 committed by John Zimmermann
parent 13e45486d3
commit fad646a1cb
5 changed files with 57 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1 @@
qt6-declarative

View file

@ -0,0 +1 @@
qt6-declarative

View file

@ -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 <me@johnnynator.dev>"
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"
}
}

View file

@ -0,0 +1 @@
pkgname="${pkgname/6-/}-everywhere-src"