pkgsrc/multimedia/ffmpeg1/buildlink3.mk
rillig 17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2018/01/07 13:04:23 rillig Exp $
BUILDLINK_TREE+= ffmpeg1
.if !defined(FFMPEG1_BUILDLINK3_MK)
FFMPEG1_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ffmpeg1+= ffmpeg1>=1.2.6nb1
BUILDLINK_ABI_DEPENDS.ffmpeg1?= ffmpeg1>=1.2.12nb5
BUILDLINK_PKGSRCDIR.ffmpeg1?= ../../multimedia/ffmpeg1
pkgbase := ffmpeg1
.include "../../mk/pkg-build-options.mk"
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(PKG_BUILD_OPTIONS.ffmpeg1:Mtheora)
. include "../../multimedia/libtheora/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg1:Mxvid)
. include "../../multimedia/xvidcore/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg1:Mx264)
. include "../../multimedia/x264-devel/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg1:Mfaac)
. include "../../audio/faac/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg1:Mlibvpx)
. include "../../multimedia/libvpx/buildlink3.mk"
.endif
BUILDLINK_INCDIRS.ffmpeg1+= include/ffmpeg1
BUILDLINK_LIBDIRS.ffmpeg1+= lib/ffmpeg1
BUILDLINK_FNAME_TRANSFORM.ffmpeg1+= -e 's|lib/ffmpeg1/pkgconfig/|lib/pkgconfig/|'
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FFMPEG1_BUILDLINK3_MK
BUILDLINK_TREE+= -ffmpeg1