From e132a2c0b23cbb0dd18c64a7e7f0b0d5b56dbb5c Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 20 Mar 2023 18:43:26 +0000 Subject: [PATCH] multimedia/dav1d: unbreak with --auto-features=enabled tools/meson.build:50:8: ERROR: Problem encountered: C symbol XXH3_createState not found in header xxhash.h https://code.videolan.org/videolan/dav1d/-/commit/e61685253608 PR: 270361 --- multimedia/dav1d/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/multimedia/dav1d/Makefile b/multimedia/dav1d/Makefile index 43a050e99823..785d2e34578b 100644 --- a/multimedia/dav1d/Makefile +++ b/multimedia/dav1d/Makefile @@ -22,7 +22,7 @@ GL_ACCOUNT= videolan GL_COMMIT= 9593e625b75d498d1edea544da21ea764b98d507 LDFLAGS_i386= -Wl,-z,notext -OPTIONS_DEFINE= SDL TEST +OPTIONS_DEFINE= SDL TEST XXHASH OPTIONS_SUB= yes SDL_USES= pkgconfig sdl @@ -35,6 +35,11 @@ SDL_MESON_TRUE= enable_examples TEST_GL_TUPLE= videolan:dav1d-test-data:b1bb21f24d1c97e6bcbbc2db9c39155c4354c4bc:testdata/tests/dav1d-test-data TEST_MESON_TRUE=enable_tests testdata_tests +XXHASH_DESC= xxHash 3 muxer +XXHASH_BUILD_DEPENDS= xxhash>0:devel/xxhash +XXHASH_USES= localbase +XXHASH_MESON_ENABLED= xxhash_muxer + .if make(makesum) # for optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" .endif