# Template file for 'crystal-dock'
pkgname=crystal-dock
version=2.16
revision=1
build_style=cmake
build_wrksrc="src"
hostmakedepends="cmake extra-cmake-modules pkg-config qt6-base qt6-tools qt6-declarative-host-tools"
makedepends="qt6-base-devel qt6-base-private-devel layer-shell-qt-devel wayland-devel"
short_desc="Customizable dock for Wayland"
maintainer="Fabian Constantinescu <fabian.constantinescu@protonmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/dangvd/crystal-dock"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=7fa93d24975d49c1c53acc01c6543ec270764f7ec40b59a31d0e519c75b22909

if [ -n "$CROSS_BUILD" ]; then
	 configure_args+=" -DQT_HOST_PATH=/usr"
fi
