summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-10-24 16:55:46 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-10-24 21:22:23 +0100
commitdc1b5c0c07541e052cfef7698574c25c109b0360 (patch)
tree6345e215649e06302f9221a97e7849d7c6af9ffe /media-tv/v4l-utils
parentnet-misc/dhcpcd: Revert back to EAPI-7 (diff)
downloadgentoo-dc1b5c0c07541e052cfef7698574c25c109b0360.tar.gz
gentoo-dc1b5c0c07541e052cfef7698574c25c109b0360.tar.bz2
gentoo-dc1b5c0c07541e052cfef7698574c25c109b0360.zip
media-tv/v4l-utils: Add warning about ir-keytable changes
Sorry this is a bit late! Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://bugs.gentoo.org/767175
Diffstat (limited to 'media-tv/v4l-utils')
-rw-r--r--media-tv/v4l-utils/v4l-utils-1.20.0.ebuild10
1 files changed, 10 insertions, 0 deletions
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 4965c6c3c704..d10a82913bc4 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
+}