void-packages/srcpkgs/mellowplayer/template
Đoàn Trần Công Danh d943b372d8 mellowplayer: fix build
2021-04-03 10:13:05 +07:00

28 lines
1.1 KiB
Bash

# Template file for 'mellowplayer'
pkgname=mellowplayer
version=3.6.6
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=17b8b25ca6b3d27b223f8be6ad80186ae5bd17ce762eb04ecd8b0e82e687b327
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