mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-util/google-antigravity: drop 1.13.3
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST google-antigravity-1.13.3_amd64.deb 153949080 BLAKE2B ac9a11ee619b795d854383351401265fd1b8e08e74f0487c5b55985974cef90773c6c94c4968eb7ea10b2710e8579af0a8288ef448050d10878da4b08f786734 SHA512 dd8b2a33a19ffa74c7d1eec0b550de896d6628a001cd5b27f992676149740f22f408cea9ba6cd478f91ff1afc06d9ddd5f7b230dd3428bdff789960ffde3974c
|
||||
DIST google-antigravity-1.13.3_arm64.deb 146018928 BLAKE2B b77141c125a785d937e1ea74aad9baa842008e849330130335592ff47c4f701bd6faa20a7bce5611882cc4d6578bcae16d0122ab86403153272f84fa21bb8e30 SHA512 ac6b607e2b5ab88a44b5c034f898d92e43b48e09193d0bdcccc107dd313e12bcf87a4835c650de3faabe6556fb87434789dc55f6bcf11c00f3776043385e81a8
|
||||
DIST google-antigravity-1.14.2_amd64.deb 154083336 BLAKE2B c4e369acc4391879214e51fd782a71ec8ab88fc90c90d2ed8b5a4964af6f8f2485187c1e8e160b26919ebc700d1f2cc94f38dbcee71c7ec4cf679bfb5196f524 SHA512 6dd27586810639c5431e92f0908be46d8efb378ccbce308af7e385aba4da03053458a01d814d791d7f5e338828158df2af6ec39e1c866542a291deffd868e347
|
||||
DIST google-antigravity-1.14.2_arm64.deb 146370080 BLAKE2B ac6d9af6731dc0a25c12190ac9a8ac8f963848e60f1053051b58246454b574545b7a38f9cbbbde9104facbe5fc500a8560a79a0a6ca04dfff3a8c34df5696c42 SHA512 677786210c5a23157a75d9b365a01faa55cd87390379a66a4ff82fcc925c8012e90dcaea6a6951085c0627e9dbc93bd029288b3aa8d4d87fd534fe1cb091d4f2
|
||||
|
||||
@@ -1,124 +0,0 @@
|
||||
# Copyright 1999-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 optfeature pax-utils unpacker xdg
|
||||
|
||||
BASE_SRC_URI="https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/pool/antigravity-debian"
|
||||
|
||||
# See ${BASE_SRC_URI}/main/binary-${ARCH}/Packages
|
||||
BUILD_ID_AMD64="1766182170"
|
||||
BUILD_ID_ARM64="1766182168"
|
||||
DEB_HASH_AMD64="365061c50063f9bd47a9ff88432261b8"
|
||||
DEB_HASH_ARM64="940bc88042cadeaee51d9b1eedf6a506"
|
||||
|
||||
DESCRIPTION="Google's AI-first IDE and agentic development platform"
|
||||
HOMEPAGE="https://antigravity.google/"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_SRC_URI}/antigravity_${PV}-${BUILD_ID_AMD64}_amd64_${DEB_HASH_AMD64}.deb -> ${P}_amd64.deb )
|
||||
arm64? ( ${BASE_SRC_URI}/antigravity_${PV}-${BUILD_ID_ARM64}_arm64_${DEB_HASH_ARM64}.deb -> ${P}_arm64.deb )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
# It's complicated...
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="kerberos"
|
||||
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
|
||||
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 )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
QA_DESKTOP_FILE="usr/share/applications/antigravity.*\\.desktop"
|
||||
|
||||
# Google Chrome installs into opt/google/chrome
|
||||
AG_HOME_BASE="opt/google"
|
||||
AG_HOME="${AG_HOME_BASE}/antigravity"
|
||||
|
||||
pkg_pretend() {
|
||||
# Protect against people using autounmask overzealously
|
||||
use amd64 || use arm64 || die "Google Antigravity only works on amd64 or arm64"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /
|
||||
cd "${ED}" || die
|
||||
unpacker
|
||||
|
||||
mkdir -p "${AG_HOME_BASE}" || die
|
||||
mv "usr/share/antigravity" "${AG_HOME_BASE}/" || die
|
||||
|
||||
pushd "${AG_HOME}/locales" > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
|
||||
rm "${AG_HOME}/resources/app/ThirdPartyNotices.txt" || die
|
||||
sed -e "/updateUrl/d" -i "${AG_HOME}/resources/app/product.json" || die
|
||||
|
||||
if ! use kerberos; then
|
||||
rm -r "${AG_HOME}/resources/app/node_modules/kerberos" || 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 \
|
||||
usr/share/mime/packages/antigravity-workspace.xml || die
|
||||
|
||||
sed -e "s|^Exec=/usr/share/antigravity/antigravity |Exec=/${AG_HOME}/antigravity |" \
|
||||
-i usr/share/applications/*.desktop || die
|
||||
|
||||
mv usr/share/appdata usr/share/metainfo || die
|
||||
|
||||
pax-mark m "${AG_HOME}/antigravity"
|
||||
dosym -r "/${AG_HOME}/bin/antigravity" "usr/bin/google-antigravity"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
}
|
||||
Reference in New Issue
Block a user