void-packages/srcpkgs/mpc-qt/template
2021-03-08 10:40:33 +07:00

24 lines
1,005 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 qt5-host-tools"
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"
# https://github.com/mpv-player/mpv/commit/575197ff8b0a0d8cd14f7ee78461c1d61d045d72
distfiles="https://sources.voidlinux.org/mpc-qt-18.08/v18.08.tar.gz
https://raw.githubusercontent.com/mpv-player/mpv/2337fa4e0213993398d36cb3222633766d677dfd/libmpv/qthelper.hpp"
checksum="c58fd90926773c9da8bdfc1a8e4dba0b95cbc58cee6db9981e8de94fd9534406
86e1fcba6001829b7e23a856db84d01ebc76e63528f74064d7bc5705015a2684"
skip_extraction="qthelper.hpp"
post_extract() {
mkdir -p mpv
cp $XBPS_SRCDISTDIR/mpc-qt-$version/qthelper.hpp mpv/
}