[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / ffmpeg3

File: [cvs.NetBSD.org] / pkgsrc / multimedia / ffmpeg3 / buildlink3.mk (download)

Revision 1.10, Fri Nov 23 08:06:28 2018 UTC (14 months, 4 weeks ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, HEAD
Changes since 1.9: +2 -2 lines

Recursive revbump from multimedia/libva

# $NetBSD: buildlink3.mk,v 1.10 2018/11/23 08:06:28 ryoon Exp $

BUILDLINK_TREE+=	ffmpeg3

.if !defined(FFMPEG3_BUILDLINK3_MK)
FFMPEG3_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.ffmpeg3+=	ffmpeg3>=3.0
BUILDLINK_ABI_DEPENDS.ffmpeg3+=	ffmpeg3>=3.4.5nb2
BUILDLINK_PKGSRCDIR.ffmpeg3?=	../../multimedia/ffmpeg3

pkgbase := ffmpeg3
.include "../../mk/pkg-build-options.mk"

.include "../../mk/bsd.fast.prefs.mk"

.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mfreetype)
.  include "../../graphics/freetype2/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mfontconfig)
.  include "../../fonts/fontconfig/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mtheora)
.  include "../../multimedia/libtheora/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mxvid)
.  include "../../multimedia/xvidcore/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mx264)
.  include "../../multimedia/x264-devel/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mlibvpx)
.  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/|'

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FFMPEG3_BUILDLINK3_MK

BUILDLINK_TREE+=	-ffmpeg3