media-sound/lollypop: Print note for yt-dlp only on relevant upgrade

Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Yuan Liao
2024-04-18 11:33:06 +00:00
committed by Yixun Lan
parent d795bf2203
commit 08f39086f5
+7 -1
View File
@@ -66,7 +66,13 @@ pkg_postinst() {
gnome2_schemas_update
elog "Remember to install the necessary gst-plugins packages to read your audio files."
elog "You can also use the gst-plugins-meta pakcage and its USE flags."
elog "Lollypop now relies on yt-dlp instead of youtube-dl, since version 1.4.36."
local log_yt_dlp ver
for ver in ${REPLACING_VERSIONS}; do
ver_test "${ver}" -lt "1.4.36" && log_yt_dlp=1
done
[[ ${log_yt_dlp} ]] &&
elog "Since version 1.4.36, Lollypop relies on yt-dlp instead of youtube-dl."
}
pkg_postrm() {