31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'QMPlay2'
|
|
pkgname=QMPlay2
|
|
version=22.03.19
|
|
revision=1
|
|
wrksrc="${pkgname}-src-${version}"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
|
|
makedepends="alsa-lib-devel ffmpeg-devel libass-devel libcdio-devel libgme-devel
|
|
libsidplayfp-devel libva-glx-devel libXv-devel pulseaudio-devel
|
|
qt5-svg-devel qt5-tools-devel qt5-x11extras-devel taglib-devel
|
|
libcdio-paranoia-devel qt5-declarative-devel"
|
|
short_desc="Video and audio player which can play most formats and codecs"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="LGPL-3.0-only"
|
|
homepage="http://zaps166.sourceforge.net/?app=QMPlay2"
|
|
changelog="https://raw.githubusercontent.com/zaps166/QMPlay2/master/ChangeLog"
|
|
distfiles="https://github.com/zaps166/QMPlay2/releases/download/${version}/QMPlay2-src-${version}.tar.xz"
|
|
checksum=d6cde1cec25729d32a8cc1ba925b711b98d18961941f9764a7db8a75b255004e
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
|
fi
|
|
|
|
QMPlay2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|