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
3820a0cc
Commit
3820a0cc
authored
Dec 07, 2020
by
supechicken
Committed by
GitHub
Dec 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Parsec] Fix checksum (#4722)
* Fix checksum
parent
66b3c69e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
38 deletions
+38
-38
packages/parsec.rb
packages/parsec.rb
+38
-38
No files found.
packages/parsec.rb
View file @
3820a0cc
require
'package'
class
Parsec
<
Package
description
'Parsec is a remote desktop application made specifically for cloud gaming.'
homepage
'https://parsecgaming.com'
version
'150_28'
compatibility
'all'
source_url
'file:///dev/null'
source_sha256
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
depends_on
'alien'
=>
:build
depends_on
'freetype'
depends_on
'libsm'
depends_on
'gdk_pixbuf'
depends_on
'gtk2'
depends_on
'sommelier'
def
self
.
build
case
ARCH
when
'aarch64'
,
'armv7l'
system
'curl https://builds.parsecgaming.com/package/parsec-linux.deb -#o parsec.deb'
puts
"Archive downloaded"
.
lightgreen
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'parsec.deb'
)
)
==
'a98e840dc44f4762018895bd0da704c88887815de0e74e0f39aa7737f5b0e802'
when
'x86_64'
,
'i686'
system
'curl https://builds.parsecgaming.com/package/parsec-rpi.deb -#o parsec.deb'
puts
"Archive downloaded"
.
lightgreen
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'parsec.deb'
)
)
==
'
0c7207f419377fc35e30448acd00d8701300ac5a44936ac6d87a468c9afccdc1'
end
system
'alien -tc parsec.deb'
system
"tar xvf parsec*.tgz"
end
def
self
.
install
FileUtils
.
mkdir_p
CREW_DEST_PREFIX
FileUtils
.
mv
'usr/bin'
,
CREW_DEST_PREFIX
FileUtils
.
mv
'usr/share'
,
CREW_DEST_PREFIX
end
end
require
'package'
class
Parsec
<
Package
description
'Parsec is a remote desktop application made specifically for cloud gaming.'
homepage
'https://parsecgaming.com'
version
'150_28'
compatibility
'all'
source_url
'file:///dev/null'
source_sha256
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
depends_on
'alien'
=>
:build
depends_on
'freetype'
depends_on
'libsm'
depends_on
'gdk_pixbuf'
depends_on
'gtk2'
depends_on
'sommelier'
def
self
.
build
case
ARCH
when
'aarch64'
,
'armv7l'
system
'curl https://builds.parsecgaming.com/package/parsec-linux.deb -#o parsec.deb'
puts
"Archive downloaded"
.
lightgreen
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'parsec.deb'
)
)
==
'0c7207f419377fc35e30448acd00d8701300ac5a44936ac6d87a468c9afccdc1'
when
'x86_64'
,
'i686'
system
'curl https://builds.parsecgaming.com/package/parsec-rpi.deb -#o parsec.deb'
puts
"Archive downloaded"
.
lightgreen
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'parsec.deb'
)
)
==
'
a98e840dc44f4762018895bd0da704c88887815de0e74e0f39aa7737f5b0e802'
end
system
'alien -tc parsec.deb'
system
"tar xvf parsec*.tgz"
end
def
self
.
install
FileUtils
.
mkdir_p
CREW_DEST_PREFIX
FileUtils
.
mv
'usr/bin'
,
CREW_DEST_PREFIX
FileUtils
.
mv
'usr/share'
,
CREW_DEST_PREFIX
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