void-packages/srcpkgs/deepin-music/template

32 lines
1.1 KiB
Bash
Raw Normal View History

2018-02-16 20:20:12 +01:00
# Template file for 'deepin-music'
pkgname=deepin-music
2018-08-13 10:53:42 +02:00
version=3.1.8.4
revision=3
2018-02-16 20:20:12 +01:00
build_style=qmake
hostmakedepends="qt5-qmake pkg-config"
makedepends="dtkwidget-devel ffmpeg-devel libcue-devel pulseaudio-devel
qt5-multimedia-devel qt5-svg-devel qt5-x11extras-devel taglib-devel"
depends="deepin-menu qt5-plugin-sqlite qt5integration"
short_desc="Deepin Music Player"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-music/"
changelog="https://github.com/linuxdeepin/deepin-music/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/deepin-music/archive/${version}.tar.gz"
2018-08-13 10:53:42 +02:00
checksum=19aef83e330aa8b854d8204d4d38fc572179a86f785ce776e9591413c737d4cb
2018-02-16 20:20:12 +01:00
if [ "$CROSS_BUILD" ]; then
2018-08-13 10:53:42 +02:00
hostmakedepends+=" dtkcore-devel qt5-svg-devel qt5-multimedia-devel qt5-x11extras-devel"
2018-02-16 20:20:12 +01:00
fi
deepin-music-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}