summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2021-01-26 16:33:49 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2021-01-26 16:34:21 -0600
commit84bd9686689ebbd57daff119d52b853c319c2881 (patch)
tree34b80a177beea6d24c48c1411379a2034709bec5 /media-sound/pulseeffects
parentmedia-libs/kquickimageeditor: Drop 0.1.2 (diff)
downloadgentoo-84bd9686689ebbd57daff119d52b853c319c2881.tar.gz
gentoo-84bd9686689ebbd57daff119d52b853c319c2881.tar.bz2
gentoo-84bd9686689ebbd57daff119d52b853c319c2881.zip
media-sound/pulseeffects: add warning about switching to pipewire
Closes: https://bugs.gentoo.org/767370 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'media-sound/pulseeffects')
-rw-r--r--media-sound/pulseeffects/pulseeffects-5.0.0.ebuild11
-rw-r--r--media-sound/pulseeffects/pulseeffects-9999.ebuild11
2 files changed, 22 insertions, 0 deletions
diff --git a/media-sound/pulseeffects/pulseeffects-5.0.0.ebuild b/media-sound/pulseeffects/pulseeffects-5.0.0.ebuild
index e717723570b7..bc49c613efc6 100644
--- a/media-sound/pulseeffects/pulseeffects-5.0.0.ebuild
+++ b/media-sound/pulseeffects/pulseeffects-5.0.0.ebuild
@@ -61,6 +61,17 @@ pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
+ if [[ "${PV}" != 9999 ]]; then
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt "5.0.0"; then
+ if ver_test ${REPLACED_BY_VERSION} -ge "5.0.0"; then
+ elog "PulseEffects has switched to pipewire as it's audio backend"
+ elog "See https://wiki.gentoo.org/wiki/Pipewire for how to use the new backend"
+ fi
+ fi
+ done
+ fi
}
pkg_postrm() {
diff --git a/media-sound/pulseeffects/pulseeffects-9999.ebuild b/media-sound/pulseeffects/pulseeffects-9999.ebuild
index e717723570b7..bc49c613efc6 100644
--- a/media-sound/pulseeffects/pulseeffects-9999.ebuild
+++ b/media-sound/pulseeffects/pulseeffects-9999.ebuild
@@ -61,6 +61,17 @@ pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
+ if [[ "${PV}" != 9999 ]]; then
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ver_test "${v}" -lt "5.0.0"; then
+ if ver_test ${REPLACED_BY_VERSION} -ge "5.0.0"; then
+ elog "PulseEffects has switched to pipewire as it's audio backend"
+ elog "See https://wiki.gentoo.org/wiki/Pipewire for how to use the new backend"
+ fi
+ fi
+ done
+ fi
}
pkg_postrm() {