| @@ -1,51 +1,50 @@ | | | @@ -1,51 +1,50 @@ |
1 | # $NetBSD: Makefile,v 1.4 2020/11/21 10:41:47 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2020/11/22 00:05:09 gutteridge 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+= msgfmt pkg-config |
14 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | | 14 | TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
15 | | | 15 | |
16 | .include "../../graphics/MesaLib/features.mk" | | 16 | .include "../../graphics/MesaLib/features.mk" |
17 | | | 17 | |
18 | .if ${MESALIB_SUPPORTS_EGL} == "no" | | 18 | .if ${MESALIB_SUPPORTS_EGL} == "no" |
19 | MESON_ARGS+= -Degl=false | | 19 | MESON_ARGS+= -Degl=false |
20 | .endif | | 20 | .endif |
21 | | | 21 | |
22 | .if ${MESALIB_SUPPORTS_GLESv2} == "no" | | 22 | .if ${MESALIB_SUPPORTS_GLESv2} == "no" |
23 | MESON_ARGS+= -Dgles2=false | | 23 | MESON_ARGS+= -Dgles2=false |
24 | .endif | | 24 | .endif |
25 | | | 25 | |
26 | MESON_ARGS+= -Dudev=false | | 26 | MESON_ARGS+= -Dudev=false |
27 | MESON_ARGS+= -Dnative_backend=false | | 27 | MESON_ARGS+= -Dnative_backend=false |
28 | MESON_ARGS+= -Dlibwacom=false | | 28 | MESON_ARGS+= -Dlibwacom=false |
29 | MESON_ARGS+= -Dremote_desktop=false | | 29 | MESON_ARGS+= -Dremote_desktop=false |
30 | MESON_ARGS+= -Dprofiler=false | | 30 | MESON_ARGS+= -Dprofiler=false |
31 | MESON_ARGS+= -Dwayland=false | | 31 | MESON_ARGS+= -Dwayland=false |
32 | MESON_ARGS+= -Dtests=false #tests require Wayland support | | 32 | MESON_ARGS+= -Dtests=false #tests require Wayland support |
33 | MESON_ARGS+= -Dsm=true | | 33 | MESON_ARGS+= -Dsm=true |
34 | MESON_ARGS+= -Dverbose=true | | 34 | MESON_ARGS+= -Dverbose=true |
35 | | | 35 | |
36 | .if ${OPSYS} == "NetBSD" | | 36 | .if ${OPSYS} == "NetBSD" |
37 | MESON_ARGS+= -Dopengl_libname=libGL.so | | 37 | MESON_ARGS+= -Dopengl_libname=libGL.so |
38 | USE_TOOLS+= msgfmt | | | |
39 | TOOLS_PLATFORM.msgfmt= | | 38 | TOOLS_PLATFORM.msgfmt= |
40 | .endif | | 39 | .endif |
41 | | | 40 | |
42 | PKGCONFIG_OVERRIDE_STAGE= pre-install | | 41 | PKGCONFIG_OVERRIDE_STAGE= pre-install |
43 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-7.pc | | 42 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-7.pc |
44 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-7.pc | | 43 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-7.pc |
45 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-7.pc | | 44 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-7.pc |
46 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-7.pc | | 45 | PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-7.pc |
47 | PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-7.pc | | 46 | PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-7.pc |
48 | | | 47 | |
49 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-7 | | 48 | LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-7 |
50 | | | 49 | |
51 | .include "../../devel/meson/build.mk" | | 50 | .include "../../devel/meson/build.mk" |