[packages/audacity] update desktop database and icon cache

atler atler at pld-linux.org
Tue Sep 26 23:30:22 CEST 2023


commit 1c304787eead207495ceb7413d19ab17a15cdf2b
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Sep 26 21:19:16 2023 +0200

    update desktop database and icon cache

 audacity.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/audacity.spec b/audacity.spec
index 740e6da..c025bd6 100644
--- a/audacity.spec
+++ b/audacity.spec
@@ -81,8 +81,11 @@ BuildRequires:	which
 %{?with_gtk3:BuildRequires:	wxGTK3-unicode-devel >= 3.1.3}
 BuildRequires:	xz
 BuildRequires:	zlib-devel
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	gtk-update-icon-cache
 Requires(post,postun):	shared-mime-info
 Requires:	flac-c++ >= 1.3.1
+Requires:	hicolor-icon-theme
 # dlopened
 Requires:	lame-libs
 Requires:	libid3tag >= 0.15.0b-2
@@ -220,9 +223,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_mime_database
+%update_desktop_database_post
+%update_icon_cache hicolor
 
 %postun
 %update_mime_database
+%update_desktop_database_postun
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/audacity.git/commitdiff/708ea8a9528b5e79f973b27c288673561fa66fb5



More information about the pld-cvs-commit mailing list