summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-02-24 21:48:08 +0000
committermaya <maya@pkgsrc.org>2017-02-24 21:48:08 +0000
commitf9f3a53b8bd7d8e33fdb3d557ee953995b4e64ef (patch)
tree29fb3b81ce6ee9db63690184d97a57615a85c0c0 /multimedia
parenta8819d85205a19fb14f8d512330997c62fd6e4a3 (diff)
downloadpkgsrc-f9f3a53b8bd7d8e33fdb3d557ee953995b4e64ef.tar.gz
ffmpeg3: make buildlink (conditionally) include vdpau and vaapi.
so dependent packages can use it.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg3/buildlink3.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/ffmpeg3/buildlink3.mk b/multimedia/ffmpeg3/buildlink3.mk
index 9646df6147c..08ee29128de 100644
--- a/multimedia/ffmpeg3/buildlink3.mk
+++ b/multimedia/ffmpeg3/buildlink3.mk
@@ -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 @@ pkgbase := ffmpeg3
. 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/|'