gentoo-ebuilds/media-libs/x265/files/x265-4.1-vmaf.patch
Paul Zander 18bb2d8fd5
media-libs/x265: add 4.1, add vmaf
add vmaf
add aarch64 asm dep
rebase patches

Bug: https://bugs.gentoo.org/951836
Closes: https://bugs.gentoo.org/943008
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44229
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-19 19:02:20 +01:00

24 lines
694 B
Diff

From 8a327700139481378a5b4d25e349c059190057c2 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Sat, 21 Sep 2024 19:17:22 +0200
Subject: [PATCH] enable vmaf for shared lib
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a203f4f..c14767f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -814,6 +814,9 @@ if(ENABLE_SHARED)
endif()
if(EXTRA_LIB)
target_link_libraries(x265-shared ${EXTRA_LIB})
+ endif()
+ if(ENABLE_LIBVMAF)
+ target_link_libraries(x265-shared ${VMAF})
endif()
target_link_libraries(x265-shared ${PLATFORM_LIBS})
if(SVTHEVC_FOUND)
--
2.46.0