Mercurial > mxe-octave
annotate src/x264.mk @ 4052:27715c9fcdd9
of-io: update to v2.2.11
* src/of-io.mk: update version, checksum
* build_packages.m: update io version
author | John D |
---|---|
date | Thu, 22 Oct 2015 23:14:57 -0400 |
parents | c4a341e3e014 |
children | 9ebb98431899 |
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 | 6 $(PKG)_VERSION := 20141130-2245 |
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 | 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 | 23 --cross-prefix='$(MXE_TOOL_PREFIX)' \ |
24 --disable-lavf \ | |
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 | 31 else |
32 define $(PKG)_BUILD | |
33 cd '$(1)' && ./configure \ | |
34 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
35 --prefix='$(HOST_PREFIX)' \ | |
36 $(ENABLE_SHARED_OR_STATIC) \ | |
37 --disable-lavf \ | |
38 --disable-swscale | |
39 $(MAKE) -C '$(1)' -j 1 uninstall | |
40 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
41 $(MAKE) -C '$(1)' -j 1 install | |
42 endef | |
43 endif |