annotate src/x264.mk @ 4029:c4a341e3e014

ffmpeg: updates to work in windows * src/ffmpeg.mk: add --extra-libs='-mconsole' * src/libvpx.mk: set as to yasm * src/x264-1-fix-bin-bash.patch: update vpx patch from mxe.cc * src/x264.mk: update version,checksum for 20141130-2245 * src/xvidcore.mk: dont rename xvidcore.dll to libxvidecore.dll
author John Donoghue
date Fri, 18 Sep 2015 08:05:55 -0400
parents 13be64f9f16d
children 9ebb98431899
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2014
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
3
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
4 PKG := x264
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4029
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 20141130-2245
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := e2a4f5dd0a773a3e89f7c5cf1b3d2efc95f282b8
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-snapshot-$($(PKG)_VERSION)
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-snapshot-$($(PKG)_VERSION).tar.bz2
1350
3199573f095b corrected download URL of package x264
Volker Grabsch <vog@notjusthosting.com>
parents: 1318
diff changeset
10 $(PKG)_URL := http://download.videolan.org/pub/videolan/$(PKG)/snapshots/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
12
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
1763
127a3d883d67 improved version recognition for packages: libpng pixman x264
Volker Grabsch <vog@notjusthosting.com>
parents: 1686
diff changeset
14 date -d yesterday +%Y%m%d-2245
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
15 endef
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
16
4029
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
17 ifeq ($(MXE_NATIVE_BUILD),no)
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
18 define $(PKG)_BUILD
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
21 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2365
diff changeset
22 $(ENABLE_SHARED_OR_STATIC) \
4029
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
23 --cross-prefix='$(MXE_TOOL_PREFIX)' \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
24 --disable-lavf \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
25 --disable-swscale \
1606
903072e0a03d package x264: enable win32 threads
Tony Theodore <tonyt@logyst.com>
parents: 1604
diff changeset
26 --enable-win32thread
1291
ee4f5dd3bcbb Backed out changeset e31f6dbbccdd
Volker Grabsch <vog@notjusthosting.com>
parents: 1288
diff changeset
27 $(MAKE) -C '$(1)' -j 1 uninstall
1288
6393b3951507 fixed position of "make uninstall" in package x264
Volker Grabsch <vog@notjusthosting.com>
parents: 1284
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)'
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
30 endef
4029
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
31 else
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
32 define $(PKG)_BUILD
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
33 cd '$(1)' && ./configure \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
34 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
35 --prefix='$(HOST_PREFIX)' \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
36 $(ENABLE_SHARED_OR_STATIC) \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
37 --disable-lavf \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
38 --disable-swscale
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
39 $(MAKE) -C '$(1)' -j 1 uninstall
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
40 $(MAKE) -C '$(1)' -j '$(JOBS)'
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
41 $(MAKE) -C '$(1)' -j 1 install
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
42 endef
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 3480
diff changeset
43 endif