mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-util/google-antigravity-ide: add 2.5.5
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
2 files changed
+136
No files matched your search
@@ -2,3 +2,5 @@ DIST google-antigravity-ide-2.0.4_amd64.tar.gz 241557573 BLAKE2B bf357247921718d
|
||||
DIST google-antigravity-ide-2.0.4_arm64.tar.gz 237028342 BLAKE2B ee50f01fe287ce94845c7055a9474ef78a88b248f79a0a9a1d272d4ee717aa04cbb152e97f7357afc2bdf892804b5b1982f0ab399354a83221979296222f00c4 SHA512 eab641909e28b8a5ec4840377cca522d6cb490b3214596d7d019861247ee5ee12d49bbd1e964f168aba5035b967e76b1c39e460932c0eee78c23b8922495dbc6
|
||||
DIST google-antigravity-ide-2.1.1_amd64.tar.gz 232330396 BLAKE2B f4824f97635589990848e3f88544a51e59c11da0de9135f16220b68b342c311d4fa4d1e0b36271629ce40824d715553eca11213f5c7469b691869d776bc6d411 SHA512 c009b46aa9b67928fafdd8f7dd242a1c97e04d08fbda80e2253bd5e64a06a0d37ebe90ae2bb699364e66f76878cf72e80bb55c3e1a1d03dae7293db4310d3dba
|
||||
DIST google-antigravity-ide-2.1.1_arm64.tar.gz 228608508 BLAKE2B 48e331bccfc78be22b5fa6778d2c4c2e31bcefd31fdda699e255f5ef52de5af66ed965599de1154e8ae0bbeeaa1634d4d9bf297741ca924db77147510aeb1d55 SHA512 3e5de8bff9fe23b23877444c976c3b05d7ce76b9d4c6830f1dd241197b48028328176a0dd219e5e2bf11eb7a9af18d5fb83405e2732a902ad2e1a42a0fc84503
|
||||
DIST google-antigravity-ide-2.5.5_amd64.tar.gz 240837095 BLAKE2B c016152db0e08f3c49ee353481135c4285ac9f837da295021600464a41b7ee054d5e72ba0e1462d1c26e6bab0b06e1dcf6346f8df015acf2f1dc24ed03e65264 SHA512 40e5214288bc330aa07467e2707e13cebb7b55037993398fcd421f258d36fc8552414f6396c7e00fb6fcbd0a7089c4dbed3f89f44e4d276372a64df55147ca50
|
||||
DIST google-antigravity-ide-2.5.5_arm64.tar.gz 236865493 BLAKE2B 09e5454f9793c536eeb9d3b10a7a08203caada8046f6c04f7b470509bcfd99337a134c07d682459af31920028e87446860d3d2e23b1c25e554114948832fcadd SHA512 1254df495be1eb96bedc9f2332ff6a822d22dce986824a610eb2c8e6a4dc76166ef2ce01174431d2739b6286c68658e8a2f4b2f87baadc0a070ef448edff35c1
|
||||
@@ -0,0 +1,134 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB en-US es-419 es et fa fi
|
||||
fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR
|
||||
pt-PT ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW"
|
||||
|
||||
inherit chromium-2 desktop optfeature pax-utils shell-completion xdg
|
||||
|
||||
EXECUTION_ID="4923483625488384"
|
||||
|
||||
MY_PN="${PN#google-}"
|
||||
DESCRIPTION="Google Antigravity's Editor view with context-aware agent"
|
||||
HOMEPAGE="https://antigravity.google/"
|
||||
BASE_URI="https://edgedl.me.gvt1.com/edgedl/release2/j0qc3/antigravity/stable/${PV}-${EXECUTION_ID}"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}/linux-x64/Antigravity%20IDE.tar.gz -> ${P}_amd64.tar.gz )
|
||||
arm64? ( ${BASE_URI}/linux-arm/Antigravity%20IDE.tar.gz -> ${P}_arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
# It's complicated...
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
IUSE="kerberos webkit"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
sys-apps/systemd
|
||||
sys-apps/systemd-utils
|
||||
)
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libglvnd
|
||||
media-libs/mesa
|
||||
net-misc/curl
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
virtual/zlib:=
|
||||
sys-process/lsof
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
webkit? (
|
||||
net-libs/libsoup:3.0
|
||||
net-libs/webkit-gtk:4.1
|
||||
)
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
QA_DESKTOP_FILE="usr/share/applications/${MY_PN}.*\\.desktop"
|
||||
|
||||
AGY_HOME_BASE="opt/google"
|
||||
AGY_HOME="${AGY_HOME_BASE}/${MY_PN}"
|
||||
|
||||
pkg_setup() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv "Antigravity IDE" "${MY_PN}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cd "${MY_PN}" || die
|
||||
|
||||
pushd locales > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r resources/app/node_modules/kerberos || die
|
||||
fi
|
||||
|
||||
if ! use webkit; then
|
||||
rm -r resources/app/extensions/microsoft-authentication || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${MY_PN}" || die
|
||||
|
||||
mkdir -p "${ED}/${AGY_HOME}" || die
|
||||
cp -r . "${ED}/${AGY_HOME}" || die
|
||||
|
||||
pax-mark m "${ED}/${AGY_HOME}/bin/${MY_PN}"
|
||||
fperms 0755 "/${AGY_HOME}/${MY_PN}" "/${AGY_HOME}/bin/${MY_PN}"
|
||||
dosym "/${AGY_HOME}/bin/${MY_PN}" "/usr/bin/${MY_PN}"
|
||||
|
||||
fperms 4711 "/${AGY_HOME}/chrome-sandbox"
|
||||
|
||||
domenu "${FILESDIR}/${MY_PN}.desktop"
|
||||
newicon -s scalable "${ED}/${AGY_HOME}/resources/app/resources/linux/code.png" ${MY_PN}.png
|
||||
|
||||
insinto /usr/share/metainfo
|
||||
doins "${FILESDIR}/${MY_PN}.metainfo.xml"
|
||||
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/${MY_PN}-workspace.xml"
|
||||
|
||||
newbashcomp "${ED}/${AGY_HOME}/resources/completions/bash/antigravity-ide" antigravity-ide
|
||||
newzshcomp "${ED}/${AGY_HOME}/resources/completions/zsh/_antigravity-ide" _antigravity-ide
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
}
|
||||
Reference in new issue
Block a user