From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1333299-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E58AE158087
	for <garchives@archives.gentoo.org>; Sun, 24 Oct 2021 20:23:00 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1F43AE081A;
	Sun, 24 Oct 2021 20:23:00 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 07E32E081A
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Oct 2021 20:22:59 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5273C3436C7
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Oct 2021 20:22:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B3A0E132
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Oct 2021 20:22:55 +0000 (UTC)
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" <chewi@gentoo.org>
Message-ID: <1635106943.dc1b5c0c07541e052cfef7698574c25c109b0360.chewi@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/v4l-utils/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-tv/v4l-utils/v4l-utils-1.20.0.ebuild
X-VCS-Directories: media-tv/v4l-utils/
X-VCS-Committer: chewi
X-VCS-Committer-Name: James Le Cuirot
X-VCS-Revision: dc1b5c0c07541e052cfef7698574c25c109b0360
X-VCS-Branch: master
Date: Sun, 24 Oct 2021 20:22:55 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 23f7f1a2-5205-4a22-96c2-b5895dc14fac
X-Archives-Hash: 5ae5667196ffb31f451e067df6dd1347

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
+}