diff --git a/multimedia/sound/yarock/actions.py b/multimedia/sound/yarock/actions.py new file mode 100644 index 0000000000..99c82a85a3 --- /dev/null +++ b/multimedia/sound/yarock/actions.py @@ -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. diff --git a/multimedia/sound/yarock/files/phonon.patch b/multimedia/sound/yarock/files/phonon.patch new file mode 100644 index 0000000000..839cfb9eda --- /dev/null +++ b/multimedia/sound/yarock/files/phonon.patch @@ -0,0 +1,12 @@ +diff -ruN Yarock_1.1.5_source-orig/src/core/player/phonon/CMakeLists.txt Yarock_1.1.5_source/src/core/player/phonon/CMakeLists.txt +--- Yarock_1.1.5_source-orig/src/core/player/phonon/CMakeLists.txt 2015-05-21 00:42:46.627611703 +0300 ++++ Yarock_1.1.5_source/src/core/player/phonon/CMakeLists.txt 2015-05-21 00:43:25.852867232 +0300 +@@ -34,7 +34,7 @@ + + + if (ENABLE_QT5) +- INCLUDE_DIRECTORIES( ${PHONON_INCLUDE_DIR}/phonon4qt5 ) ++ INCLUDE_DIRECTORIES( /usr/include/phonon4qt5 ) + else (ENABLE_QT5) + INCLUDE_DIRECTORIES( ${PHONON_INCLUDES} ) + endif (ENABLE_QT5) diff --git a/multimedia/sound/yarock/pspec.xml b/multimedia/sound/yarock/pspec.xml new file mode 100644 index 0000000000..cf83e50513 --- /dev/null +++ b/multimedia/sound/yarock/pspec.xml @@ -0,0 +1,62 @@ + + + yarock + https://launchpad.net/yarock + + Stefan Gronewold + groni@pisilinux.org + + GPLv3 + Qt Modern Music Player with collection browse based on cover art + Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart + https://launchpad.net/yarock/1.x/1.1.6/+download/Yarock_1.1.6_source.tar.gz + + extra-cmake-modules + mpv-player-devel + qt5-base-devel + qt5-phonon-devel + qt5-x11extras-devel + qt5-sql-mysql + qt5-sql-sqlite + qt5-sql-odbc + qt5-sql-postgresql + qt5-linguist + taglib-devel + htmlcxx-devel + libX11-devel + libICE-devel + + + phonon.patch + + + + yarock + Qt Modern Music Player with collection browse based on cover art + + qt5-base + qt5-phonon + qt5-x11extras + taglib + libX11 + libgcc + htmlcxx + mpv-player + + + /usr/bin + /usr/share + /usr/lib + /usr/share/doc + + + + + 2016-11-24 + 1.1.6 + First Release + Stefan Gronewold + groni@pisilinux.org + + + diff --git a/pisi-index.xml b/pisi-index.xml index 2db6442884..a82aaa1945 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -94201,6 +94201,70 @@ Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 ol + + + yarock + https://launchpad.net/yarock + + Stefan Gronewold + groni@pisilinux.org + + GPLv3 + multimedia.sound + Qt Modern Music Player with collection browse based on cover art + Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart + https://launchpad.net/yarock/1.x/1.1.6/+download/Yarock_1.1.6_source.tar.gz + + extra-cmake-modules + mpv-player-devel + qt5-base-devel + qt5-phonon-devel + qt5-x11extras-devel + qt5-sql-mysql + qt5-sql-sqlite + qt5-sql-odbc + qt5-sql-postgresql + qt5-linguist + taglib-devel + htmlcxx-devel + libX11-devel + libICE-devel + + + phonon.patch + + multimedia/sound/yarock/pspec.xml + + + yarock + Qt Modern Music Player with collection browse based on cover art + + qt5-base + qt5-phonon + qt5-x11extras + taglib + libX11 + libgcc + htmlcxx + mpv-player + + + /usr/bin + /usr/share + /usr/lib + /usr/share/doc + + + + + 2016-11-24 + 1.1.6 + First Release + Stefan Gronewold + groni@pisilinux.org + + + portaudio diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index d00a4401f2..8a2811b190 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -20f6e4cb194c5ca798cbbc8c2dec8a8d0bdae214 \ No newline at end of file +554206a6a4e0137fba90dbeef1ab557ee91bbf01 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 0e072ab896..a83d6a341a 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index daa377190f..113a48a97e 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -521edf9f3c8a28b760ae4b25dd99e4e52a46f40d \ No newline at end of file +1f1b77faac2da6976a8185e53aab15d53e8f9705 \ No newline at end of file