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
ad126f1c
Commit
ad126f1c
authored
Mar 09, 2021
by
Satadru Pramanik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
requested changes
parent
905aed9b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
72 deletions
+30
-72
packages/devil.rb
packages/devil.rb
+1
-2
packages/gsm.rb
packages/gsm.rb
+2
-2
packages/openjpeg.rb
packages/openjpeg.rb
+26
-24
packages/openjpeg2.rb
packages/openjpeg2.rb
+0
-43
packages/tesseract.rb
packages/tesseract.rb
+1
-1
No files found.
packages/devil.rb
View file @
ad126f1c
...
...
@@ -27,8 +27,7 @@ class Devil < Package
depends_on
'libjpeg_turbo'
def
self
.
patch
system
"find . -type f -exec sed -e 's,DESTINATION lib,DESTINATION lib
#{
CREW_LIB_SUFFIX
}
,g' \
-i {} +"
system
"find -type f -exec sed -i 's,DESTINATION lib,DESTINATION lib
#{
CREW_LIB_SUFFIX
}
,g' {} +"
end
def
self
.
build
...
...
packages/gsm.rb
View file @
ad126f1c
...
...
@@ -23,7 +23,7 @@ class Gsm < Package
})
def
self
.
patch
# Patch from https://
raw.githubusercontent.com/archlinux/svntogit-packages/packages
/gsm/trunk/gsm-shared.patch
# Patch from https://
github.com/archlinux/svntogit-packages/blob/master
/gsm/trunk/gsm-shared.patch
@gsm_patch
=
<<~
'GSM_PATCH_EOF'
--- Makefile 2006-04-26 15:14:26.000000000 -0400
+++ Makefile 2010-06-19 16:53:25.000000000 -0400
...
...
@@ -217,7 +217,7 @@ class Gsm < Package
GSM_PATCH_EOF
IO
.
write
(
'gsm-shared.patch'
,
@gsm_patch
)
# system 'patch -p0 -i gsm-shared.patch'
system
'curl -Ls https://
raw.githubusercontent.com/archlinux/svntogit-packages/packages
/gsm/trunk/gsm-shared.patch | patch -b'
system
'curl -Ls https://
github.com/archlinux/svntogit-packages/raw/c5a7dd7fe79daea817539ae8315a7cd8eb9cced7
/gsm/trunk/gsm-shared.patch | patch -b'
end
def
self
.
build
...
...
packages/openjpeg.rb
View file @
ad126f1c
require
'package'
class
Openjpeg
<
Package
description
'
OpenJPEG is an open-source JPEG 2000 codec written in C language.
'
homepage
'https://github.com/uclouvain/openjpeg
/
'
version
'2.
3.1
'
description
'
An open source JPEG 2000 codec, version ${pkgver}
'
homepage
'https://github.com/uclouvain/openjpeg'
version
'2.
4.0
'
compatibility
'all'
source_url
'https://github.com/uclouvain/openjpeg/archive/v2.
3.1
.tar.gz'
source_sha256
'
63f5a4713ecafc86de51bfad89cc07bb788e9bba24ebbf0c4ca637621aadb6a9
'
source_url
'https://github.com/uclouvain/openjpeg/archive/v2.
4.0
.tar.gz'
source_sha256
'
8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
3.1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
3.1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
3.1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
3.1-chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
4.0
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
4.0
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
4.0
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg-2.
4.0-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'5
cbfa188b4ef0e9adb59280c0adfdbeae57751743000afbaca8574a9e3349b59
'
,
armv7l:
'5
cbfa188b4ef0e9adb59280c0adfdbeae57751743000afbaca8574a9e3349b59
'
,
i686:
'
c63933b2976c97ebcaea35ced82598958377b6e8fa9e984c74eca40afdcd9c40
'
,
x86_64:
'
921c73296cf057b4c5606470c3de038492de21177b82ed659213dd04348aef33'
,
binary_sha256
({
aarch64:
'5
95710bad9c20bb9cf549c4ac128c38a7b95d765482a4686f92e9a7c2436492c
'
,
armv7l:
'5
95710bad9c20bb9cf549c4ac128c38a7b95d765482a4686f92e9a7c2436492c
'
,
i686:
'
bab4acb957c546518cff701f1c004778351c7d973bb0c3f42bd4c5e89fd37f87
'
,
x86_64:
'
490073608d724068424b594ef15e77bdef75bcb44beebe6c8fe09eb99f06bd0a'
})
def
self
.
build
Dir
.
mkdir
'builddir'
Dir
.
chdir
'builddir'
do
system
'cmake'
,
"-DCMAKE_INSTALL_PREFIX=
#{
CREW_PREFIX
}
"
,
"-DOPENJPEG_INSTALL_LIB_DIR=
#{
CREW_LIB_PREFIX
}
"
,
'-DCMAKE_BUILD_TYPE=Release'
,
'..'
system
'make'
system
"env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{
CREW_CMAKE_OPTIONS
}
\
-DBUILD_SHARED_LIBS=ON \
-DOPENJPEG_INSTALL_LIB_DIR='lib
#{
CREW_LIB_SUFFIX
}
' \
.."
end
system
'ninja -C builddir'
end
def
self
.
install
Dir
.
chdir
'builddir'
do
system
'make'
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
'install'
end
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja -C builddir install"
end
end
packages/openjpeg2.rb
deleted
100644 → 0
View file @
905aed9b
require
'package'
class
Openjpeg2
<
Package
description
'An open source JPEG 2000 codec, version ${pkgver}'
homepage
'https://github.com/uclouvain/openjpeg'
version
'2.4.0'
compatibility
'all'
source_url
'https://github.com/uclouvain/openjpeg/archive/v2.4.0.tar.gz'
source_sha256
'8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg2-2.4.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg2-2.4.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg2-2.4.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/openjpeg2-2.4.0-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'a7c67af7623a7ab2fc66b203d698fb9c9090a59cd6dc8252e1e36f25d53b256f'
,
armv7l:
'a7c67af7623a7ab2fc66b203d698fb9c9090a59cd6dc8252e1e36f25d53b256f'
,
i686:
'aff2bc38195bd963339ad70f82deb2dee09ae62008370eb17260633bc7b792be'
,
x86_64:
'ce81a4fbddcc40c52c628e503b1a5f98e96ed665611d1739f6f6f6566c6d27fe'
})
def
self
.
build
Dir
.
mkdir
'builddir'
Dir
.
chdir
'builddir'
do
system
"env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
cmake \
-G Ninja \
#{
CREW_CMAKE_OPTIONS
}
\
-DBUILD_SHARED_LIBS=ON \
-DOPENJPEG_INSTALL_LIB_DIR='lib
#{
CREW_LIB_SUFFIX
}
' \
.."
end
system
'ninja -C builddir'
end
def
self
.
install
system
"DESTDIR=
#{
CREW_DEST_DIR
}
ninja -C builddir install"
end
end
packages/tesseract.rb
View file @
ad126f1c
require
'package'
class
Tesseract
<
Package
description
'A
n OCR program
'
description
'A
neural net (LSTM) based OCR engine which is focused on line recognition & an older OCR engine which recognizes character patterns.
'
homepage
'https://github.com/tesseract-ocr/tesseract'
@_ver
=
'4.1.1'
version
@_ver
...
...
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