From d787b8af70bfb9259d81ed699cfaee1a00be980d Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 4 Jan 2021 18:26:31 +0100 Subject: media-sound/strawberry: Only emit postinst msg with USE="gstreamer" Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Lars Wendler --- media-sound/strawberry/strawberry-0.8.5.ebuild | 8 +++++--- media-sound/strawberry/strawberry-9999.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'media-sound') diff --git a/media-sound/strawberry/strawberry-0.8.5.ebuild b/media-sound/strawberry/strawberry-0.8.5.ebuild index f13c436d5df3..1cd5ea5c680a 100644 --- a/media-sound/strawberry/strawberry-0.8.5.ebuild +++ b/media-sound/strawberry/strawberry-0.8.5.ebuild @@ -124,7 +124,9 @@ src_configure() { pkg_postinst() { xdg_pkg_postinst - elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " - elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " - elog "depending on your preferences" + if use gstreamer ; then + elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " + elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " + elog "depending on your preferences" + fi } diff --git a/media-sound/strawberry/strawberry-9999.ebuild b/media-sound/strawberry/strawberry-9999.ebuild index f13c436d5df3..1cd5ea5c680a 100644 --- a/media-sound/strawberry/strawberry-9999.ebuild +++ b/media-sound/strawberry/strawberry-9999.ebuild @@ -124,7 +124,9 @@ src_configure() { pkg_postinst() { xdg_pkg_postinst - elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " - elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " - elog "depending on your preferences" + if use gstreamer ; then + elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta " + elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags " + elog "depending on your preferences" + fi } -- cgit v1.2.3-65-gdbad