dev-util/google-antigravity: rename USE flag to webkit

Align with app-editors/vscode, which gates the same functionality via
USE=webkit.

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger
2026-05-30 14:48:13 +02:00
parent c92674eebd
commit a9e3f478f5
2 changed files with 6 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ S="${WORKDIR}"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="kerberos +ms-auth verify-sig"
IUSE="kerberos verify-sig webkit"
RESTRICT="bindist mirror strip"
RDEPEND="
@@ -73,7 +73,7 @@ RDEPEND="
x11-libs/pango
x11-misc/xdg-utils
kerberos? ( app-crypt/mit-krb5 )
ms-auth? (
webkit? (
net-libs/libsoup:3.0
net-libs/webkit-gtk:4.1
)
@@ -137,6 +137,10 @@ src_install() {
rm -r "${AG_HOME}/resources/app/node_modules/kerberos" || die
fi
if ! use webkit; then
rm -r "${AG_HOME}/resources/app/extensions/microsoft-authentication" || die
fi
# Do we really need a separate MIME type for the same file?
sed -e "s|application/x-antigravity-workspace|application/x-code-workspace|g" -i \
usr/share/applications/*.desktop \

View File

@@ -5,9 +5,6 @@
<email>falbrechtskirchinger@gmail.com</email>
<name>Florian Albrechtskirchinger</name>
</maintainer>
<use>
<flag name="ms-auth">Enable Microsoft Authentication</flag>
</use>
<upstream>
<changelog>https://antigravity.google/changelog</changelog>
</upstream>