mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
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:
@@ -34,7 +34,7 @@ S="${WORKDIR}"
|
|||||||
LICENSE="all-rights-reserved"
|
LICENSE="all-rights-reserved"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
IUSE="kerberos +ms-auth verify-sig"
|
IUSE="kerberos verify-sig webkit"
|
||||||
RESTRICT="bindist mirror strip"
|
RESTRICT="bindist mirror strip"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
@@ -73,7 +73,7 @@ RDEPEND="
|
|||||||
x11-libs/pango
|
x11-libs/pango
|
||||||
x11-misc/xdg-utils
|
x11-misc/xdg-utils
|
||||||
kerberos? ( app-crypt/mit-krb5 )
|
kerberos? ( app-crypt/mit-krb5 )
|
||||||
ms-auth? (
|
webkit? (
|
||||||
net-libs/libsoup:3.0
|
net-libs/libsoup:3.0
|
||||||
net-libs/webkit-gtk:4.1
|
net-libs/webkit-gtk:4.1
|
||||||
)
|
)
|
||||||
@@ -137,6 +137,10 @@ src_install() {
|
|||||||
rm -r "${AG_HOME}/resources/app/node_modules/kerberos" || die
|
rm -r "${AG_HOME}/resources/app/node_modules/kerberos" || die
|
||||||
fi
|
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?
|
# 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 \
|
sed -e "s|application/x-antigravity-workspace|application/x-code-workspace|g" -i \
|
||||||
usr/share/applications/*.desktop \
|
usr/share/applications/*.desktop \
|
||||||
|
|||||||
@@ -5,9 +5,6 @@
|
|||||||
<email>falbrechtskirchinger@gmail.com</email>
|
<email>falbrechtskirchinger@gmail.com</email>
|
||||||
<name>Florian Albrechtskirchinger</name>
|
<name>Florian Albrechtskirchinger</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
|
||||||
<flag name="ms-auth">Enable Microsoft Authentication</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
<upstream>
|
||||||
<changelog>https://antigravity.google/changelog</changelog>
|
<changelog>https://antigravity.google/changelog</changelog>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
|||||||
Reference in New Issue
Block a user