commit:     68b0afea5d7cf758f1b2d39763b65396a8c65f78
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Mon Jan  2 19:54:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 05:48:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b0afea

net-misc/icaclient: fix broken BDEPEND and add error handling

When one wants to use "hdx" that does not really work as expected due to
a typo. Also include the missing "|| die"s that have been pointed out in
a previous review.

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/28940
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...client-22.12.0.12.ebuild => icaclient-22.12.0.12-r1.ebuild} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/icaclient/icaclient-22.12.0.12.ebuild 
b/net-misc/icaclient/icaclient-22.12.0.12-r1.ebuild
similarity index 97%
rename from net-misc/icaclient/icaclient-22.12.0.12.ebuild
rename to net-misc/icaclient/icaclient-22.12.0.12-r1.ebuild
index 399b2a4f22b1..c29d64d2492d 100644
--- a/net-misc/icaclient/icaclient-22.12.0.12.ebuild
+++ b/net-misc/icaclient/icaclient-22.12.0.12-r1.ebuild
@@ -40,7 +40,7 @@ REQUIRES_EXCLUDE="${REQUIRES_EXCLUDE}
        libgstreamer-0.10.so.0
 "
 
-BEPEND="
+BDEPEND="
        hdx? ( >=media-plugins/hdx-realtime-media-engine-2.9.500.2802-r1 )
 "
 
@@ -121,12 +121,12 @@ src_prepare() {
        default
        rm lib/UIDialogLibWebKit.so || die
 
-       cp nls/en/module.ini .
+       cp nls/en/module.ini . || die
        if use hdx; then
-               "${BROOT}${ICAROOT}"/rtme/RTMEconfig -install -ignoremm
-               mv new_module.ini module.ini
+               "${BROOT}${ICAROOT}"/rtme/RTMEconfig -install -ignoremm || die
+               mv new_module.ini module.ini || die
        fi
-       mv module.ini config/
+       mv module.ini config/ || die
 }
 
 src_install() {

Reply via email to