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
934a268d
Commit
934a268d
authored
Dec 29, 2018
by
James Larrowe
Committed by
Ed Reel
Dec 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add V4l_utils package (#3020)
parent
8f5ce382
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
packages/v4l_utils.rb
packages/v4l_utils.rb
+39
-0
No files found.
packages/v4l_utils.rb
0 → 100644
View file @
934a268d
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.16.3'
source_url
'https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.16.3.tar.bz2'
source_sha256
'7c5c0d49c130cf65d384f28e9f3a53c5f7d17bf18740c48c40810e0fbbed5b54'
binary_url
({
})
binary_sha256
({
})
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
"Forcing GOLD linker to be used."
.
orange
original_default
=
`ld_default g`
.
chomp
system
"./configure"
,
"--disable-bpf"
,
"--disable-static"
,
"--prefix=
#{
CREW_PREFIX
}
"
,
"--libdir=
#{
CREW_LIB_PREFIX
}
"
system
'make'
system
"ld_default
#{
original_default
}
"
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