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>
43 lines
1.3 KiB
Ruby
43 lines
1.3 KiB
Ruby
require 'package'
|
|
|
|
class Seamonkey < Package
|
|
description 'Web-browser, advanced e-mail, newsgroup and feed client, IRC chat, and HTML editing made simple'
|
|
homepage 'https://www.seamonkey-project.org/'
|
|
version '2.53.22'
|
|
license 'Mozilla Public License 2.0'
|
|
compatibility 'x86_64'
|
|
min_glibc '2.28'
|
|
source_url "https://archive.seamonkey-project.org/releases/#{version}/linux-x86_64/en-US/seamonkey-#{version}.en-US.linux-x86_64.tar.bz2"
|
|
source_sha256 '56607cdb040aee55caef740441dd06a4d2a385c4c279a29d5aa95757aacfb7e0'
|
|
|
|
depends_on 'dbus_glib'
|
|
depends_on 'gtk3'
|
|
depends_on 'sommelier' => :logical
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/seamonkey"
|
|
FileUtils.mv Dir['*'], "#{CREW_DEST_PREFIX}/share/seamonkey"
|
|
FileUtils.ln_s "#{CREW_PREFIX}/share/seamonkey/seamonkey", "#{CREW_DEST_PREFIX}/bin/seamonkey"
|
|
end
|
|
|
|
def self.postinstall
|
|
ConvenienceFunctions.set_default_browser('seamonkey', 'seamonkey')
|
|
end
|
|
|
|
def self.preremove
|
|
ConvenienceFunctions.unset_default_browser('seamonkey', 'seamonkey')
|
|
end
|
|
|
|
def self.postremove
|
|
if Dir.exist?("#{HOME}/.mozilla/firefox")
|
|
Package.agree_to_remove("#{HOME}/.mozilla/seamonkey")
|
|
else
|
|
Package.agree_to_remove("#{HOME}/.mozilla")
|
|
end
|
|
end
|
|
end
|