Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ab68dc86
Commit
ab68dc86
authored
Nov 05, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Group pthread and x264 settings together.
parent
3a768c48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
14 deletions
+25
-14
extras/contrib/src/contrib-src.mak
extras/contrib/src/contrib-src.mak
+25
-14
No files found.
extras/contrib/src/contrib-src.mak
View file @
ab68dc86
...
...
@@ -104,8 +104,6 @@ ifneq ($(BUILD),$(HOST))
ifndef
HAVE_IOS
HAVE_CROSS_COMPILE_NEEDS_CROSS_PREFIX
=
y
endif
X264CONF
=
--host
=
$(HOST)
PTHREADSCONF
=
CROSS
=
"
$(HOST)
-"
else
# We are compiling for MinGW on Cygwin
endif
...
...
@@ -122,13 +120,6 @@ ifdef HAVE_WINCE
HOSTCONF
+=
--without-pic
--disable-shared
endif
ifdef
HAVE_MACOSX
X264CONF
=
--host
=
$(HOST)
X264CONF
+=
--enable-pic
ifdef
HAVE_MACOSX64
X264CONF
+=
--host
=
x86_64-apple-MACOSX10
endif
endif
ifdef
HAVE_LINUX
ifdef
HAVE_MAEMO
...
...
@@ -136,15 +127,13 @@ ifdef HAVE_MAEMO
# Installing statically-linked VLC plugins is so much simpler.
HOSTCONF
+=
--with-pic
--disable-shared
endif
X264CONF
+=
--enable-pic
endif
ifdef
HAVE_ISA_THUMB
NOTHUMB
?=
-mno-thumb
endif
X264CONF
+=
--disable-avs
--disable-lavf
--disable-ffms
--disable-mp4-output
DATE
=
`
date
+%Y-%m-%d
`
# ***************************************************************************
...
...
@@ -976,10 +965,10 @@ DISTCLEAN_PKG += amrwb-$(LIBAMR_WB_VERSION).tar.bz2
FFMPEGCONF
=
--disable-doc
--disable-decoder
=
libvpx
ifdef
HAVE_CROSS_COMPILE
FFMPEGCONF
+=
--enable-cross-compile
FFMPEGCONF
+=
--enable-cross-compile
endif
ifdef
HAVE_CROSS_COMPILE_NEEDS_CROSS_PREFIX
FFMPEGCONF
+=
--cross-prefix
=
$(HOST)
-
FFMPEGCONF
+=
--cross-prefix
=
$(HOST)
-
endif
#
...
...
@@ -1420,6 +1409,24 @@ DISTCLEAN_PKG += libdca-$(LIBDCA_VERSION).tar.bz2
# libx264
# ***************************************************************************
ifdef
HAVE_MACOSX
X264CONF
=
--host
=
$(HOST)
X264CONF
+=
--enable-pic
ifdef
HAVE_MACOSX64
X264CONF
+=
--host
=
x86_64-apple-MACOSX10
endif
endif
ifdef
HAVE_CROSS_COMPILE_NEEDS_CROSS_PREFIX
X264CONF
=
--host
=
$(HOST)
endif
ifdef
HAVE_LINUX
X264CONF
+=
--enable-pic
endif
X264CONF
+=
--disable-avs
--disable-lavf
--disable-ffms
--disable-mp4-output
x264-$(X264_VERSION).tar.gz
:
$(WGET)
$(X264_URL)
...
...
@@ -2268,6 +2275,10 @@ DISTCLEAN_PKG += taglib-$(TAGLIB_VERSION).tar.gz
# pthreads for win32
# ***************************************************************************
ifdef
HAVE_CROSS_COMPILE_NEEDS_CROSS_PREFIX
PTHREADSCONF
=
CROSS
=
"
$(HOST)
-"
endif
pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
:
$(WGET)
$(PTHREADS_URL)
...
...
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