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
0f96ab5e
Commit
0f96ab5e
authored
Mar 13, 2021
by
Ed Reel
Committed by
GitHub
Mar 13, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5414 from satmandu/ffmpeg_fix
only use libmfx for compatibility with i686
parents
4e5cb5b5
fb1e54da
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
packages/ffmpeg.rb
packages/ffmpeg.rb
+2
-3
packages/libmfx.rb
packages/libmfx.rb
+2
-4
No files found.
packages/ffmpeg.rb
View file @
0f96ab5e
...
...
@@ -31,8 +31,7 @@ class Ffmpeg < Package
depends_on
'freetype'
depends_on
'fribidi'
depends_on
'gsm'
depends_on
'intel_media_driver'
if
ARCH
==
'x86_64'
&&
`grep -c 'GenuineIntel' /proc/cpuinfo`
.
to_i
.
positive?
depends_on
'intel_media_sdk'
if
ARCH
==
'x86_64'
&&
`grep -c 'GenuineIntel' /proc/cpuinfo`
.
to_i
.
positive?
depends_on
'intel_media_sdk'
if
ARCH
==
'x86_64'
&&
`grep -c 'GenuineIntel' /proc/cpuinfo`
.
to_i
.
positive?
# This provides libmfx for x86_64
depends_on
'jack'
depends_on
'ladspa'
depends_on
'libaom'
...
...
@@ -44,7 +43,7 @@ class Ffmpeg < Package
depends_on
'libfdk_aac'
depends_on
'libfrei0r'
depends_on
'libiec61883'
depends_on
'libmfx'
if
ARCH
==
'i686'
||
ARCH
==
'x86_64'
depends_on
'libmfx'
if
ARCH
==
'i686'
&&
`grep -c 'GenuineIntel' /proc/cpuinfo`
.
to_i
.
positive?
depends_on
'libmodplug'
depends_on
'libmp3lame'
depends_on
'libopencoreamr'
...
...
packages/libmfx.rb
View file @
0f96ab5e
...
...
@@ -4,9 +4,9 @@ class Libmfx < Package
description
'Intel Media SDK dispatcher library'
homepage
'https://github.com/lu-zero/mfx_dispatch/'
version
'1.25'
compatibility
'
x86_64
i686'
compatibility
'i686'
case
ARCH
when
'i686'
,
'x86_64'
when
'i686'
source_url
'https://github.com/lu-zero/mfx_dispatch/archive/1.25.tar.gz'
source_sha256
'853c4555c800a262fedacc580d06c234c520a919e4497b50e555291d87579a42'
depends_on
'libva'
...
...
@@ -14,11 +14,9 @@ class Libmfx < Package
binary_url
({
i686:
'https://dl.bintray.com/chromebrew/chromebrew/libmfx-1.25-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/libmfx-1.25-chromeos-x86_64.tar.xz'
})
binary_sha256
({
i686:
'3eab119d8be510a2786d31419c20c551a0629f3b8d8d4fa58a2fb31b3f66a960'
,
x86_64:
'65246a1f81384d7b241800f406013a7e13920c82d9d136beb74a4edfd924dd59'
})
def
self
.
build
...
...
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