public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/baka-mplayer/
Date: Tue, 21 Jan 2020 19:11:50 +0000 (UTC)	[thread overview]
Message-ID: <1579633849.2329d32b35d5cb7bf4f472f2536b922dca3270f8.asturm@gentoo> (raw)

commit:     2329d32b35d5cb7bf4f472f2536b922dca3270f8
Author:     Christopher Steward <cstew764 <AT> gmail <DOT> com>
AuthorDate: Fri Jan  3 22:55:09 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 21 19:10:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2329d32b

media-video/baka-mplayer: QA fix for xdg icon cache update

Simple fix of QA issue reported by emerge, where
xdg_icon_cache_update() has to be called after installing
and after removing.

Signed-off-by: Christopher Steward <cstew764 <AT> gmail.com>
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild | 14 +++++++++++---
 media-video/baka-mplayer/baka-mplayer-9999.ebuild     | 15 ++++++++++++---
 2 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
index e13186333ae..2dabd87c4c2 100644
--- a/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
+++ b/media-video/baka-mplayer/baka-mplayer-2.0.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit qmake-utils
+inherit qmake-utils xdg-utils
 
 DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design"
 HOMEPAGE="http://bakamplayer.u8sand.net/"
@@ -16,8 +16,8 @@ IUSE=""
 
 BDEPEND="
 	dev-qt/linguist-tools:5
-	virtual/pkgconfig
-"
+	virtual/pkgconfig"
+
 RDEPEND="
 	dev-qt/qtcore:5
 	dev-qt/qtgui:5
@@ -49,3 +49,11 @@ src_configure() {
 		lupdate="$(qt5_get_bindir)"/lupdate \
 		src/Baka-MPlayer.pro
 }
+
+pkg_postinst() {
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}

diff --git a/media-video/baka-mplayer/baka-mplayer-9999.ebuild b/media-video/baka-mplayer/baka-mplayer-9999.ebuild
index 73e27a96b7c..1351f8663d3 100644
--- a/media-video/baka-mplayer/baka-mplayer-9999.ebuild
+++ b/media-video/baka-mplayer/baka-mplayer-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit qmake-utils git-r3
+inherit qmake-utils git-r3 xdg-utils
 
 DESCRIPTION="Cross-platform libmpv-based multimedia player with uncluttered design"
 HOMEPAGE="http://bakamplayer.u8sand.net/"
@@ -18,7 +18,8 @@ BDEPEND="
 	dev-qt/linguist-tools:5
 	virtual/pkgconfig"
 
-RDEPEND="dev-qt/qtcore:5
+RDEPEND="
+	dev-qt/qtcore:5
 	dev-qt/qtgui:5
 	dev-qt/qtnetwork:5
 	dev-qt/qtsvg:5
@@ -46,3 +47,11 @@ src_configure() {
 		lupdate="$(qt5_get_bindir)"/lupdate \
 		src/Baka-MPlayer.pro
 }
+
+pkg_postinst() {
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


             reply	other threads:[~2020-01-21 19:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21 19:11 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-29 20:29 [gentoo-commits] repo/gentoo:master commit in: media-video/baka-mplayer/ Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-11-07 19:30 Ionen Wolkens
2022-06-14  8:15 Jakov Smolić
2021-12-24  7:07 Agostino Sarubbo
2020-10-10  1:24 Georgy Yakovlev
2020-01-21 19:11 Andreas Sturmlechner
2020-01-21 19:11 Andreas Sturmlechner
2020-01-21 19:11 Andreas Sturmlechner
2020-01-21 19:11 Andreas Sturmlechner
2019-04-22 10:41 Andreas Sturmlechner
2016-10-28 14:14 Michael Palimaka
2016-10-28 14:14 Michael Palimaka
2015-12-15 17:41 Michael Palimaka
2015-12-15 17:41 Michael Palimaka
2015-08-24 15:00 Ben de Groot
2015-08-09 12:30 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1579633849.2329d32b35d5cb7bf4f472f2536b922dca3270f8.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox