blob: 1cb978aaa53b60c3f622e775ec91447b43b5789b (
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
55
|
# $NetBSD: buildlink3.mk,v 1.9 2016/08/17 00:06:40 ryoon Exp $
BUILDLINK_TREE+= ffmpeg2
.if !defined(FFMPEG2_BUILDLINK3_MK)
FFMPEG2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ffmpeg2+= ffmpeg2>=2.0
BUILDLINK_ABI_DEPENDS.ffmpeg2+= ffmpeg2>=2.8.7nb4
BUILDLINK_PKGSRCDIR.ffmpeg2?= ../../multimedia/ffmpeg2
pkgbase := ffmpeg2
. include "../../mk/pkg-build-options.mk"
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mfreetype)
. include "../../graphics/freetype2/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mfontconfig)
. include "../../fonts/fontconfig/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mtheora)
. include "../../multimedia/libtheora/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mxvid)
. include "../../multimedia/xvidcore/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mx264)
. include "../../multimedia/x264-devel/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mfaac)
. include "../../audio/faac/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.ffmpeg2:Mlibvpx)
. include "../../multimedia/libvpx/buildlink3.mk"
.endif
BUILDLINK_INCDIRS.ffmpeg2+= include/ffmpeg2
BUILDLINK_LIBDIRS.ffmpeg2+= lib/ffmpeg2
BUILDLINK_FNAME_TRANSFORM.ffmpeg2+= -e 's|lib/ffmpeg2/pkgconfig/|lib/pkgconfig/|'
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.endif # FFMPEG2_BUILDLINK3_MK
BUILDLINK_TREE+= -ffmpeg2
|