diff --git a/multimedia/video/qmplay2/actions.py b/multimedia/video/qmplay2/actions.py index bd24225797..d554597cfc 100644 --- a/multimedia/video/qmplay2/actions.py +++ b/multimedia/video/qmplay2/actions.py @@ -4,20 +4,30 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt -from pisi.actionsapi import qt5 -from pisi.actionsapi import shelltools +from pisi.actionsapi import cmaketools from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import shelltools +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") -def setup(): - qt5.configure() + cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DUSE_QT5=ON \ + -DUSE_QT5=ON \ + -DUSE_LINK_TIME_OPTIMIZATION=ON", sourceDir=".." ) + +def build(): + shelltools.cd("build") + + cmaketools.make() + +def install(): + shelltools.cd("build") + + cmaketools.install() + shelltools.cd("..") -def build(): - qt5.make() - -def install(): - qt5.install() - - pisitools.dodoc( "README*", "TODO", "ChangeLog*", "AUTHORS") + pisitools.dodoc("README*", "LICENSE", "TODO*") diff --git a/multimedia/video/qmplay2/pspec.xml b/multimedia/video/qmplay2/pspec.xml index b4631b8c05..9de3ff6cab 100644 --- a/multimedia/video/qmplay2/pspec.xml +++ b/multimedia/video/qmplay2/pspec.xml @@ -12,18 +12,20 @@ app:gui QMPlay2 is a video and audio player which can play most formats and codecs It can play all formats supported by FFmpeg, libmodplug (including J2B and SFX). It also supports Audio CD, raw files, Rayman 2 music and chiptunes. It contains YouTube and Prostopleer browser. - https://github.com/zaps166/QMPlay2/archive/17.02.12.tar.gz + https://github.com/zaps166/QMPlay2/archive/17.12.31.tar.gz qt5-base-devel qt5-qdbusviewer qt5-x11extras-devel qt5-assistant-devel qt5-designer-devel + qt5-svg-devel qt5-linguist pkgconfig cmake ffmpeg-devel libva-devel + libgme-devel libvdpau-devel taglib-devel portaudio-devel @@ -51,6 +53,7 @@ mesa libXv libva + libgme ffmpeg libX11 libcdio @@ -63,6 +66,7 @@ /usr/bin + /usr/share /usr/share/qmplay2 /usr/share/icons /usr/share/applications @@ -75,8 +79,27 @@ QMPlay2_enqueue.desktop + + qmplay2-devel + Development files for qmplay2 + + qmplay2 + + + /usr/include + /usr/lib/pkgconfig + /usr/lib/cmake + + + + 2018-01-13 + 17.12.31 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2017-03-08 17.02.12