yarock, taglib, sayonara.

This commit is contained in:
4fury-c3440d8
2020-09-15 10:58:55 +03:00
parent 844343d4a4
commit c3a1700401
11 changed files with 275 additions and 218 deletions
+16 -30
View File
@@ -1,46 +1,32 @@
#!/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
# See the file https://www.gnu.org/licenses/gpl-3.0.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/"
j = "-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_PHONON=ON \
-DENABLE_MPV=ON \
-DENABLE_VLC=OFF \
"
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_VLC=OFF \
-DENABLE_MPV=ON \
-DENABLE_PHONON=ON", sourceDir = '..')
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure(j, sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.install()
shelltools.cd("..")
shelltools.cd("build")
cmaketools.install()
# Take a look at the source folder for these file as documentation.
pisitools.dodoc("CHANGES.md", \
"COPYING", \
"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.
# pisitools.dobin("yarock")
# You can use these as variables, they will replace GUI values before build.
# Package Name : yarock
# 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
# from the Help menu and toolbar.
+98 -94
View File
@@ -1,96 +1,100 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>yarock</Name>
<Homepage>https://seb-apps.github.io/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="a311b55d87fdd547e336a06c4be5e4c6a0039dc7" type="targz">
https://launchpadlibrarian.net/416223454/Yarock_1.4.0_Sources.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>mpv-player-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>htmlcxx-devel</Dependency>
<Dependency>taglib-devel</Dependency>
</BuildDependencies>
<!-- <Patches>
<Patch level="1">phonon.patch</Patch>
</Patches> -->
</Source>
<Package>
<Name>yarock</Name>
<RuntimeDependencies>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>mpv-player</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>htmlcxx</Dependency>
<Dependency>taglib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/yarock</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/yarock/translations</Path>
<Path fileType="doc">/usr/share/doc/yarock</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2020-03-07</Date>
<Version>1.4.0</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2019-04-15</Date>
<Version>1.4.0</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="3">
<Date>2018-09-01</Date>
<Version>1.1.6</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="2">
<Date>2017-04-23</Date>
<Version>1.1.6</Version>
<Comment>Rebuild with new toolchain</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<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>
<Source>
<Name>yarock</Name>
<Homepage>https://seb-apps.github.io/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="a311b55d87fdd547e336a06c4be5e4c6a0039dc7" type="targz">
https://launchpadlibrarian.net/416223454/Yarock_1.4.0_Sources.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>mpv-player-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>htmlcxx-devel</Dependency>
<Dependency>taglib-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">phonon.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>yarock</Name>
<RuntimeDependencies>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>mpv-player</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>htmlcxx</Dependency>
<Dependency>taglib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/yarock</Path>
<Path fileType="data">/usr/share/appdata</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/yarock/translations</Path>
<Path fileType="doc">/usr/share/doc/yarock</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2020-03-07</Date>
<Version>1.4.0</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2019-04-15</Date>
<Version>1.4.0</Version>
<Comment>Version bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="3">
<Date>2018-09-01</Date>
<Version>1.1.6</Version>
<Comment>Rebuild New T.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="2">
<Date>2017-04-23</Date>
<Version>1.1.6</Version>
<Comment>Rebuild with new toolchain</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<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>