32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'deepin-music'
|
|
pkgname=deepin-music
|
|
version=5.0.1
|
|
revision=1
|
|
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"
|
|
checksum=3c64e035cee392a96b31acfd34c468b4c23b120d964a837b4b31ff19a88992d0
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" dtkcore-devel qt5-svg-devel qt5-multimedia-devel qt5-x11extras-devel"
|
|
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"
|
|
}
|
|
}
|