From 0257532418bc1af891c29a757b99b52630b5fa5b Mon Sep 17 00:00:00 2001 From: John Date: Fri, 16 Feb 2018 20:20:12 +0100 Subject: [PATCH] New package: deepin-music-3.1.8.3 --- srcpkgs/deepin-music-devel | 1 + srcpkgs/deepin-music/template | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 120000 srcpkgs/deepin-music-devel create mode 100644 srcpkgs/deepin-music/template diff --git a/srcpkgs/deepin-music-devel b/srcpkgs/deepin-music-devel new file mode 120000 index 0000000000..6374d6b3e7 --- /dev/null +++ b/srcpkgs/deepin-music-devel @@ -0,0 +1 @@ +deepin-music \ No newline at end of file diff --git a/srcpkgs/deepin-music/template b/srcpkgs/deepin-music/template new file mode 100644 index 0000000000..67473159bd --- /dev/null +++ b/srcpkgs/deepin-music/template @@ -0,0 +1,31 @@ +# Template file for 'deepin-music' +pkgname=deepin-music +version=3.1.8.3 +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 " +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=8bd61bcf9f24e9078f7ce37a942ac7db150f83c80a61f910e545da4839074a83 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" 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" + } +}