mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
New package: qt6-webchannel-6.3.1
This commit is contained in:
parent
0bcdcc94d8
commit
bc207d7e51
4 changed files with 45 additions and 0 deletions
1
srcpkgs/qt6-webchannel-devel
Symbolic link
1
srcpkgs/qt6-webchannel-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
qt6-webchannel
|
7
srcpkgs/qt6-webchannel/patches/no-cmake-test.patch
Normal file
7
srcpkgs/qt6-webchannel/patches/no-cmake-test.patch
Normal file
|
@ -0,0 +1,7 @@
|
|||
--- a/tests/auto/CMakeLists.txt
|
||||
+++ b/tests/auto/CMakeLists.txt
|
||||
@@ -1,4 +1,3 @@
|
||||
-add_subdirectory(cmake)
|
||||
add_subdirectory(webchannel)
|
||||
if(TARGET Qt::Quick)
|
||||
add_subdirectory(qml)
|
36
srcpkgs/qt6-webchannel/template
Normal file
36
srcpkgs/qt6-webchannel/template
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'qt6-webchannel'
|
||||
pkgname=qt6-webchannel
|
||||
version=6.3.1
|
||||
revision=1
|
||||
wrksrc="qtwebchannel-everywhere-src-${version}"
|
||||
build_style=cmake
|
||||
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
|
||||
makedepends="qt6-base-devel qt6-declarative-devel qt6-websockets-devel"
|
||||
short_desc="Cross-platform application and UI framework - webchannel"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
|
||||
homepage="https://qt.io/"
|
||||
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebchannel-everywhere-src-${version}.tar.xz"
|
||||
checksum=aaa20ac23f86992721b7ee487c379a3fd68caa8cdcea0a77a37e0d8b47ff2668
|
||||
|
||||
pre_check() {
|
||||
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
|
||||
}
|
||||
|
||||
qt6-webchannel-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1
|
||||
qt6-websockets-devel>=${version}_1"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove usr/lib/metatypes
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/qt6/mkspecs
|
||||
vmove usr/lib/qt6/qml/QtWebChannel/plugins.qmltypes
|
||||
vmove usr/lib/qt6/qml/QtWebChannel/qmldir
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/*.prl"
|
||||
vmove usr/share/qt6/modules
|
||||
}
|
||||
}
|
1
srcpkgs/qt6-webchannel/update
Normal file
1
srcpkgs/qt6-webchannel/update
Normal file
|
@ -0,0 +1 @@
|
|||
pkgname="${pkgname/6-/}-everywhere-src"
|
Loading…
Add table
Reference in a new issue