| @@ -1,63 +1,64 @@ | | | @@ -1,63 +1,64 @@ |
1 | # $NetBSD: Makefile,v 1.1 2020/11/10 01:56:20 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2020/11/17 13:27:00 mef Exp $ |
2 | | | 2 | |
3 | DISTNAME= mutter-3.38.1 | | 3 | DISTNAME= mutter-3.38.1 |
4 | CATEGORIES= wm gnome | | 4 | CATEGORIES= wm gnome |
5 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/} | | 5 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/} |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= dan@alt.md | | 8 | MAINTAINER= dan@alt.md |
9 | HOMEPAGE= https://gitlab.gnome.org/GNOME/mutter | | 9 | HOMEPAGE= https://gitlab.gnome.org/GNOME/mutter |
10 | COMMENT= GNOME window manager | | 10 | COMMENT= GNOME window manager |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | USE_TOOLS+= pkg-config | | 13 | USE_TOOLS+= pkg-config |
| | | 14 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
14 | | | 15 | |
15 | .include "../../graphics/MesaLib/features.mk" | | 16 | .include "../../graphics/MesaLib/features.mk" |
16 | | | 17 | |
17 | .if ${MESALIB_SUPPORTS_EGL} == "no" | | 18 | .if ${MESALIB_SUPPORTS_EGL} == "no" |
18 | MESON_ARGS+= -Degl=false | | 19 | MESON_ARGS+= -Degl=false |
19 | .endif | | 20 | .endif |
20 | | | 21 | |
21 | .if ${MESALIB_SUPPORTS_GLESv2} == "no" | | 22 | .if ${MESALIB_SUPPORTS_GLESv2} == "no" |
22 | MESON_ARGS+= -Dgles2=false | | 23 | MESON_ARGS+= -Dgles2=false |
23 | .endif | | 24 | .endif |
24 | | | 25 | |
25 | MESON_ARGS+= -Dudev=false | | 26 | MESON_ARGS+= -Dudev=false |
26 | MESON_ARGS+= -Dnative_backend=false | | 27 | MESON_ARGS+= -Dnative_backend=false |
27 | MESON_ARGS+= -Dlibwacom=false | | 28 | MESON_ARGS+= -Dlibwacom=false |
28 | MESON_ARGS+= -Dremote_desktop=false | | 29 | MESON_ARGS+= -Dremote_desktop=false |
29 | MESON_ARGS+= -Dprofiler=false | | 30 | MESON_ARGS+= -Dprofiler=false |
30 | MESON_ARGS+= -Dwayland=false | | 31 | MESON_ARGS+= -Dwayland=false |
31 | MESON_ARGS+= -Dtests=false #tests require Wayland support | | 32 | MESON_ARGS+= -Dtests=false #tests require Wayland support |
32 | MESON_ARGS+= -Dsm=true | | 33 | MESON_ARGS+= -Dsm=true |
33 | MESON_ARGS+= -Dverbose=true | | 34 | MESON_ARGS+= -Dverbose=true |
34 | | | 35 | |
35 | .if ${OPSYS} == "NetBSD" | | 36 | .if ${OPSYS} == "NetBSD" |
36 | MESON_ARGS+= -Dopengl_libname=libGL.so | | 37 | MESON_ARGS+= -Dopengl_libname=libGL.so |
37 | .endif | | 38 | .endif |
38 | | | 39 | |
39 | PKGCONFIG_OVERRIDE_STAGE= pre-install | | 40 | PKGCONFIG_OVERRIDE_STAGE= pre-install |
40 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-7.pc | | 41 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-7.pc |
41 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-7.pc | | 42 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-7.pc |
42 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-7.pc | | 43 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-7.pc |
43 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-7.pc | | 44 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-7.pc |
44 | PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-7.pc | | 45 | PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-7.pc |
45 | | | 46 | |
46 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-7 | | 47 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-7 |
47 | | | 48 | |
48 | .include "../../devel/meson/build.mk" | | 49 | .include "../../devel/meson/build.mk" |
49 | .include "../../devel/glib2/schemas.mk" | | 50 | .include "../../devel/glib2/schemas.mk" |
50 | .include "../../audio/libcanberra/buildlink3.mk" | | 51 | .include "../../audio/libcanberra/buildlink3.mk" |
51 | .include "../../devel/gobject-introspection/buildlink3.mk" | | 52 | .include "../../devel/gobject-introspection/buildlink3.mk" |
52 | .include "../../graphics/graphene/buildlink3.mk" | | 53 | .include "../../graphics/graphene/buildlink3.mk" |
53 | .include "../../sysutils/gnome-settings-daemon/buildlink3.mk" | | 54 | .include "../../sysutils/gnome-settings-daemon/buildlink3.mk" |
54 | .include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk" | | 55 | .include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk" |
55 | .include "../../textproc/json-glib/buildlink3.mk" | | 56 | .include "../../textproc/json-glib/buildlink3.mk" |
56 | .include "../../x11/gtk3/buildlink3.mk" | | 57 | .include "../../x11/gtk3/buildlink3.mk" |
57 | .include "../../x11/libICE/buildlink3.mk" | | 58 | .include "../../x11/libICE/buildlink3.mk" |
58 | .include "../../x11/libSM/buildlink3.mk" | | 59 | .include "../../x11/libSM/buildlink3.mk" |
59 | .include "../../x11/libX11/buildlink3.mk" | | 60 | .include "../../x11/libX11/buildlink3.mk" |
60 | .include "../../x11/libxkbfile/buildlink3.mk" | | 61 | .include "../../x11/libxkbfile/buildlink3.mk" |
61 | .include "../../x11/gnome-desktop3/buildlink3.mk" | | 62 | .include "../../x11/gnome-desktop3/buildlink3.mk" |
62 | .include "../../x11/startup-notification/buildlink3.mk" | | 63 | .include "../../x11/startup-notification/buildlink3.mk" |
63 | .include "../../mk/bsd.pkg.mk" | | 64 | .include "../../mk/bsd.pkg.mk" |