Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7713b1b3
Commit
7713b1b3
authored
Jun 29, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: add x264 (and macro to download from git)
parent
34911af6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
+59
-0
contrib/src/main.mak
contrib/src/main.mak
+7
-0
contrib/src/x264/rules.mak
contrib/src/x264/rules.mak
+52
-0
No files found.
contrib/src/main.mak
View file @
7713b1b3
...
@@ -161,6 +161,13 @@ download = rm -f $@.tmp && \
...
@@ -161,6 +161,13 @@ download = rm -f $@.tmp && \
$(WGET)
-p
-O
$@
.tmp
$(1)
&&
\
$(WGET)
-p
-O
$@
.tmp
$(1)
&&
\
touch
$@
.tmp
&&
\
touch
$@
.tmp
&&
\
mv
$@
.tmp
$@
mv
$@
.tmp
$@
download_git
=
\
rm
-Rf
$
(
@:.tar.xz
=)
&&
\
$(GIT)
clone
$
(
2:%
=
--branch
%
)
$(1)
$
(
@:.tar.xz
=)
&&
\
rm
-Rf
$
(
@:%.tar.xz
=
%
)
/.git
&&
\
(
cd
$(
dir
$@
)
&&
\
tar
cvJ
$(
notdir
$
(
@:.tar.xz
=
))
)
>
$@
&&
\
rm
-Rf
$
(
@:.tar.xz
=)
checksum
=
(
cd
$(TARBALLS)
&&
$(1)
sum
-c
-
)
<
\
checksum
=
(
cd
$(TARBALLS)
&&
$(1)
sum
-c
-
)
<
\
$(SRC)
/
$(
patsubst
.sum-%,%,
$@
)
/
$(2)
SUMS
$(SRC)
/
$(
patsubst
.sum-%,%,
$@
)
/
$(2)
SUMS
CHECK_SHA256
=
$(
call
checksum,sha512,SHA512
)
CHECK_SHA256
=
$(
call
checksum,sha512,SHA512
)
...
...
contrib/src/x264/rules.mak
0 → 100644
View file @
7713b1b3
# x264
X264_VERSION
:=
20050609
X264_URL
:=
$(CONTRIB_VIDEOLAN)
/x264-
$(X264_VERSION)
.tar.gz
X264_GITURL
:=
git://git.videolan.org/x264.git
ifdef
BUILD_ENCODERS
PKGS
+=
x264
endif
X264CONF
=
--prefix
=
"
$(PREFIX)
"
--host
=
"
$(HOST)
"
\
--enable-static
\
--disable-avs
\
--disable-lavf
\
--disable-ffms
ifndef
HAVE_WIN32
X264CONF
+=
--enable-pic
else
X264CONF
+=
--enable-win32thread
endif
ifdef
HAVE_MACOSX
ifneq
($(findstring $(ARCH),i386 x86_64),)
PKGS
+=
yasm
.x264
:
.yasm
endif
endif
$(TARBALLS)/x264-$(X264_VERSION).tar.gz
:
$(
call
download,
$(X264_URL)
)
$(TARBALLS)/x264-git.tar.xz
:
$(
call
download_git,
$(X264_GITURL)
)
X264_VERSION
:=
git
.sum-x264
:
x264-$(X264_VERSION).tar.xz
$(
warning
$@
not implemented
)
touch
$@
x264
:
x264-$(X264_VERSION).tar.xz .sum-x264
$(UNPACK)
ifdef
HAVE_WIN64
(
cd
$@
-
$(X264_VERSION)
&&
patch
-p1
)
<
$(SRC)
/x264/x264-svn-win64.patch
endif
mv
$@
-
$(X264_VERSION)
$@
touch
$@
.x264
:
x264
cd
$<
&&
$(HOSTVARS)
./configure
$(X264CONF)
cd
$<
&&
$(MAKE)
install
touch
$@
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