Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
f9f89ce1
Commit
f9f89ce1
authored
Mar 24, 2021
by
Ed Reel
Committed by
GitHub
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update firefox from 85.0.2 to 87.0 (#5475)
Add true list of dependencies Remove apulse dependency
parent
5aee4bca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
18 deletions
+28
-18
packages/firefox.rb
packages/firefox.rb
+28
-18
No files found.
packages/firefox.rb
View file @
f9f89ce1
...
@@ -3,36 +3,46 @@ require 'package'
...
@@ -3,36 +3,46 @@ require 'package'
class
Firefox
<
Package
class
Firefox
<
Package
description
'Mozilla Firefox (or simply Firefox) is a free and open-source web browser'
description
'Mozilla Firefox (or simply Firefox) is a free and open-source web browser'
homepage
'https://www.mozilla.org/en-US/firefox/'
homepage
'https://www.mozilla.org/en-US/firefox/'
version
'8
5.0.2
'
version
'8
7.0
'
license
'MPL-2.0, GPL-2 and LGPL-2.1'
license
'MPL-2.0, GPL-2 and LGPL-2.1'
compatibility
'i686,x86_64'
compatibility
'i686,x86_64'
case
ARCH
case
ARCH
when
'i686'
when
'i686'
source_url
"https://archive.mozilla.org/pub/firefox/releases/
#{
version
}
/linux-i686/en-US/firefox-
#{
version
}
.tar.bz2"
source_url
"https://archive.mozilla.org/pub/firefox/releases/
#{
version
}
/linux-i686/en-US/firefox-
#{
version
}
.tar.bz2"
source_sha256
'
83ace0384a14e383e65716ef9305d72e39832b855ebecf2035e6267b4c9a97a5
'
source_sha256
'
9127aee106dd9f09fac0c3cb89c5d75553384da4ec9be5943b60a5f55f31fccc
'
when
'x86_64'
when
'x86_64'
source_url
"https://archive.mozilla.org/pub/firefox/releases/
#{
version
}
/linux-x86_64/en-US/firefox-
#{
version
}
.tar.bz2"
source_url
"https://archive.mozilla.org/pub/firefox/releases/
#{
version
}
/linux-x86_64/en-US/firefox-
#{
version
}
.tar.bz2"
source_sha256
'
98763f4b1526811967d71e1bbb9552a9a3fd877321ecb497083b9e313b528c31
'
source_sha256
'
3c9207bee0a998634c4fd12293acfae207d16508749ad405bf1e8717d06acf02
'
end
end
case
ARCH
depends_on
'atk'
when
'i686'
,
'x86_64'
depends_on
'cairo'
depends_on
'dbus'
depends_on
'dbus_glib'
depends_on
'fontconfig'
depends_on
'freetype'
depends_on
'gdk_pixbuf'
depends_on
'glib'
depends_on
'gtk2'
depends_on
'gtk3'
depends_on
'gtk3'
depends_on
'apulse'
depends_on
'libx11'
depends_on
'libxcb'
depends_on
'libxcomposite'
depends_on
'libxcursor'
depends_on
'libxdamage'
depends_on
'libxext'
depends_on
'libxfixes'
depends_on
'libxi'
depends_on
'libxrender'
depends_on
'libxt'
depends_on
'pango'
depends_on
'pulseaudio'
depends_on
'sommelier'
depends_on
'sommelier'
end
# To get sound working, used : https://codelab.wordpress.com/2017/12/11/firefox-drops-alsa-apulse-to-the-rescue/
def
self
.
build
system
"echo '#!/bin/bash' > firefox.sh"
system
"echo 'cd
#{
CREW_PREFIX
}
/firefox' >> firefox.sh"
system
"echo 'apulse ./firefox
\"\$
@
\"
' >> firefox.sh"
end
def
self
.
install
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/firefox"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/firefox"
FileUtils
.
cp_r
'.'
,
"
#{
CREW_DEST_PREFIX
}
/firefox"
FileUtils
.
cp_r
'.'
,
"
#{
CREW_DEST_PREFIX
}
/firefox"
system
"install -Dm755 firefox.sh
#{
CREW_DEST_PREFIX
}
/bin/firefox"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/firefox/firefox"
,
"
#{
CREW_DEST_PREFIX
}
/bin/firefox"
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment