commit: dc1b5c0c07541e052cfef7698574c25c109b0360 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sun Oct 24 15:55:46 2021 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sun Oct 24 20:22:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1b5c0c
media-tv/v4l-utils: Add warning about ir-keytable changes Sorry this is a bit late! Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> Closes: https://bugs.gentoo.org/767175 media-tv/v4l-utils/v4l-utils-1.20.0.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild b/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild index 4965c6c3c70..d10a82913bc 100644 --- a/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild +++ b/media-tv/v4l-utils/v4l-utils-1.20.0.ebuild @@ -104,3 +104,13 @@ src_install() { newdoc utils/dvb/README README.dvb newdoc utils/v4l2-compliance/fixme.txt fixme.txt.v4l2-compliance } + +pkg_postinst() { + xdg_pkg_postinst + + if [[ -n ${REPLACING_VERSIONS} ]] && ver_test 1.20.0 -ge ${REPLACING_VERSIONS%% *}; then + ewarn "WARNING! ir-keytable has changed significantly from version 1.20.0 so" + ewarn "you may need to take action to avoid breakage. See" + ewarn "https://bugs.gentoo.org/767175 for more details." + fi +}