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]
This commit is contained in:
Silvan Calarco 2024-01-06 09:58:39 +01:00
parent b4f0abc5b1
commit e5c8c38485
2 changed files with 17 additions and 32 deletions

View File

@ -1,4 +1,4 @@
# phonon-backend-vlc
VideoLAN phonon backend.
VideoLAN backend for Phonon.

View File

@ -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 <silvan.calarco@mambasoft.it> 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 <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0