Sun Nov 22 00:05:09 2020 UTC ()
mutter: reflect universal tool dependencies universally


(gutteridge)
diff -r1.4 -r1.5 pkgsrc/wm/mutter/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/wm/mutter/Makefile (expand / switch to unified diff)

--- pkgsrc/wm/mutter/Makefile 2020/11/21 10:41:47 1.4
+++ pkgsrc/wm/mutter/Makefile 2020/11/22 00:05:09 1.5
@@ -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
3DISTNAME= mutter-3.38.1 3DISTNAME= mutter-3.38.1
4CATEGORIES= wm gnome 4CATEGORIES= wm gnome
5MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/} 5MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= dan@alt.md 8MAINTAINER= dan@alt.md
9HOMEPAGE= https://gitlab.gnome.org/GNOME/mutter 9HOMEPAGE= https://gitlab.gnome.org/GNOME/mutter
10COMMENT= GNOME window manager 10COMMENT= GNOME window manager
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13USE_TOOLS+= pkg-config 13USE_TOOLS+= msgfmt pkg-config
14TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen 14TOOL_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"
19MESON_ARGS+= -Degl=false 19MESON_ARGS+= -Degl=false
20.endif 20.endif
21 21
22.if ${MESALIB_SUPPORTS_GLESv2} == "no" 22.if ${MESALIB_SUPPORTS_GLESv2} == "no"
23MESON_ARGS+= -Dgles2=false 23MESON_ARGS+= -Dgles2=false
24.endif 24.endif
25 25
26MESON_ARGS+= -Dudev=false 26MESON_ARGS+= -Dudev=false
27MESON_ARGS+= -Dnative_backend=false 27MESON_ARGS+= -Dnative_backend=false
28MESON_ARGS+= -Dlibwacom=false 28MESON_ARGS+= -Dlibwacom=false
29MESON_ARGS+= -Dremote_desktop=false 29MESON_ARGS+= -Dremote_desktop=false
30MESON_ARGS+= -Dprofiler=false 30MESON_ARGS+= -Dprofiler=false
31MESON_ARGS+= -Dwayland=false 31MESON_ARGS+= -Dwayland=false
32MESON_ARGS+= -Dtests=false #tests require Wayland support 32MESON_ARGS+= -Dtests=false #tests require Wayland support
33MESON_ARGS+= -Dsm=true 33MESON_ARGS+= -Dsm=true
34MESON_ARGS+= -Dverbose=true 34MESON_ARGS+= -Dverbose=true
35 35
36.if ${OPSYS} == "NetBSD" 36.if ${OPSYS} == "NetBSD"
37MESON_ARGS+= -Dopengl_libname=libGL.so 37MESON_ARGS+= -Dopengl_libname=libGL.so
38USE_TOOLS+= msgfmt 
39TOOLS_PLATFORM.msgfmt= 38TOOLS_PLATFORM.msgfmt=
40.endif 39.endif
41 40
42PKGCONFIG_OVERRIDE_STAGE= pre-install 41PKGCONFIG_OVERRIDE_STAGE= pre-install
43PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-7.pc 42PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-7.pc
44PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-7.pc 43PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-7.pc
45PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-7.pc 44PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-7.pc
46PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-7.pc 45PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-7.pc
47PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-7.pc 46PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-7.pc
48 47
49LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-7 48LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-7
50 49
51.include "../../devel/meson/build.mk" 50.include "../../devel/meson/build.mk"