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
782ecf13
Commit
782ecf13
authored
Mar 09, 2021
by
satmandu
Committed by
GitHub
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update v4l_utils.rb
parent
47e228cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
23 deletions
+20
-23
packages/v4l_utils.rb
packages/v4l_utils.rb
+20
-23
No files found.
packages/v4l_utils.rb
View file @
782ecf13
...
...
@@ -3,46 +3,43 @@ require 'package'
class
V4l_utils
<
Package
description
'The v4l-utils are a series of packages for handling media devices.'
homepage
'https://www.linuxtv.org/wiki/index.php/V4l-utils'
version
'1.18.0'
@_ver
=
'1.20.0'
version
@_ver
compatibility
'all'
source_url
'https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.18.0.tar.bz2'
source_sha256
'
6cb60d822eeed20486a03cc23e0fc65956fbc1e85e0c1a7477f68bbd9802880d
'
source_url
"https://linuxtv.org/downloads/v4l-utils/v4l-utils-
#{
@_ver
}
.tar.bz2"
source_sha256
'
956118713f7ccb405c55c7088a6a2490c32d54300dd9a30d8d5008c28d3726f7
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
18
.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
18
.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
18
.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
18.0-chromeos-x86_64.tar.xz'
,
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
20
.0-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
20
.0-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
20
.0-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/v4l_utils-1.
20.0-chromeos-x86_64.tar.xz'
})
binary_sha256
({
aarch64:
'
baf11b08999b753b4b874b5fd5eebecb85f78679f0912350bffc8a27c558dc08
'
,
armv7l:
'
baf11b08999b753b4b874b5fd5eebecb85f78679f0912350bffc8a27c558dc08
'
,
i686:
'
8c12cad6c323d2448c6dcb9b8c68c6b1c5aea6889c1c99fdbeea616529e8d38a
'
,
x86_64:
'1
7414e347092d411b24c3caa5f306f881996b639435c82d1a7aac9d693aa64d2'
,
binary_sha256
({
aarch64:
'
6020b0b0a9f4bf4659bca79749659210e2bbd30d5099260813847193f17841d3
'
,
armv7l:
'
6020b0b0a9f4bf4659bca79749659210e2bbd30d5099260813847193f17841d3
'
,
i686:
'
9c6050888763ad102c12647ae0a952db55b2f83074005c1ec5a705b3c8f99031
'
,
x86_64:
'1
6979812174393e579506611f0f84bf9fc7d26b6d4f3b124c6061c6db007cd7d'
})
depends_on
'sdl2_image'
depends_on
'libglu'
depends_on
'alsa_lib'
depends_on
'ld_default'
def
self
.
patch
system
"find . -name '*.pl' -exec sed -i 's,/usr/bin/perl,
#{
CREW_PREFIX
}
/bin/perl,g' {} +"
end
def
self
.
build
puts
'Switch to the gold linker.'
.
orange
original_default
=
`ld_default g`
.
chomp
system
"./configure"
,
"--disable-bpf"
,
"--disable-static"
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
"env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto -fuse-ld=gold' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure
#{
CREW_OPTIONS
}
\
--disable-bpf"
system
'make'
system
"ld_default
#{
original_default
}
"
end
def
self
.
install
system
"make"
,
"DESTDIR=
#{
CREW_DEST_DIR
}
"
,
"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