blob: 761385795e203c6f097d0cc42b1c14b7fc6ab48c (
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
|
$(eval $(call import.MODULE.defs,LIBVPX,libvpx,YASM))
$(eval $(call import.CONTRIB.defs,LIBVPX))
LIBVPX.FETCH.url = http://download.handbrake.fr/contrib/libvpx-1.5.0.tar.bz2
LIBVPX.FETCH.url += http://downloads.webmproject.org/releases/webm/libvpx-1.5.0.tar.bz2
LIBVPX.FETCH.md5 = 49e59dd184caa255886683facea56fca
LIBVPX.CONFIGURE.args.host =
LIBVPX.CONFIGURE.deps =
LIBVPX.CONFIGURE.extra = \
--as=yasm \
--enable-vp8-encoder \
--enable-vp9-encoder \
--disable-vp9-decoder \
--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
ifeq (1,$(FEATURE.local_yasm))
LIBVPX.CONFIGURE.env.LOCAL_PATH = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
LIBVPX.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
endif
|