commit: 08f39086f55134eccabea60ddb7bd0484fe7bbb4 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com> AuthorDate: Fri Apr 12 15:17:29 2024 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Thu Apr 18 11:33:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f39086
media-sound/lollypop: Print note for yt-dlp only on relevant upgrade Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> media-sound/lollypop/lollypop-1.4.39.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/media-sound/lollypop/lollypop-1.4.39.ebuild b/media-sound/lollypop/lollypop-1.4.39.ebuild index 05a8e39d38ae..537a094a4c05 100644 --- a/media-sound/lollypop/lollypop-1.4.39.ebuild +++ b/media-sound/lollypop/lollypop-1.4.39.ebuild @@ -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() {