pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg3 ffmpeg3: make buildlink (conditiona...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe7a5d8901c1
branches:  trunk
changeset: 358979:fe7a5d8901c1
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Feb 24 21:48:08 2017 +0000

description:
ffmpeg3: make buildlink (conditionally) include vdpau and vaapi.
so dependent packages can use it.

diffstat:

 multimedia/ffmpeg3/buildlink3.mk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r bc93d1e736e3 -r fe7a5d8901c1 multimedia/ffmpeg3/buildlink3.mk
--- a/multimedia/ffmpeg3/buildlink3.mk  Fri Feb 24 19:14:39 2017 +0000
+++ b/multimedia/ffmpeg3/buildlink3.mk  Fri Feb 24 21:48:08 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2017/01/16 23:45:10 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2017/02/24 21:48:08 maya Exp $
 
 BUILDLINK_TREE+=       ffmpeg3
 
@@ -38,6 +38,14 @@
 .  include "../../multimedia/libvpx/buildlink3.mk"
 .endif
 
+.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mvaapi)
+.  include "../../multimedia/libva/buildlink3.mk"
+.endif
+
+.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mvdpau)
+.  include "../../multimedia/libvdpau/buildlink3.mk"
+.endif
+
 BUILDLINK_INCDIRS.ffmpeg3+=            include/ffmpeg3
 BUILDLINK_LIBDIRS.ffmpeg3+=            lib/ffmpeg3
 BUILDLINK_FNAME_TRANSFORM.ffmpeg3+=    -e 's|lib/ffmpeg3/pkgconfig/|lib/pkgconfig/|'



Home | Main Index | Thread Index | Old Index