[packages/mpv] update desktop and icon database
atler
atler at pld-linux.org
Sun Jul 23 21:23:55 CEST 2023
commit 88ee6beb2d11eb707a2ca3788ca9a65e96c3f585
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jul 23 21:08:10 2023 +0200
update desktop and icon database
mpv.spec | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/mpv.spec b/mpv.spec
index 8d4537c..7b9eb72 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -78,9 +78,12 @@ BuildRequires: xorg-lib-libxkbcommon-devel >= 0.3.0
BuildRequires: xorg-proto-xproto-devel
%{?with_zimg:BuildRequires: zimg-devel >= 3.0.5}
BuildRequires: zlib-devel
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
Requires: OpenAL >= 1.13
Requires: OpenGL
Requires: alsa-lib >= 1.0.18
+Requires: hicolor-icon-theme
%requires_eq_to ffmpeg-libs ffmpeg-devel
Requires: lcms2 >= 2.6
Requires: libarchive >= 3.4.0
@@ -232,6 +235,14 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mpv
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database_post
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
+
%post client-libs -p /sbin/ldconfig
%postun client-libs -p /sbin/ldconfig
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mpv.git/commitdiff/88ee6beb2d11eb707a2ca3788ca9a65e96c3f585
More information about the pld-cvs-commit
mailing list