generate plugins cache at run-time (https://trac.videolan.org/vlc/ticket/9807) [release 2.2.1-2mamba;Thu Oct 01 2015]
This commit is contained in:
parent
46d6012e4f
commit
0424969bbe
11
vlc.spec
11
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 <silvan.calarco@mambasoft.it> 2.2.1-2mamba
|
||||
- generate plugins cache at run-time (https://trac.videolan.org/vlc/ticket/9807)
|
||||
|
||||
* Tue Apr 21 2015 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user