aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLukas Rusak <lorusak@gmail.com>2020-09-03 12:22:32 -0700
committerLukas Rusak <lorusak@gmail.com>2020-09-05 23:11:54 -0700
commit2836c41bdac61a0c7a8db1ace577bb966776c1f9 (patch)
tree5a238cf161a6f1e95637a4576fd7f87f993cc7e9 /tools
parentca6987d2d22841ceffb5f302d6c005cca08d13dc (diff)
tools/depends: add libva to target build for x86_64 gbm
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/depends/target/Makefile b/tools/depends/target/Makefile
index a08325ce52..405690ceab 100644
--- a/tools/depends/target/Makefile
+++ b/tools/depends/target/Makefile
@@ -75,6 +75,10 @@ ifeq ($(OS),linux)
endif
ifeq ($(TARGET_PLATFORM),gbm)
DEPENDS += libdrm mesa
+ ifeq ($(CPU),x86_64)
+ DEPENDS += libva
+ LIBVA = libva
+ endif
endif
endif
@@ -107,7 +111,7 @@ pythonmodule-pycryptodome: $(PYMODULE_DEPS) python3 pythonmodule-setuptools
pythonmodule-pil: bzip2 $(PYMODULE_DEPS) $(ZLIB) libjpeg-turbo libpng freetype2 python3 pythonmodule-setuptools
pythonmodule-setuptools: $(PYMODULE_DEPS) python3
libxslt: libgcrypt libxml2
-ffmpeg: $(ICONV) $(ZLIB) bzip2 gnutls dav1d
+ffmpeg: $(ICONV) $(ZLIB) bzip2 gnutls dav1d $(LIBVA)
libcec: p8-platform
crossguid: $(LIBUUID)
libdvdnav: libdvdread
@@ -124,6 +128,7 @@ fribidi: meson-cross-file
libspdlog: libfmt
libdrm: meson-cross-file
mesa: libdrm meson-cross-file
+libva: libdrm
.installed-$(PLATFORM): $(DEPENDS)
touch $@