Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2014 17:43:50 +0100
From:      Dominic Fandrey <kami@freebsd.org>
To:        multimedia@FreeBSD.org
Subject:   [patch] multimedia/ffmpeg fix for libvdpau dependency
Message-ID:  <54906146.3010303@freebsd.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
libvdpau is only a build dependency, even though it is dynamically
linked.

I.e. after running /pkg autoremove/ running ffmpeg failed:
# ffmpeg
Shared object "libvdpau.so.1" not found, required by "ffmpeg"

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


[-- Attachment #2 --]
Index: multimedia/ffmpeg/Makefile
===================================================================
--- multimedia/ffmpeg/Makefile	(revision 374809)
+++ multimedia/ffmpeg/Makefile	(working copy)
@@ -178,7 +178,7 @@
 VAAPI_CONFIGURE_ENABLE=	vaapi
 
 # vdpau
-VDPAU_BUILD_DEPENDS=	${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau
+VDPAU_LIB_DEPENDS=	libvdpau.so:${PORTSDIR}/multimedia/libvdpau
 VDPAU_CONFIGURE_ENABLE=	vdpau
 
 # vo-aacenc

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54906146.3010303>