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
ab99dcdf
Commit
ab99dcdf
authored
May 23, 2010
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: fixed libvpx compilation on Mac OS X
parent
13acaa7e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
2 deletions
+31
-2
extras/contrib/src/Distributions/darwin.mak
extras/contrib/src/Distributions/darwin.mak
+1
-1
extras/contrib/src/Distributions/darwin64.mak
extras/contrib/src/Distributions/darwin64.mak
+1
-1
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+16
-0
extras/contrib/src/Patches/libvpx-darwin.patch
extras/contrib/src/Patches/libvpx-darwin.patch
+13
-0
No files found.
extras/contrib/src/Distributions/darwin.mak
View file @
ab99dcdf
# Darwin rules
all
:
.autoconf .gnumake .automake .libtool .intl .pkgcfg .yasm .freetype
\
.fribidi .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora
\
.flac .speex .shout .faad .lame .twolame .ebml .matroska .ffmpeg
\
.flac .speex .shout .faad .lame .twolame .ebml .matroska .
vpx .
ffmpeg
\
.dvdcss .libdvdread .dvdnav .dvbpsi .live .caca .mod .fontconfig
\
.png .gpg-error .gcrypt .gnutls .cddb .cdio .vcdimager
\
.SDL_image .glib .gecko .mpcdec .dirac_encoder .dirac_decoder
\
...
...
extras/contrib/src/Distributions/darwin64.mak
View file @
ab99dcdf
# Darwin rules
all
:
.autoconf .gnumake .automake .libtool .intl .pkgcfg .yasm .freetype
\
.fribidi .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora
\
.flac .speex .shout .faad .lame .twolame .ebml .matroska .ffmpeg
\
.flac .speex .shout .faad .lame .twolame .ebml .matroska .
vpx .
ffmpeg
\
.dvdcss .libdvdread .dvdnav .dvbpsi .live .caca .mod .fontconfig
\
.png .jpeg .tiff .gpg-error .gcrypt .gnutls .cddb .cdio .vcdimager
\
.glib .gecko .mpcdec .dirac_encoder .dirac_decoder
\
...
...
extras/contrib/src/Makefile
View file @
ab99dcdf
...
...
@@ -149,6 +149,7 @@ endif
ifdef
HAVE_DARWIN_OS
X264CONF
=
--host
=
$(HOST)
X264CONF
+=
--enable-pic
FFMPEGCONF
+=
--enable-libvpx
ifdef
HAVE_DARWIN_32
FFMPEGCONF
+=
--cc
=
gcc-4.0
else
...
...
@@ -920,12 +921,27 @@ libvpx-$(VPX_VERSION).tar.bz2:
vpx
:
libvpx-$(VPX_VERSION).tar.bz2
$(EXTRACT_BZ2)
patch
-p0
< Patches/libvpx-cross.patch
ifdef
HAVE_DARWIN_OS
patch
-p0
< Patches/libvpx-darwin.patch
endif
ifdef
HAVE_WIN32
VPX_TARGET
=
x86-win32-gcc
else
ifdef
HAVE_DARWIN_OS
ifdef
HAVE_DARWIN_64
VPX_TARGET
=
x86_64-darwin9-gcc
else
ifdef
HAVE_DARWIN_OS_ON_INTEL
VPX_TARGET
=
x86-darwin9-gcc
else
VPX_TARGET
=
ppc32-darwin9-gcc
endif
endif
else
VPX_TARGET
=
FIXME
endif
endif
.vpx
:
vpx
(
cd
$<
;
./configure
--target
=
$(VPX_TARGET)
--disable-install-bins
--disable-install-srcs
--disable-install-libs
--disable-examples
&&
XCC
=
$(CC)
XNM
=
$(NM)
XSTRIP
=
$(STRIP)
make
&&
make
install
)
...
...
extras/contrib/src/Patches/libvpx-darwin.patch
0 → 100644
View file @
ab99dcdf
--- vpx/configure 2010-05-18 17:58:33.000000000 +0200
+++ vpx_fixed/configure 2010-05-23 01:03:13.000000000 +0200
@@ -411,9 +411,7 @@
}
fi
check_header stdio.h || die "Unable to invoke compiler: ${CC} ${CFLAGS}"
- check_ld <<EOF || die "Toolchain is unable to link executables"
-int main(void) {return 0;}
-EOF
+
# check system headers
check_header stdint.h
check_header pthread.h
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