Ionen Wolkens 24ea9364ea media-video/ffmpeg: use pkgconf for npp
Hadn't noticed that cuda had .pc files (they are in /opt/cuda/pkgconfig
with PKG_CONFIG_PATH set in env.d), and this saves us from having to
figure out paths.

Also move to multilib_src_configure, while it only returns safe paths
"currently" would still rather not pass a 64bit -L for 32bit esp.
if it comes from pkgconf given it could unexpectedly change.

ffmpeg checks for several more libraries than just "nppc" but I see
little reason to maintain the full list in the ebuild, ffmpeg handles
the -l arguments itself and checks for two different sets which would
complicate things. Will revisit if a new cuda version ever starts
needing per-npp-library -L/-I for some reason.

Unsure if there is a reason why ffmpeg itself does not use .pc files,
would need to check what other distros and nvidia's own installer do
-- but given our cuda ebuild seem to have special handling for .pc
it's possible that they're missing for some/many or even all. Ideal
would be for ffmpeg to try these first and (if really needed) then
fallback to check_lib, but not going to look into upstreaming such fix
myself.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-08-12 20:22:30 -04:00
2025-08-02 19:16:45 +02:00
2025-08-02 19:16:45 +02:00
2025-08-10 23:25:53 +02:00
2025-08-12 12:22:34 +02:00
2025-08-11 11:50:43 +02:00
2025-08-09 21:58:24 +09:00
2025-08-12 14:32:33 +03:00
2025-07-12 13:34:20 +02:00
2025-08-11 01:35:37 -04:00
2025-08-12 05:38:09 +01:00
2025-07-29 18:41:11 -04:00
2025-07-30 13:59:48 +03:00
2025-08-11 00:53:28 +02:00
2025-08-12 19:08:45 +02:00
2025-07-25 11:54:53 +03:00
2025-08-12 19:08:50 +02:00
2025-08-12 15:44:28 -07:00
2025-07-30 18:57:02 +02:00
2025-08-08 13:49:19 -04:00
2025-08-07 21:31:33 +02:00
2025-08-12 17:04:35 +02:00
2025-08-11 20:03:12 +02:00
2025-08-08 08:11:03 +01:00
2025-07-28 18:55:52 +02:00
2025-08-10 12:47:18 -07:00
2025-08-10 09:15:39 +02:00
2025-08-07 08:29:52 +03:00
2025-08-10 06:07:10 +00:00
2025-08-04 11:26:41 +02:00
2025-08-10 23:25:55 +02:00
2025-08-10 23:25:54 +02:00
2025-07-27 10:48:31 +02:00
2025-08-11 14:29:36 +01:00
2025-08-11 11:38:02 +02:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%