void-packages/srcpkgs/mellowplayer/template

29 lines
1.1 KiB
Bash

# Template file for 'mellowplayer'
pkgname=mellowplayer
version=3.6.8
revision=1
wrksrc="MellowPlayer-${version}"
build_style=cmake
hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel
qt5-plugin-mysql qt5-plugin-pgsql qt5-plugin-sqlite
qt5-plugin-tds qt5-plugin-odbc
qt5-svg-devel qt5-webengine-devel qt5-webchannel-devel
qt5-location-devel qt5-tools-devel libnotify-devel"
depends="qt5-graphicaleffects qt5-quickcontrols qt5-svg qt5-wayland"
short_desc="QT based cloud music integration for your desktop"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://colinduquesnoy.gitlab.io/MellowPlayer/"
distfiles="https://gitlab.com/ColinDuquesnoy/MellowPlayer/-/archive/${version}/MellowPlayer-${version}.tar.bz2"
checksum=7571588a704d0e76e65764f7a7725cf2b22125e06d930f236d19f75c1ecf559d
patch_args=-Np1
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="webengine can be built only if word size matches"
fi
if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then
broken="webengine only supports little endian"
fi