summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-04 18:26:31 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-04 18:26:41 +0100
commitd787b8af70bfb9259d81ed699cfaee1a00be980d (patch)
treebe176435968acd4f64412a823da0798362ef60d4 /media-sound
parentnet-analyzer/traceproto: fix build with -fno-common, EAPI 7 (diff)
downloadgentoo-d787b8af70bfb9259d81ed699cfaee1a00be980d.tar.gz
gentoo-d787b8af70bfb9259d81ed699cfaee1a00be980d.tar.bz2
gentoo-d787b8af70bfb9259d81ed699cfaee1a00be980d.zip
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 <polynomial-c@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/strawberry/strawberry-0.8.5.ebuild8
-rw-r--r--media-sound/strawberry/strawberry-9999.ebuild8
2 files changed, 10 insertions, 6 deletions
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
}