yarock version bump

This commit is contained in:
4fury
2019-04-15 10:48:01 +03:00
parent a4a75139b1
commit 09ba70608c
2 changed files with 52 additions and 33 deletions
+14 -8
View File
@@ -4,28 +4,34 @@
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
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():
shelltools.makedirs("build")
shelltools.cd("build")
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")
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_VLC=OFF \
-DENABLE_MPV=ON \
-DENABLE_PHONON=ON", sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.install()
shelltools.cd("..")
# Take a look at the source folder for these file as documentation.
pisitools.dodoc("CHANGES.md", "README.md")
pisitools.dodoc("CHANGES.md", \
"COPYING", \
"README.md")
# If there is no install rule for a runnable binary, you can
# install it to binary directory.
@@ -33,7 +39,7 @@ def install():
# You can use these as variables, they will replace GUI values before build.
# Package Name : yarock
# Version : 1.1.6
# Version : 1.4.0
# Summary : Qt Modern Music Player with collection browse based on cover art
# For more information, you can look at the Actions API