From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD2B8158094 for ; Sun, 26 Jun 2022 08:47:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FDA6E07D8; Sun, 26 Jun 2022 08:47:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE779E07D8 for ; Sun, 26 Jun 2022 08:47:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4180134167C for ; Sun, 26 Jun 2022 08:47:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1A63480 for ; Sun, 26 Jun 2022 08:47:29 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1656233244.a6aca0f4ebb5f44ef5928536237901f780940717.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-103.0.5060.53.ebuild www-client/chromium/chromium-104.0.5112.12.ebuild X-VCS-Directories: www-client/chromium/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: a6aca0f4ebb5f44ef5928536237901f780940717 X-VCS-Branch: master Date: Sun, 26 Jun 2022 08:47:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5e18e567-8cbc-40f6-9683-70ad8269a324 X-Archives-Hash: 426a6f0f6b17761733b8f01c9a5c2fd4 commit: a6aca0f4ebb5f44ef5928536237901f780940717 Author: Stephan Hartmann gentoo org> AuthorDate: Sun Jun 26 08:47:02 2022 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Sun Jun 26 08:47:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6aca0f4 www-client/chromium: add sanity check for java Closes: https://bugs.gentoo.org/853907 Signed-off-by: Stephan Hartmann gentoo.org> www-client/chromium/chromium-103.0.5060.53.ebuild | 3 +++ www-client/chromium/chromium-104.0.5112.12.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/www-client/chromium/chromium-103.0.5060.53.ebuild b/www-client/chromium/chromium-103.0.5060.53.ebuild index 8804b294ac3e..e050cf35e16f 100644 --- a/www-client/chromium/chromium-103.0.5060.53.ebuild +++ b/www-client/chromium/chromium-103.0.5060.53.ebuild @@ -246,6 +246,9 @@ pre_build_checks() { die "At least clang 12 is required" fi fi + if use js-type-check; then + "${EPREFIX}"/usr/bin/java --version 2>1 > /dev/null || die "Java VM not setup correctly" + fi fi # Check build requirements, bug #541816 and bug #471810 . diff --git a/www-client/chromium/chromium-104.0.5112.12.ebuild b/www-client/chromium/chromium-104.0.5112.12.ebuild index 9b53801353e1..82f9045bb733 100644 --- a/www-client/chromium/chromium-104.0.5112.12.ebuild +++ b/www-client/chromium/chromium-104.0.5112.12.ebuild @@ -256,6 +256,9 @@ pre_build_checks() { die "At least clang 12 is required" fi fi + if use js-type-check; then + "${EPREFIX}"/usr/bin/java --version 2>1 > /dev/null || die "Java VM not setup correctly" + fi fi # Check build requirements, bug #541816 and bug #471810 .