mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
37 lines
996 B
Bash
37 lines
996 B
Bash
pkgname=yarock
|
|
_pkgname=Yarock
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
pkgdesc="A Modern Music Player with collection browser based on cover art."
|
|
arch=('x86_64')
|
|
url="https://launchpad.net/yarock"
|
|
screenshot="https://cn.pling.com/img//hive/content-pre1/129372-1.png"
|
|
license=('GPL3')
|
|
depends=('qt5-x11extras' 'taglib' 'phonon' 'phonon-qt5' 'boost' 'htmlcxx' 'qt5-translations' 'qt5-tools' 'vlc')
|
|
makedepends=('cmake' 'mpv')
|
|
optdepends=('mpv: alternative (working) engine')
|
|
categories=('multimedia')
|
|
source=("http://launchpad.net/$pkgname/1.x/$pkgver/+download/${_pkgname}_${pkgver}_Sources.tar.gz")
|
|
sha256sums=('0b985e501027477ab12878d56ad58c8ce0db4892b57336c6f10d501547a76f47')
|
|
|
|
prepare() {
|
|
rm -rf "build"
|
|
mkdir "build"
|
|
}
|
|
|
|
build() {
|
|
cd ${_pkgname}_${pkgver}_Sources
|
|
|
|
cmake CMakeLists.txt \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DENABLE_MPV=ON \
|
|
-DENABLE_PHONON=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${_pkgname}_${pkgver}_Sources
|
|
make DESTDIR=$pkgdir install
|
|
}
|