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.
@@ -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)
+62
View File
@@ -0,0 +1,62 @@
<PISI>
<Source>
<Name>yarock</Name>
<Homepage>https://launchpad.net/yarock</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Summary>Qt Modern Music Player with collection browse based on cover art</Summary>
<Description>Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart</Description>
<Archive sha1sum="d9716d6d8e17da086c7357b0cba7f53cb88f7d63" type="targz">https://launchpad.net/yarock/1.x/1.1.6/+download/Yarock_1.1.6_source.tar.gz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>mpv-player-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>htmlcxx-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libICE-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">phonon.patch</Patch>
</Patches>
</Source>
<Package>
<Name>yarock</Name>
<Summary>Qt Modern Music Player with collection browse based on cover art</Summary>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>taglib</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>htmlcxx</Dependency>
<Dependency>mpv-player</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-24</Date>
<Version>1.1.6</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
+64
View File
@@ -94201,6 +94201,70 @@ Bu Skype SILK codec ve Xiph.Org &apos;s Celt codec teknolojisi dahil RFC 6716 ol
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>yarock</Name>
<Homepage>https://launchpad.net/yarock</Homepage>
<Packager>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<PartOf>multimedia.sound</PartOf>
<Summary xml:lang="en">Qt Modern Music Player with collection browse based on cover art</Summary>
<Description xml:lang="en">Yarock is a music player in c++/Qt designed to provide a clean, simple and beautiful music collection based on album coverart</Description>
<Archive type="targz" sha1sum="d9716d6d8e17da086c7357b0cba7f53cb88f7d63">https://launchpad.net/yarock/1.x/1.1.6/+download/Yarock_1.1.6_source.tar.gz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>mpv-player-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>htmlcxx-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libICE-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">phonon.patch</Patch>
</Patches>
<SourceURI>multimedia/sound/yarock/pspec.xml</SourceURI>
</Source>
<Package>
<Name>yarock</Name>
<Summary xml:lang="en">Qt Modern Music Player with collection browse based on cover art</Summary>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>taglib</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>htmlcxx</Dependency>
<Dependency>mpv-player</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-11-24</Date>
<Version>1.1.6</Version>
<Comment>First Release</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>portaudio</Name>
+1 -1
View File
@@ -1 +1 @@
20f6e4cb194c5ca798cbbc8c2dec8a8d0bdae214
554206a6a4e0137fba90dbeef1ab557ee91bbf01
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
521edf9f3c8a28b760ae4b25dd99e4e52a46f40d
1f1b77faac2da6976a8185e53aab15d53e8f9705