From e5c8c384851452689490ba560e3a590600f654e4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:58:39 +0100 Subject: [PATCH] update to 0.10.2 build with vlc 3.0.6 removed and obsoleted qt4 backend [release 0.10.2-1mamba;Sun Feb 03 2019] --- README.md | 2 +- phonon-backend-vlc.spec | 47 ++++++++++++++--------------------------- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 7ea9318..236fa8b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # phonon-backend-vlc -VideoLAN phonon backend. +VideoLAN backend for Phonon. diff --git a/phonon-backend-vlc.spec b/phonon-backend-vlc.spec index d9cc37b..6dddeae 100644 --- a/phonon-backend-vlc.spec +++ b/phonon-backend-vlc.spec @@ -1,7 +1,7 @@ Name: phonon-backend-vlc -Version: 0.9.0 +Version: 0.10.2 Release: 1mamba -Summary: VideoLAN phonon backend +Summary: VideoLAN backend for Phonon Group: System/Libraries Vendor: openmamba Distribution: openmamba @@ -10,65 +10,50 @@ URL: http://www.kde.org Source: http://download.kde.org/stable/phonon/phonon-backend-vlc/%{version}/phonon-backend-vlc-%{version}.tar.xz License: LGPL BuildRequires: cmake -Conflicts: libqt4-phonon-devel ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc -BuildRequires: libphonon-devel BuildRequires: libphonon-qt5-devel -BuildRequires: libqt4-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel BuildRequires: libvlc-devel ## AUTOBUILDREQ-END -BuildRequires: libvlc-devel >= 2.2.0-1mamba +BuildRequires: libvlc-devel >= 3.0.6-1mamba +Conflicts: libqt4-phonon-devel Provides: phonon_backend -Requires: libqt4 >= %_qt4_version +Provides: phonon5_backend +Provides: phonon-qt5-backend-vlc +Obsoletes: phonon-qt5-backend-vlc BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -VideoLAN phonon backend. - -%package -n phonon-qt5-backend-vlc -Summary: VLC backend for Phonon-qt5 -Group: System/Libraries -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -Provides: phonon5_backend - -%description -n phonon-qt5-backend-vlc -VLC backend for Phonon-qt5. - +VideoLAN backend for Phonon. %prep -%setup -q -n phonon-vlc-%{version} +%setup -q %build -%cmake_kde4 -d build -%make - -cd .. -%cmake_kde5 -d build5 \ +%cmake_kde5 -d build \ -DPHONON_BUILD_PHONON4QT5=on %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build -%makeinstall -C build5 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) -%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_vlc.so -%{_kde4_servicesdir}/phononbackends/vlc.desktop +%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_vlc.so %doc COPYING.LIB -%files -n phonon-qt5-backend-vlc -%defattr(-,root,root) -%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_vlc.so - %changelog +* Sun Feb 03 2019 Silvan Calarco 0.10.2-1mamba +- update to 0.10.2 +- build with vlc 3.0.6 +- removed and obsoleted qt4 backend + * Sat May 14 2016 Silvan Calarco 0.9.0-1mamba - update to 0.9.0