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

LIBMFX.FETCH.url    = https://download.handbrake.fr/contrib/mfx_dispatch-9f4a84d7.tar.gz
LIBMFX.FETCH.sha256 = e07d1024e86998ac3992620f5db0f999af51cc700f7de90da2ebbe1e8a3b6efe

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

ifneq (1,$(FEATURE.qsv))
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))