Mercurial > mxe-octave
annotate src/x264.mk @ 6161:8fcac4d6d983 release
of-queueing: Fix syntax error with Octave 7 (bug #62314).
* src/of-queueing-1-octave7.patch: Add new file.
* dist-files.mk: Include new patch.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 14 Apr 2022 19:27:13 +0200 |
parents | 9ebb98431899 |
children | 0f6faed414a3 |
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 |
4869 | 14 $(WGET) -q -O- 'https://git.videolan.org/?p=x264.git;a=shortlog' | \ |
15 $(SED) -n 's,.*\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\).*,\1\2\3-2245,p' | \ | |
16 $(SORT) | \ | |
17 tail -1 | |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
18 endef |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
19 |
4029 | 20 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
|
21 define $(PKG)_BUILD |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(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
|
24 --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
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
4029 | 26 --cross-prefix='$(MXE_TOOL_PREFIX)' \ |
27 --disable-lavf \ | |
28 --disable-swscale \ | |
1606
903072e0a03d
package x264: enable win32 threads
Tony Theodore <tonyt@logyst.com>
parents:
1604
diff
changeset
|
29 --enable-win32thread |
1291
ee4f5dd3bcbb
Backed out changeset e31f6dbbccdd
Volker Grabsch <vog@notjusthosting.com>
parents:
1288
diff
changeset
|
30 $(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
|
31 $(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
|
32 $(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
|
33 endef |
4029 | 34 else |
35 define $(PKG)_BUILD | |
36 cd '$(1)' && ./configure \ | |
37 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
38 --prefix='$(HOST_PREFIX)' \ | |
39 $(ENABLE_SHARED_OR_STATIC) \ | |
40 --disable-lavf \ | |
41 --disable-swscale | |
42 $(MAKE) -C '$(1)' -j 1 uninstall | |
43 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
44 $(MAKE) -C '$(1)' -j 1 install | |
45 endef | |
46 endif |