commit:     b946d6fef0d8294c2be91f0a5a93722dddeb0a88
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  8 11:20:18 2019 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 11:20:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b946d6fe

media-libs/phonon-gstreamer: update icon cache

Closes: https://bugs.gentoo.org/682474
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>

 media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild | 10 +++++++++-
 media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild     | 12 ++++++++++--
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild 
b/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild
index e2f6469b9c6..c80af05ae4f 100644
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild
+++ b/media-libs/phonon-gstreamer/phonon-gstreamer-4.9.0-r3.ebuild
@@ -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
+}

diff --git a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild 
b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild
index 0d59d267cf7..541cae229fe 100644
--- a/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild
+++ b/media-libs/phonon-gstreamer/phonon-gstreamer-9999.ebuild
@@ -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
+}

Reply via email to