From b4f0abc5b11d3b1c2ac8d3b55112f2c9ec725647 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:58:38 +0100 Subject: [PATCH] update to 0.9.0 [release 0.9.0-1mamba;Sat May 14 2016] --- phonon-backend-vlc.spec | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/phonon-backend-vlc.spec b/phonon-backend-vlc.spec index 5732097..d9cc37b 100644 --- a/phonon-backend-vlc.spec +++ b/phonon-backend-vlc.spec @@ -1,5 +1,5 @@ Name: phonon-backend-vlc -Version: 0.8.2 +Version: 0.9.0 Release: 1mamba Summary: VideoLAN 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-vlc/%{version}/src/phonon-backend-vlc-%{version}.tar.xz +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 @@ -15,7 +15,9 @@ Conflicts: libqt4-phonon-devel 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 @@ -27,16 +29,31 @@ 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. + + %prep -%setup -q +%setup -q -n phonon-vlc-%{version} %build %cmake_kde4 -d build %make +cd .. +%cmake_kde5 -d build5 \ + -DPHONON_BUILD_PHONON4QT5=on + %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%makeinstall -C build5 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -47,7 +64,14 @@ VideoLAN phonon backend. %{_kde4_servicesdir}/phononbackends/vlc.desktop %doc COPYING.LIB +%files -n phonon-qt5-backend-vlc +%defattr(-,root,root) +%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_vlc.so + %changelog +* Sat May 14 2016 Silvan Calarco 0.9.0-1mamba +- update to 0.9.0 + * Sun Mar 22 2015 Silvan Calarco 0.8.2-1mamba - update to 0.8.2