summaryrefslogtreecommitdiffstats
path: root/contrib/libmfx/module.defs
blob: 45768828c22b123745bef657a52e72d997a4310d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$(eval $(call import.MODULE.defs,LIBMFX,libmfx))
$(eval $(call import.CONTRIB.defs,LIBMFX))

LIBMFX.FETCH.url       = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/mfx_dispatch-1.34.tar.gz
LIBMFX.FETCH.url      += https://github.com/lu-zero/mfx_dispatch/archive/1.34.tar.gz
LIBMFX.FETCH.sha256    = 904D8F3ED14F583E0202DB558532B64A8B1F6460D4AB5F68AE1562A00FBB3C5D
LIBMFX.FETCH.basename  = mfx_dispatch-1.32.1.tar.gz
LIBMFX.EXTRACT.tarbase = mfx_dispatch-1.32.1

LIBMFX.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;

ifneq (linux,$(HOST.system))
LIBMFX.CONFIGURE.extra = --without-libva_drm --without-libva_x11
endif

## optional static libs need to be marked
LIBMFX.OSL.libs  = mfx
LIBMFX.OSL.files = $(foreach i,$(LIBMFX.OSL.libs),$(call fn.ABSOLUTE,$(CONTRIB.build/)lib/lib$(i).a))