media-libs/phonon-gstreamer: update icon cache
authorMichael Palimaka <kensington@gentoo.org>
Mon, 8 Apr 2019 11:20:18 +0000 (21:20 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 8 Apr 2019 11:20:34 +0000 (21:20 +1000)
Closes: https://bugs.gentoo.org/682474
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild
media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild

index e2f6469b9c616916f4d03c2746e6a649c033427e..c80af05ae4f4e6b831c02d1e74206112f154b75e 100644 (file)
@@ -14,7 +14,7 @@ else
        inherit git-r3
 fi
 
-inherit cmake-utils
+inherit cmake-utils xdg-utils
 
 DESCRIPTION="Phonon GStreamer backend"
 HOMEPAGE="https://phonon.kde.org/"
@@ -52,3 +52,11 @@ src_configure() {
        local mycmakeargs=( -DPHONON_BUILD_PHONON4QT5=ON )
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}
index 0d59d267cf77497ac270887116d7be10aef4032b..541cae229fe1f1cecf523d59e575aa6912b76e2e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ else
        inherit git-r3
 fi
 
-inherit cmake-utils
+inherit cmake-utils xdg-utils
 
 DESCRIPTION="Phonon GStreamer backend"
 HOMEPAGE="https://phonon.kde.org/"
@@ -47,3 +47,11 @@ src_configure() {
        local mycmakeargs=( -DPHONON_BUILD_PHONON4QT5=ON )
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}