From f7fe3321b6932bfb6fb5d4df0eaaceeb1687093f Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Thu, 8 Feb 2024 13:15:32 +0100 Subject: [PATCH] automatic version update by autodist [release 0.12.0-1mamba;Tue Feb 06 2024] --- phonon-backend-vlc.spec | 50 ++++++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 11 deletions(-) diff --git a/phonon-backend-vlc.spec b/phonon-backend-vlc.spec index 595d042..933b149 100644 --- a/phonon-backend-vlc.spec +++ b/phonon-backend-vlc.spec @@ -1,22 +1,24 @@ Name: phonon-backend-vlc -Version: 0.11.3 +Version: 0.12.0 Release: 1mamba Summary: VideoLAN backend for Phonon Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan -URL: https://www.kde.org +Packager: Silvan Calarco +URL: https://kde.org/ Source: http://download.kde.org/stable/phonon/phonon-backend-vlc/%{version}/phonon-backend-vlc-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libgcc +BuildRequires: libglvnd-devel BuildRequires: libphonon-devel -BuildRequires: libqt5-devel +BuildRequires: libphonon-qt6-devel BuildRequires: libstdc++6-devel BuildRequires: libvlc-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libvlc-devel >= 3.0.6-1mamba @@ -24,33 +26,59 @@ Conflicts: libqt4-phonon-devel Provides: phonon_backend Provides: phonon5_backend Provides: phonon-qt5-backend-vlc -Obsoletes: phonon-qt5-backend-vlc +Obsoletes: phonon-qt5-backend-vlc < 0.12.0 %description VideoLAN backend for Phonon. +%package qt6 +Group: System/Libraries +Summary: VideoLAN backend for Phonon +Provides: phonon_backend +Provides: phonon6_backend + +%description qt6 +VideoLAN backend for Phonon. + %prep %setup -q %build -%cmake_kde5 -d build \ - -DPHONON_BUILD_PHONON4QT5=on +%cmake -d build \ + -DPHONON_BUILD_QT6=OFF + +%make + +cd .. +%cmake -d build-qt6 \ + -DPHONON_BUILD_QT5=OFF + +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build +%makeinstall -C build-qt6 -%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang +%find_lang %{name} --with-qt --with-man --all-name || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}5_qt.lang +%files -f %{name}.lang %defattr(-,root,root) -%{_libdir}/qt5/plugins/phonon4qt5_backend/phonon_vlc.so +%{_qt5_plugindir}/phonon4qt5_backend/phonon_vlc_qt5.so +%doc COPYING.LIB + +%files qt6 -f %{name}.lang +%defattr(-,root,root) +%{_qt6_plugindir}/phonon4qt6_backend/phonon_vlc_qt6.so %doc COPYING.LIB %changelog +* Tue Feb 06 2024 Automatic Build System 0.12.0-1mamba +- automatic version update by autodist + * Sat Mar 27 2021 Automatic Build System 0.11.3-1mamba - automatic version update by autodist