void-packages/srcpkgs/qt6-shadertools/template

28 lines
921 B
Bash
Raw Normal View History

2020-12-22 13:24:29 +01:00
# Template file for 'qt6-shadertools'
pkgname=qt6-shadertools
2021-06-07 17:53:58 +02:00
version=6.1.1
2020-12-22 13:24:29 +01:00
revision=1
wrksrc="qtshadertools-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr "
hostmakedepends="perl qt6-base-devel"
makedepends="qt6-base-devel"
short_desc="Cross-platform application and UI framework - shadertools"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtshadertools-everywhere-src-${version}.tar.xz"
2021-06-07 17:53:58 +02:00
checksum=324a9f6f87d4e82c0b5f80e6301c7dbc47617dbe752f3e3726c141bd85855512
2020-12-22 13:24:29 +01:00
qt6-shadertools-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
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"
}
}