blob: 380a48961ccfa70bf57777b16d422c50b92612e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$(eval $(call import.MODULE.defs,LIBVPX,libvpx,YASM))
$(eval $(call import.CONTRIB.defs,LIBVPX))
LIBVPX.FETCH.url = http://download.handbrake.fr/contrib/libvpx-v1.3.0.tar.bz2
LIBVPX.FETCH.md5 = 14783a148872f2d08629ff7c694eb31f
# TODO: Upstream migrated from Google Code to self-hosted with GitHub mirror and no longer provides bzip2 archives, libvpx 1.4.0 is latest
#LIBVPX.FETCH.url = https://github.com/webmproject/libvpx/archive/v1.3.0.tar.gz
#LIBVPX.FETCH.md5 = 733a1bedec212a9f1ce723d17679bf2f
#LIBVPX.FETCH.distfile = libvpx-v1.3.0.tar.gz
#LIBVPX.EXTRACT.tarbase = libvpx-v1.3.0
#
#LIBVPX.FETCH.url = https://github.com/webmproject/libvpx/archive/v1.4.0.tar.gz
#LIBVPX.FETCH.md5 = 9e82cdcb2d2146f812b71c8a7a2686a3
#LIBVPX.FETCH.distfile = libvpx-v1.4.0.tar.gz
#LIBVPX.EXTRACT.tarbase = libvpx-v1.4.0
LIBVPX.CONFIGURE.args.host =
LIBVPX.CONFIGURE.deps =
LIBVPX.CONFIGURE.extra = \
--enable-vp8-encoder \
--disable-vp9 \
--disable-vp8-decoder \
--disable-examples \
--disable-docs \
--disable-unit-tests
ifeq (1,$(BUILD.cross))
LIBVPX.CONFIGURE.env.CROSS = CROSS="$(BUILD.spec)-"
LIBVPX.CONFIGURE.args.build =
endif
ifeq (1-i686,$(BUILD.cross)-$(BUILD.machine))
LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc
else ifeq (1-x86_64,$(BUILD.cross)-$(BUILD.machine))
LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc
endif
|