void-packages/srcpkgs/qmmp/template
2016-11-11 11:47:04 +01:00

33 lines
1.1 KiB
Bash

# Template file for 'qmmp'
pkgname=qmmp
version=1.1.5
revision=1
build_style=cmake
hostmakedepends="pkg-config qt5-qmake qt5-tools"
# XXX projectm, libsidplayfp, libgme, wildmidi
makedepends="curlpp-devel jack-devel libsoxr-devel libmpcdec-devel
ffmpeg-devel pulseaudio-devel libcdio-paranoia-devel enca-devel
libmad-devel libmms-devel libsamplerate-devel libmodplug-devel
portmidi-devel wavpack-devel faad2-devel libbs2b-devel taglib-devel
qt5-tools-devel qt5-multimedia-devel qt5-x11extras-devel"
short_desc="Audio player based on the Qt5 libraries"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://qmmp.ylsoftware.com/"
distfiles="http://qmmp.ylsoftware.com/files/qmmp-${version}.tar.bz2"
checksum=9b1288f432799980a5d58d131b56b4b590055d7e66c5fe50e9199b9daa35ddbd
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel
qt5-multimedia-devel qt5-x11extras-devel"
fi
qmmp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}