diff options
author | Yuan Liao <liaoyuan@gmail.com> | 2024-04-12 11:17:29 -0400 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-04-18 11:33:06 +0000 |
commit | 08f39086f55134eccabea60ddb7bd0484fe7bbb4 (patch) | |
tree | 078d0bdd6b2d61d8434c7025b18f71c119ed9010 /media-sound | |
parent | media-sound/lollypop: Fix Python shebang in /usr/libexec/lollypop-sp (diff) | |
download | gentoo-08f39086f55134eccabea60ddb7bd0484fe7bbb4.tar.gz gentoo-08f39086f55134eccabea60ddb7bd0484fe7bbb4.tar.bz2 gentoo-08f39086f55134eccabea60ddb7bd0484fe7bbb4.zip |
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>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/lollypop/lollypop-1.4.39.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
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() { |