update phonon

This commit is contained in:
alihanozturk
2016-05-03 17:30:19 +03:00
parent 53149cbe66
commit ec8a49d64d
4 changed files with 28 additions and 22 deletions
@@ -8,11 +8,7 @@ from pisi.actionsapi import kde5
from pisi.actionsapi import pisitools
def setup():
kde5.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
-D__KDE_HAVE_GCC_VISIBILITY=NO \
kde5.configure("-D__KDE_HAVE_GCC_VISIBILITY=NO \
-DPHONON_BUILD_PHONON4QT5=ON")
def build():
@@ -13,8 +13,10 @@
<IsA>library</IsA>
<Summary>GStreamer qt5-phonon backend</Summary>
<Description>Phonon is the Qt multimedia API, which provides a task-oriented abstraction layer for capturing, mixing, processing, and playing audio and video content. phonon-backend-gstreamer contains the GStreamer backend for Phonon.</Description>
<Archive sha1sum="9998ba3a002af09e1ba4072508d1813af1d1e5be" type="tarxz">mirrors://kde/stable/phonon/phonon-backend-gstreamer/4.8.2/src/phonon-backend-gstreamer-4.8.2.tar.xz</Archive>
<Archive sha1sum="81f16c98e35a6377fefd8ce8e66e1e2ec609c94d" type="tarxz">http://download.kde.org/stable/phonon/phonon-backend-gstreamer/4.9.0/phonon-backend-gstreamer-4.9.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-phonon-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
@@ -23,7 +25,6 @@
<Dependency>gst-plugins-base-next-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
@@ -31,6 +32,7 @@
<Name>qt5-phonon-backend-gstreamer</Name>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>qt5-phonon</Dependency>
<Dependency>mesa</Dependency>
<Dependency>glib2</Dependency>
@@ -46,6 +48,13 @@
</Package>
<History>
<Update release="2">
<Date>2016-05-03</Date>
<Version>4.9.0</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-08-18</Date>
<Version>4.8.2</Version>
+4 -9
View File
@@ -9,18 +9,13 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
kde5.configure("-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DPHONON_BUILD_PHONON4QT5=ON \
-D__KDE_HAVE_GCC_VISIBILITY=NO \
-DCMAKE_INSTALL_LIBDIR=lib")
kde5.configure("-DPHONON_BUILD_PHONON4QT5=ON")
def build():
kde5.make()
def install():
kde5.install()
pisitools.dosym("/usr/include/KDE/Phonon", "/usr/include/Phonon")
pisitools.domove("/usr/share/qt5/mkspecs/modules/qt_phonon4qt5.pri", "/usr/lib/qt5/mkspecs/modules/")
pisitools.removeDir("/usr/share/qt5")
+12 -6
View File
@@ -13,8 +13,9 @@
<IsA>library</IsA>
<Summary>Cross platform multimedia API for KDE4 using QT5</Summary>
<Description>Phonon was created as a solution to several problems with multimedia commonly faced by Unix desktops, especially KDE 3's outdated multimedia framework aRts. Phonon itself is not a multimedia framework, but interfaces with existing frameworks such as GStreamer or Xine via backends.</Description>
<Archive sha1sum="aac5dc44ae4821e6165c6735b9c6063dd111ac03" type="tarxz">mirrors://kde/stable/phonon/4.8.3/src/phonon-4.8.3.tar.xz</Archive>
<Archive sha1sum="5823cec679f16021c121dfb756fb215cee17caee" type="tarxz">http://download.kde.org/stable/phonon/4.9.0/phonon-4.9.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-designer-devel</Dependency>
<Dependency>qt5-quick1-devel</Dependency>
@@ -22,11 +23,10 @@
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>cmake</Dependency>
<Dependency>mesa-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>qt-5.4.2.patch</Patch>
<!-- <Patch>qt-5.4.2.patch</Patch> -->
</Patches>
</Source>
@@ -43,6 +43,7 @@
<Path fileType="library">/usr/lib/libphonon*</Path>
<Path fileType="library">/usr/lib/qt5</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/phonon4qt5</Path>
</Files>
</Package>
@@ -59,12 +60,18 @@
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="data">/usr/share/phonon4qt5</Path>
</Files>
</Package>
<History>
<Update release="1">
<Update release="2">
<Date>2016-05-03</Date>
<Version>4.9.0</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-08-13</Date>
<Version>4.8.3</Version>
<Comment>First release</Comment>
@@ -72,5 +79,4 @@
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>