void-packages/srcpkgs/mpc-qt/template

20 lines
680 B
Bash

# Template file for 'mpc-qt'
pkgname=mpc-qt
version=18.08
revision=1
build_style=qmake
configure_args="MPCQT_VERSION=${version}"
hostmakedepends="pkg-config qt5-qmake"
makedepends="qt5-devel qt5-x11extras-devel mpv-devel"
short_desc="Clone of Media Player Classic reimplemented in Qt"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/cmdrkotori/mpc-qt"
#distfiles="${homepage}/archive/v${version}.tar.gz"
distfiles="https://sources.voidlinux.org/mpc-qt-18.08/v18.08.tar.gz"
checksum=c58fd90926773c9da8bdfc1a8e4dba0b95cbc58cee6db9981e8de94fd9534406
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-x11extras-devel"
fi