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
acdf6713
Commit
acdf6713
authored
Dec 18, 2018
by
Chris Thurber
Committed by
GitHub
Dec 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2953 from uberhacker/add-uchardet-package
Add uchardet package
parents
cd3d80eb
94e5088d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
packages/uchardet.rb
packages/uchardet.rb
+30
-0
No files found.
packages/uchardet.rb
0 → 100644
View file @
acdf6713
require
'package'
class
Uchardet
<
Package
description
'uchardet is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text.'
homepage
'https://www.freedesktop.org/wiki/Software/uchardet/'
version
'0.0.6'
source_url
'https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz'
source_sha256
'8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/uchardet-0.0.6-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/uchardet-0.0.6-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/uchardet-0.0.6-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/uchardet-0.0.6-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'3e3e33899d7c3752750fc9b71a43fe46728a2cc9b129ef2a66141c4db61f32f3'
,
armv7l:
'3e3e33899d7c3752750fc9b71a43fe46728a2cc9b129ef2a66141c4db61f32f3'
,
i686:
'd212dd9da6356ed8a8f85f0cb969e81266ff7dd0b3922fee0f5968d701f95362'
,
x86_64:
'75d94151c984a1b983e765fdfe33f767c84170c0b95724671665d4a8f80cb4be'
,
})
def
self
.
build
system
"cmake -DCMAKE_INSTALL_PREFIX=
#{
CREW_PREFIX
}
-DCMAKE_BUILD_TYPE=Release && make"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"install"
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