blob: e4ab9f54d6903884c19b9daef099423463a9c16d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: buildlink3.mk,v 1.1 2016/03/05 08:52:23 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.0
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:Mfaac)
. include "../../audio/faac/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg3:Mlibvpx)
. include "../../multimedia/libvpx/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 "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FFMPEG3_BUILDLINK3_MK
BUILDLINK_TREE+= -ffmpeg3
|