From 0424969bbe79ecb92d2de26ab356a4f0cb69d270 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:07:48 +0100 Subject: [PATCH] generate plugins cache at run-time (https://trac.videolan.org/vlc/ticket/9807) [release 2.2.1-2mamba;Thu Oct 01 2015] --- vlc.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vlc.spec b/vlc.spec index c9ea2bc..709ebdc 100644 --- a/vlc.spec +++ b/vlc.spec @@ -11,7 +11,7 @@ %endif Name: vlc Version: 2.2.1 -Release: 1mamba +Release: 2mamba Summary: The VideoLAN client Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba @@ -379,6 +379,12 @@ cp -ap %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/vlc.png \ echo "InitialPreference=8" >> %{buildroot}%{_datadir}/applications/vlc.desktop +%posttrans +if [ $1 -ge 1 ]; then + %{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins +fi +: + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -490,6 +496,9 @@ echo "InitialPreference=8" >> %{buildroot}%{_datadir}/applications/vlc.desktop #%endif %changelog +* Thu Oct 01 2015 Silvan Calarco 2.2.1-2mamba +- generate plugins cache at run-time (https://trac.videolan.org/vlc/ticket/9807) + * Tue Apr 21 2015 Automatic Build System 2.2.1-1mamba - automatic version update by autodist