# Template file for 'fooyin'
pkgname=fooyin
version=0.10.8
revision=1
build_style=cmake
configure_args="
 -DBUILD_PCH=ON
 -DBUILD_WERROR=OFF"
hostmakedepends="pkg-config qt6-base qt6-tools"
makedepends="qt6-base-devel qt6-svg-devel alsa-lib-devel
 ffmpeg6-devel icu-devel libarchive-devel libebur128-devel
 libgme-devel libopenmpt-devel libsndfile-devel pipewire-devel SDL2-devel
 taglib-devel KDSingleApplication qcoro-qt6-devel"
depends="qt6-svg qt6-plugin-sqlite"
checkdepends="gtest-devel"
short_desc="Customisable music player"
maintainer="Ivan Mirić <imiric-gh@proton.me>"
license="GPL-3.0-only"
homepage="https://www.fooyin.org/"
changelog="https://raw.githubusercontent.com/fooyin/fooyin/refs/heads/master/CHANGELOG.md"
distfiles="https://github.com/fooyin/fooyin/archive/v${version}.tar.gz"
checksum=2e77f2dd9c3ec713448fa41699d9d38c1e719f489417b3f3af73618c1f3c0659

if [ "$XBPS_CHECK_PKGS" ]; then
	configure_args+=" -DBUILD_TESTING=ON"
fi
