gentoo-ebuilds/media-gfx/netgen/files/netgen-6.2.2406-link-against-ffmpeg.patch
Paul Zander ce8f479f9c
media-gfx/netgen: add 6.2.2406
Closes: https://bugs.gentoo.org/911179
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2025-01-05 20:33:25 +00:00

17 lines
700 B
Diff

From 69d9c2da29adc9b7a209e78aae950d9834683f58 Mon Sep 17 00:00:00 2001
From: Bernd Waibel <waebbl-gentoo@posteo.net>
Date: Mon, 31 Oct 2022 13:07:05 +0100
Subject: [PATCH] link against ffmpeg
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
--- a/ng/CMakeLists.txt
+++ b/ng/CMakeLists.txt
@@ -28,7 +28,7 @@ if(USE_GUI)
if(APPLE)
set_target_properties(netgen PROPERTIES OUTPUT_NAME netgen)
endif(APPLE)
- target_link_libraries( netgen ${Python3_LIBRARIES} ${TCL_LIBRARY} ${TK_LIBRARY})
+ target_link_libraries( netgen ${Python3_LIBRARIES} ${TCL_LIBRARY} ${TK_LIBRARY} ${FFMPEG_LIBRARIES})
endif(NOT BUILD_FOR_CONDA)
install(TARGETS nggui ${NG_INSTALL_DIR})