void-packages/srcpkgs/qmmp/template
mobinmob 9959aa2641 qmmp: update to 1.5.1.
Also enable pipewire and musepack support.
2021-09-29 19:22:07 -03:00

33 lines
1.3 KiB
Bash

# Template file for 'qmmp'
pkgname=qmmp
version=1.5.1
revision=1
build_style=cmake
configure_args="-DUSE_HAL:BOOL=FALSE -DQMMP_DEFAULT_UI:STRING=simple"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
# XXX projectm
makedepends="enca-devel faad2-devel ffmpeg-devel jack-devel libarchive-devel
libbs2b-devel libcdio-paranoia-devel libcurl-devel libgme-devel libmad-devel
libmms-devel libmodplug-devel libmpcdec-devel libsamplerate-devel libwildmidi-devel
libshout-devel libsidplayfp-devel libsoxr-devel opusfile-devel pulseaudio-devel
projectM-devel qt5-multimedia-devel qt5-tools-devel qt5-x11extras-devel qt5-plugin-mysql
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds taglib-devel
wavpack-devel libmpcdec-devel pipewire-devel"
# At least one QSql plugin should be available
depends="qt5-plugin-sqlite"
short_desc="Audio player based on the Qt5 libraries"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://qmmp.ylsoftware.com"
distfiles="http://qmmp.ylsoftware.com/files/qmmp/${version%.*}/qmmp-${version}.tar.bz2"
checksum=f3dc676039b5f190e6a87377a6b2bd2bcca122d1659b5f22668c7a284bb91f43
qmmp-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}