Merge pull request #8773 from 4fury-c3440d8/master

clementine.
This commit is contained in:
Kamil ATLI
2020-09-22 22:55:34 +03:00
committed by GitHub
4 changed files with 109 additions and 103 deletions
+10 -6
View File
@@ -2,19 +2,22 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
j = "-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_SYSTEM_TAGLIB=ON \
-DENABLE_VK=ON \
"
def setup(): def setup():
shelltools.system("sed -i 's|Exec=clementine %U|Exec=clementine|g' dist/clementine.desktop") shelltools.system("sed -i 's|Exec=clementine %U|Exec=clementine|g' dist/clementine.desktop")
cmaketools.configure(" \ cmaketools.configure(j)
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_VK=ON")
def build(): def build():
cmaketools.make() cmaketools.make()
@@ -22,4 +25,5 @@ def build():
def install(): def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("Changelog", "COPYING") pisitools.dodoc("Changelog", "COPYING", "README*")
+44 -39
View File
@@ -1,72 +1,70 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>clementine</Name> <Name>clementine</Name>
<Homepage>http://www.clementine-player.org/</Homepage> <Homepage>https://www.clementine-player.org/</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<License>GPLv2</License> <License>GPLv2</License>
<License>GPLv3</License> <License>GPLv3</License>
<Icon>clementine</Icon>
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Summary>A cross-platform music player based on Amarok 1.4</Summary> <Summary>A cross-platform music player based on Amarok 1.4</Summary>
<Description>Clementine is a modern music player and library organiser. Clementine is a port of Amarok 1.4, with some features rewritten to take advantage of Qt4.</Description> <Description>Clementine is a modern music player and library organiser. Clementine is a port of Amarok 1.4, with some features rewritten to take advantage of Qt4.</Description>
<Archive sha1sum="6d561d1d5678cc3a97f998620271d6cee53d5f11" type="zip">https://github.com/clementine-player/Clementine/archive/3b76fa62752f25b445ee2a71f02c0c9d7581735a.zip</Archive> <Archive sha1sum="66dd8a4f123211e1761ed25656f1d4b2430b8d60" type="targz">
https://github.com/clementine-player/Clementine/archive/1.4.0rc1-320-g3a4d7f3a3.tar.gz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
<Dependency>ccache</Dependency>
<Dependency>gst-libav</Dependency> <Dependency>gst-libav</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-webkit-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-assistant-devel</Dependency>
<Dependency>qt5-designer-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-qdbusviewer</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qca2-qt5-devel</Dependency>
<Dependency>glew-devel</Dependency> <Dependency>glew-devel</Dependency>
<Dependency>icon-theme-hicolor</Dependency>
<Dependency>boost-devel</Dependency> <Dependency>boost-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>libmygpo-qt-devel</Dependency>
<Dependency>fftw3-devel</Dependency> <Dependency>fftw3-devel</Dependency>
<Dependency>libmtp-devel</Dependency> <Dependency>libmtp-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency> <Dependency>ffmpeg-devel</Dependency>
<Dependency>taglib-devel</Dependency> <Dependency>taglib-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>qt5-sql-odbc</Dependency>
<Dependency>qt5-sql-mysql</Dependency>
<Dependency>libgpod-devel</Dependency> <Dependency>libgpod-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>libplist-devel</Dependency> <Dependency>libplist-devel</Dependency>
<Dependency>libqjson-devel</Dependency> <Dependency>libqjson-devel</Dependency>
<Dependency>protobuf-devel</Dependency> <Dependency>protobuf-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency> <Dependency>mesa-glu-devel</Dependency>
<Dependency>liblastfm-devel</Dependency>
<Dependency>libechonest-devel</Dependency>
<Dependency>google-sparsehash</Dependency>
<Dependency>libchromaprint-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>libimobiledevice-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>gst-plugins-bad-devel</Dependency>
<Dependency>gst-plugins-ugly</Dependency>
<Dependency>gst-plugins-good</Dependency>
<Dependency>libkvkontakte-devel</Dependency>
<Dependency>crypto++-devel</Dependency> <Dependency>crypto++-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency> <Dependency>alsa-lib-devel</Dependency>
<Dependency>qt5-sql-sqlite</Dependency>
<Dependency>qca2-qt5-devel</Dependency>
<Dependency>qt5-qdbusviewer</Dependency>
<Dependency>liblastfm-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>qt5-webkit-devel</Dependency>
<Dependency>gst-plugins-ugly</Dependency>
<Dependency>gst-plugins-good</Dependency>
<Dependency>libechonest-devel</Dependency>
<Dependency>libmygpo-qt-devel</Dependency>
<Dependency>google-sparsehash</Dependency>
<Dependency>icon-theme-hicolor</Dependency>
<Dependency>desktop-file-utils</Dependency> <Dependency>desktop-file-utils</Dependency>
<Dependency>qt5-designer-devel</Dependency>
<Dependency>qt5-sql-postgresql</Dependency>
<Dependency>libkvkontakte-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-assistant-devel</Dependency>
<Dependency>libchromaprint-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>gst-plugins-bad-devel</Dependency>
<Dependency>libimobiledevice-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>libcdio-paranoia-devel</Dependency> <Dependency>libcdio-paranoia-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<!-- <Patch level="1">tokenizer.diff</Patch> --> <!-- <Patch level="1">missing.patch</Patch> -->
<!-- <Patch level="1">clementine-gcc6.patch</Patch> -->
<!-- <Patch level="1">add-missing-functional-includes-5630.patch</Patch> -->
<!-- <Patch level="1">clementine-1.3.1-chromaprint-1.4.0.patch</Patch> -->
<!-- <Patch level="1">clementine-cryptopp6.patch</Patch> -->
</Patches> </Patches>
</Source> </Source>
@@ -89,10 +87,10 @@
<Dependency>crypto++</Dependency> <Dependency>crypto++</Dependency>
<Dependency>alsa-lib</Dependency> <Dependency>alsa-lib</Dependency>
<Dependency>qt5-base</Dependency> <Dependency>qt5-base</Dependency>
<Dependency>qt5-x11extras</Dependency> <Dependency>gstreamer</Dependency>
<Dependency>liblastfm</Dependency> <Dependency>liblastfm</Dependency>
<Dependency>libmygpo-qt</Dependency> <Dependency>libmygpo-qt</Dependency>
<Dependency>gstreamer</Dependency> <Dependency>qt5-x11extras</Dependency>
<Dependency>libchromaprint</Dependency> <Dependency>libchromaprint</Dependency>
<Dependency>pulseaudio-libs</Dependency> <Dependency>pulseaudio-libs</Dependency>
<Dependency>gst-plugins-base</Dependency> <Dependency>gst-plugins-base</Dependency>
@@ -104,6 +102,13 @@
</Package> </Package>
<History> <History>
<Update release="9">
<Date>2020-09-22</Date>
<Version>1.4.0_rc1</Version>
<Comment>Rebuild from git.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8"> <Update release="8">
<Date>2020-03-08</Date> <Date>2020-03-08</Date>
<Version>1.3.1</Version> <Version>1.3.1</Version>
@@ -139,7 +144,7 @@
<Name>Mustafa Cinasal</Name> <Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email> <Email>muscnsl@gmail.com</Email>
</Update> </Update>
<Update release="3"> <Update release="3">
<Date>2018-02-22</Date> <Date>2018-02-22</Date>
<Version>1.3.1</Version> <Version>1.3.1</Version>
<Comment>Rebuild.</Comment> <Comment>Rebuild.</Comment>
+20 -21
View File
@@ -2,37 +2,36 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # 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 autotools from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
shelltools.system("mkdir build_") shelltools.system("mkdir build_")
shelltools.cd("build_") shelltools.cd("build_")
shelltools.system("cmake .. \ shelltools.system("cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_EXAMPLES='OFF' \ -DBUILD_EXAMPLES='OFF' \
-DBUILD_SHARED_LIBS='ON' \ -DBUILD_SHARED_LIBS='ON' \
-DWITH_AVFFT='OFF' \ -DWITH_AVFFT='OFF' \
-DWITH_LSR_BINDINGS='ON' \ -DWITH_LSR_BINDINGS='ON' \
-DWITH_PFFFT='ON' \ -DWITH_PFFFT='ON' \
-DWITH_OPENMP='ON'") -DWITH_OPENMP='ON'")
def build(): def build():
shelltools.cd("build_") shelltools.cd("build_")
cmaketools.make() cmaketools.make()
def install(): def install():
shelltools.cd("build_") shelltools.cd("build_")
autotools.rawInstall("DESTDIR=%s" %get.installDIR()) autotools.rawInstall("DESTDIR=%s" %get.installDIR())
shelltools.cd("..") shelltools.cd("..")
pisitools.dodoc("AUTHORS", "COPYING.LGPL", "LICENCE", "NEWS", "README") pisitools.dodoc("AUTHORS", "COPYING.LGPL", "LICENCE", "NEWS", "README")
+26 -28
View File
@@ -1,59 +1,57 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>libsoxr</Name> <Name>libsoxr</Name>
<Homepage>http://sourceforge.net/p/soxr/wiki/Home/</Homepage> <Homepage>https://sourceforge.net/p/soxr/wiki/Home/</Homepage>
<Packager> <Packager>
<Name>Mathias Freire</Name> <Name>Mathias Freire</Name>
<Email>mathiasfreire45@gmail.com</Email> <Email>mathiasfreire45@gmail.com</Email>
</Packager> </Packager>
<License>GPL</License> <License>GPL</License>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Summary> <Summary>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Summary>
<Description>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Description> <Description>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Description>
<Archive sha1sum="32ea46b1a8c0c15f835422892d02fce8286aec3c" type="tarxz">https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz</Archive> <Archive sha1sum="32ea46b1a8c0c15f835422892d02fce8286aec3c" type="tarxz">https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency> <Dependency>cmake</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>libsoxr</Name> <Name>libsoxr</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>libgomp</Dependency> <Dependency>libgomp</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>libsoxr-devel</Name> <Name>libsoxr-devel</Name>
<Summary>Header files for libsoxr.</Summary> <Summary>Header files for libsoxr.</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">libsoxr</Dependency> <Dependency release="current">libsoxr</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="1"> <Update release="1">
<Date>2020-01-14</Date> <Date>2020-01-14</Date>
<Version>0.1.3</Version> <Version>0.1.3</Version>
<Comment>First release.</Comment> <Comment>First release.</Comment>
<Name>Idris Kalp</Name> <Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>