annotate src/libvpx.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents de6e4042489c
children abf83f194b4c
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: 2224
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 := libvpx
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
5441
de6e4042489c Update libvpx to 1.8.2
John Donoghue <john.donoghue@ieee.org>
parents: 4618
diff changeset
6 $(PKG)_VERSION := 1.8.2
de6e4042489c Update libvpx to 1.8.2
John Donoghue <john.donoghue@ieee.org>
parents: 4618
diff changeset
7 $(PKG)_CHECKSUM := 7fbc7de47f59431fa2c5b76660f115963e83193d
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
5441
de6e4042489c Update libvpx to 1.8.2
John Donoghue <john.donoghue@ieee.org>
parents: 4618
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
de6e4042489c Update libvpx to 1.8.2
John Donoghue <john.donoghue@ieee.org>
parents: 4618
diff changeset
10 $(PKG)_URL := https://github.com/webmproject/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := pthreads
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
12
4024
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
13 $(PKG)_TARGET_OPTS :=
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
14 $(PKG)_ENV :=
4024
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
15
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
16 ifeq ($(MXE_NATIVE_BUILD),no)
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
17 ifeq ($(ENABLE_WINDOWS_64),yes)
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
18 $(PKG)_TARGET_OPTS := --target=x86_64-win64-gcc
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
19 else
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
20 $(PKG)_TARGET_OPTS := --target=x86-win32-gcc
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
21 endif
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
22 endif
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
23
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
24
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
25 define $(PKG)_UPDATE
4618
de2eedecd6ba update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents: 4029
diff changeset
26 $(WGET) -q -O- 'https://github.com/webmproject/libvpx/tags' | \
5441
de6e4042489c Update libvpx to 1.8.2
John Donoghue <john.donoghue@ieee.org>
parents: 4618
diff changeset
27 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | \
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
28 $(SORT) -Vr | \
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
29 head -1
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
30 endef
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
31
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
32 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
33 define $(PKG)_BUILD
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
34 cd '$(1)' && \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
35 CROSS='$(MXE_TOOL_PREFIX)' \
1261
050f5ff03b26 improve coding style of ffmpeg and dependencies
Tony Theodore <tonyt@logyst.com>
parents: 1260
diff changeset
36 ./configure \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2558
diff changeset
37 --prefix='$(HOST_PREFIX)' \
4024
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3623
diff changeset
38 $($(PKG)_TARGET_OPTS) \
4029
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 4026
diff changeset
39 --as=yasm \
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 4026
diff changeset
40 --extra-cflags='-std=gnu89' \
1334
5aa60cef7fd6 bugfix: don't build the docs of package libvpx
Volker Grabsch <vog@notjusthosting.com>
parents: 1275
diff changeset
41 --disable-examples \
5aa60cef7fd6 bugfix: don't build the docs of package libvpx
Volker Grabsch <vog@notjusthosting.com>
parents: 1275
diff changeset
42 --disable-install-docs
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
43 $(MAKE) -C '$(1)' -j '$(JOBS)'
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
44 $(MAKE) -C '$(1)' -j 1 install
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
45 $(MXE_RANLIB) $(HOST_LIBDIR)/libvpx.a
3623
6426e08a5618 libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
46 if [ $(BUILD_SHARED) = yes ]; then \
6426e08a5618 libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
47 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libvpx.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)' -lpthread; \
6426e08a5618 libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents: 3480
diff changeset
48 fi
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
49 endef
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
50 else
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
51 define $(PKG)_BUILD
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
52 cd '$(1)' && \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
53 $($(PKG)_ENV) \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
54 ./configure \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
55 --prefix='$(HOST_PREFIX)' \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
56 $(ENABLE_SHARED_OR_STATIC) \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
57 --disable-examples \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
58 --disable-install-docs
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
59 $(MAKE) -C '$(1)' -j '$(JOBS)'
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
60 $(MAKE) -C '$(1)' -j 1 install
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
61 endef
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
62 endif