Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
638e716b
Commit
638e716b
authored
Dec 16, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: put hash in ffmpeg tarball name
parent
2b101ff4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
contrib/src/ffmpeg/rules.mak
contrib/src/ffmpeg/rules.mak
+10
-10
No files found.
contrib/src/ffmpeg/rules.mak
View file @
638e716b
# FFmpeg
#FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz
FFMPEG_SNAPURL
:=
http://git.libav.org/?p
=
libav.git
;
a
=
snapshot
;
h
=
HEAD
;
sf
=
tgz
HASH
=
HEAD
#FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=$(HASH);sf=tgz
FFMPEG_SNAPURL
:=
http://git.libav.org/?p
=
libav.git
;
a
=
snapshot
;
h
=
$(HASH)
;
sf
=
tgz
FFMPEGCONF
=
\
--cc
=
"
$(CC)
"
\
...
...
@@ -119,19 +121,17 @@ ifeq ($(call need_pkg,"libavcodec >= 52.25.0 libavformat >= 52.30.0 libswscale")
PKGS_FOUND
+=
ffmpeg
endif
$(TARBALLS)/ffmpeg-
git
.tar.gz
:
$(TARBALLS)/ffmpeg-
$(HASH)
.tar.gz
:
$(
call
download,
$(FFMPEG_SNAPURL)
)
FFMPEG_VERSION
:=
git
.sum-ffmpeg
:
$(TARBALLS)/ffmpeg-$(FFMPEG_VERSION).tar.gz
.sum-ffmpeg
:
$(TARBALLS)/ffmpeg-$(HASH).tar.gz
$(
warning
Not implemented.
)
touch
$@
ffmpeg
:
ffmpeg-$(
FFMPEG_VERSION
).tar.gz .sum-ffmpeg
rm
-Rf
$@
$@
-
git
mkdir
-p
$@
-
git
$(ZCAT)
"
$<
"
|
(
cd
$@
-
git
&&
tar
xv
--strip-components
=
1
)
ffmpeg
:
ffmpeg-$(
HASH
).tar.gz .sum-ffmpeg
rm
-Rf
$@
$@
-
$(HASH)
mkdir
-p
$@
-
$(HASH)
$(ZCAT)
"
$<
"
|
(
cd
$@
-
$(HASH)
&&
tar
xv
--strip-components
=
1
)
$(MOVE)
.ffmpeg
:
ffmpeg
...
...
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