diff --git a/README.md b/README.md index 17b9fb3..339b8aa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # phonon-backend-gstreamer -Gstreamer phonon backend. +Gstreamer backend for Phonon. diff --git a/phonon-backend-gstreamer.spec b/phonon-backend-gstreamer.spec index 2254d11..16755ec 100644 --- a/phonon-backend-gstreamer.spec +++ b/phonon-backend-gstreamer.spec @@ -1,5 +1,5 @@ Name: phonon-backend-gstreamer -Version: 4.8.2 +Version: 4.9.0 Release: 1mamba Summary: Gstreamer phonon backend Group: System/Libraries @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-gstreamer/%{version}/src/phonon-backend-gstreamer-%{version}.tar.xz +Source: http://download.kde.org/stable/phonon/phonon-backend-gstreamer/%{version}/phonon-backend-gstreamer-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -17,11 +17,12 @@ BuildRequires: libglib-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libphonon-devel +BuildRequires: libphonon-qt5-devel BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake -BuildRequires: libphonon-devel >= 4.7 Provides: phonon_backend Requires: libqt4 >= %_qt4_version Requires: libgst-plugins-base @@ -31,10 +32,23 @@ Requires: gst-plugins-ugly BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -Gstreamer phonon backend. +Gstreamer backend for Phonon. + +%package -n phonon-qt5-backend-gstreamer +Summary: Gstreamer phonon-qt5 backend +Group: System/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: phonon5_backend +Requires: libgst-plugins-base +Requires: gst-plugins-good +Requires: gst-plugins-bad +Requires: gst-plugins-ugly + +%description -n phonon-qt5-backend-gstreamer +Gstreamer backend for Phonon-qt5. %prep -%setup -q +%setup -q -n phonon-gstreamer-%{version} %build %cmake_kde4 -d build \ @@ -42,9 +56,19 @@ Gstreamer phonon backend. %make +cd .. +%cmake_kde5 -d build5 \ + -DPHONON_BUILD_PHONON4QT5=on + +#\ +# -DPHONON_BUILDSYSTEM_DIR=%{_datadir}/share/phonon/buildsystem + +%make + %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%makeinstall -C build5 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -72,7 +96,17 @@ exit 0 %{_kde4_servicesdir}/phononbackends/gstreamer.desktop %doc COPYING.LIB +%files -n phonon-qt5-backend-gstreamer +%defattr(-,root,root) +%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so +%{_datadir}/icons/hicolor/*/apps/phonon-gstreamer.png +%{_datadir}/icons/hicolor/scalable/apps/phonon-gstreamer.svgz + %changelog +* Sat May 14 2016 Silvan Calarco 4.9.0-1mamba +- update to 4.9.0 +- subpackage for phonon-qt5 + * Wed Jan 14 2015 Silvan Calarco 4.8.2-1mamba - update to 4.8.2