add yarock audio player written in qt5

This commit is contained in:
groni
2016-11-24 22:20:15 +01:00
parent 101a4e9206
commit 38bef1e419
7 changed files with 180 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
# if pisi can't find source directory, see /var/pisi/yarock/work/ and:
# WorkDir="yarock-"+ get.srcVERSION() +"/sub_project_dir/"
def setup():
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_QT5=1 \
-DENABLE_VLC=OFF \
-DENABLE_MPV=ON \
-DENABLE_PHONON=ON \
-DTAGLIB_MIN_VERSION=1.9.1")
def build():
cmaketools.make()
def install():
cmaketools.install()
# Take a look at the source folder for these file as documentation.
pisitools.dodoc("CHANGES.md", "README.md")
# If there is no install rule for a runnable binary, you can
# install it to binary directory.
# pisitools.dobin("yarock")
# You can use these as variables, they will replace GUI values before build.
# Package Name : yarock
# Version : 1.1.6
# Summary : Qt Modern Music Player with collection browse based on cover art
# For more information, you can look at the Actions API
# from the Help menu and toolbar.