New package: qt6-qt5compat-6.1.0

This commit is contained in:
John 2020-12-21 14:58:17 +01:00 committed by John Zimmermann
parent fad646a1cb
commit 35d4d364cb
3 changed files with 29 additions and 0 deletions

1
srcpkgs/qt6-qt5compat-devel Symbolic link
View file

@ -0,0 +1 @@
qt6-qt5compat

View file

@ -0,0 +1,27 @@
# Template file for 'qt6-qt5compat'
pkgname=qt6-qt5compat
version=6.1.0
revision=1
wrksrc="qt5compat-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr "
hostmakedepends="qt6-base-devel perl"
makedepends="qt6-base-devel"
short_desc="Cross-platform application and UI framework - Qt5 Compatibilty Component"
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://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qt5compat-everywhere-src-${version}.tar.xz"
checksum=c7d7e6ca2702b8b8b8b251bd271771ec319e5d107bb65f4dba024c200c8fd23c
qt6-qt5compat-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
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"