blob: c50a7b01039709e814cbe0e273c3ede420b5afd8 (
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
56
57
|
# $NetBSD: buildlink3.mk,v 1.15 2022/08/11 05:08:07 gutteridge Exp $
BUILDLINK_TREE+= SDL2
.if !defined(SDL2_BUILDLINK3_MK)
SDL2_BUILDLINK3_MK:=
BUILDLINK_ABI_DEPENDS.SDL2+= SDL2>=2.0.22nb2
BUILDLINK_API_DEPENDS.SDL2+= SDL2>=2.0
BUILDLINK_PKGSRCDIR.SDL2?= ../../devel/SDL2
BUILDLINK_INCDIRS.SDL2+= include/SDL2
pkgbase := SDL2
.include "../../mk/pkg-build-options.mk"
.if ${PKG_BUILD_OPTIONS.SDL2:Malsa}
.include "../../audio/alsa-lib/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.SDL2:Mjack}
.include "../../audio/jack/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.SDL2:Mnas}
.include "../../audio/nas/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.SDL2:Mopengl} && ${OPSYS} != "Darwin"
.include "../../graphics/MesaLib/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.SDL2:Mrpi}
.include "../../misc/raspberrypi-userland/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.SDL2:Mwayland}
.include "../../devel/wayland/buildlink3.mk"
.include "../../devel/wayland-protocols/buildlink3.mk"
.include "../../x11/libxkbcommon/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.SDL2:Mx11}
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libXScrnSaver/buildlink3.mk"
.endif
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # SDL2_BUILDLINK3_MK
BUILDLINK_TREE+= -SDL2
|