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
217e9e6a
Commit
217e9e6a
authored
Mar 10, 2021
by
satmandu
Committed by
GitHub
Mar 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update libvpx.rb
parent
1763f54e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
21 deletions
+34
-21
packages/libvpx.rb
packages/libvpx.rb
+34
-21
No files found.
packages/libvpx.rb
View file @
217e9e6a
...
...
@@ -3,40 +3,53 @@ require 'package'
class
Libvpx
<
Package
description
'VP8/VP9 Codec SDK'
homepage
'http://www.webmproject.org/code/'
version
'1.8.0'
@_ver
=
'1.10.0-rc1'
version
@_ver
compatibility
'all'
source_url
'https://github.com/webmproject/libvpx/archive/v1.8.0.tar.gz'
source_sha256
'8
6df18c694e1c06cc8f83d2d816e9270747a0ce6abe316e93a4f4095689373f6
'
source_url
"https://github.com/webmproject/libvpx/archive/v
#{
@_ver
}
.tar.gz"
source_sha256
'8
e55e04cdefeb1596968e70c5167e13d26132ca214d276292d5cda737a430af5
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
8.0
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
8.0
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
8.0
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
8.0-chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
10.0-rc1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
10.0-rc1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
10.0-rc1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libvpx-1.
10.0-rc1-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'
33b8d61c591e0f0dfb0770c4ad9227e4a8f8dbf608a68561ad99813063a6934a
'
,
armv7l:
'
33b8d61c591e0f0dfb0770c4ad9227e4a8f8dbf608a68561ad99813063a6934a
'
,
i686:
'
afc67c6dbc8c12fa6bd2d7a91e34518119dce03e45e8e8554b4beb670a54b71b
'
,
x86_64:
'
9d4aba4937495ec10fe02e6255689280019a30b8db4fbb11826be7c896e1e40c'
,
binary_sha256
({
aarch64:
'
61583e4e5ac53ef7534c948bf05874381c9889cf8bb25771458d332c21caddff
'
,
armv7l:
'
61583e4e5ac53ef7534c948bf05874381c9889cf8bb25771458d332c21caddff
'
,
i686:
'
dea476dc36f7afc6a41de73f16f94d62d353cc34504094c6f5bdc64f3a1d9e25
'
,
x86_64:
'
2dd18189255d957cf67842b4f12aa040d4d5bec98665c8bb7c900422377716fe'
})
depends_on
'yasm'
=>
:build
depends_on
'ccache'
=>
:build
depends_on
'libyuv'
def
self
.
build
Dir
.
chdir
'build'
do
system
'../configure'
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
,
'--enable-vp8'
,
'--enable-vp9'
,
'--enable-shared'
,
'--disable-static'
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' \
../configure
#{
CREW_OPTIONS
.
sub
(
/--mandir=.*/
,
''
)
}
\
--disable-debug-libs \
--disable-install-docs \
--enable-ccache \
--enable-debug \
--enable-libyuv \
--enable-pic \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-vp8 \
--enable-vp9 \
--enable-vp9-highbitdepth"
system
'make'
end
end
def
self
.
install
Dir
.
chdir
'build'
do
system
"make
"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"
install"
system
"make
DESTDIR=
#{
CREW_DEST_DIR
}
install"
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