mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt firefox to updater-firefox-147.0.2 * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Change all sommelier deps to => :logical deps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix circular dependencies of docbook_xml and docbook_xml412. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup docbook circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix elogind, ffmpeg circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup more circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Mark packages from successful builds as automatically buildable. * updater-firefox-147.0.2: Package File Update Run on linux/386 container. * Add filelists and updated packages. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix gstreamer deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle missing dlist, update pipewire filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add rsu_client filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Suggested changes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust elogind deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust docbook heredocs. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
35 lines
1.2 KiB
Ruby
35 lines
1.2 KiB
Ruby
require 'package'
|
|
|
|
class Antigravity < Package
|
|
description 'Next-generation IDE from Google'
|
|
homepage 'https://antigravity.google/'
|
|
version '1.14.2'
|
|
license 'Google Terms of Service'
|
|
compatibility 'x86_64'
|
|
min_glibc '2.28'
|
|
# To display this url, the latest Debian package must be installed and then run 'apt download --print-uris antigravity'
|
|
source_url 'https://us-central1-apt.pkg.dev/projects/antigravity-auto-updater-dev/pool/antigravity-debian/antigravity_1.14.2-1768287740_amd64_5527204873323b09e7e6bc003cf22f91.deb'
|
|
source_sha256 '770f440b025afba6d140a0791e91f16e957456f501c766948710c939eff09206'
|
|
|
|
no_compile_needed
|
|
|
|
depends_on 'sommelier' => :logical
|
|
|
|
def self.preflight
|
|
# Need at least 1.4 gb of free disk space to install.
|
|
MiscFunctions.check_free_disk_space(1468006400)
|
|
end
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mv 'share', CREW_DEST_PREFIX
|
|
FileUtils.ln_s "#{CREW_PREFIX}/share/antigravity/bin/antigravity", "#{CREW_DEST_PREFIX}/bin/antigravity"
|
|
end
|
|
|
|
def self.postremove
|
|
Package.agree_to_remove("#{HOME}/.antigravity")
|
|
Package.agree_to_remove("#{HOME}/.gemini")
|
|
Package.agree_to_remove("#{CREW_PREFIX}/.config/Antigravity")
|
|
end
|
|
end
|