blob: f07d30138d9a1cd2df3f9d3fde52845c1f42fcc4 (
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
|
# $NetBSD: buildlink3.mk,v 1.5 2017/01/16 23:45:10 wiz 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
|