pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mutter: Import mutter-40.0 as wip/mutter-linux
Module Name: pkgsrc-wip
Committed By: Dan Cîrnaț <cirnatdan%pkgsrc.org@localhost>
Pushed By: cirnatdan
Date: Wed Apr 21 14:24:27 2021 +0200
Changeset: c8caf9f899d503e7315e1d24afbb6b75ea3bc892
Added Files:
mutter-linux/DESCR
mutter-linux/Makefile
Log Message:
mutter: Import mutter-40.0 as wip/mutter-linux
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c8caf9f899d503e7315e1d24afbb6b75ea3bc892
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mutter-linux/DESCR | 4 +++
mutter-linux/Makefile | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
diffs:
diff --git a/mutter-linux/DESCR b/mutter-linux/DESCR
new file mode 100644
index 0000000000..7951bb6745
--- /dev/null
+++ b/mutter-linux/DESCR
@@ -0,0 +1,4 @@
+Mutter is a window and compositing manager that displays and manages your
+desktop via OpenGL. Mutter combines a sophisticated display engine using
+the Clutter toolkit with solid window-management logic inherited from the
+Metacity window manager.
diff --git a/mutter-linux/Makefile b/mutter-linux/Makefile
new file mode 100644
index 0000000000..40fe4c0859
--- /dev/null
+++ b/mutter-linux/Makefile
@@ -0,0 +1,92 @@
+# $NetBSD$
+
+PLIST_SRC= ${.CURDIR}/../../wip/mutter/PLIST
+
+PATCHDIR= ${.CURDIR}/../../wip/mutter/patches
+DISTINFO_FILE= ${.CURDIR}/../../wip/mutter/distinfo
+FILESDIR= ${.CURDIR}/../../wip/mutter/files
+
+DISTNAME= mutter-40.0
+CATEGORIES= wm gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= cirnatdan%NetBSD.org@localhost
+HOMEPAGE= https://gitlab.gnome.org/GNOME/mutter
+COMMENT= GNOME window manager
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= msgfmt pkg-config
+TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
+BUILD_DEFS+= PKG_SYSCONFBASE
+
+.include "../../graphics/MesaLib/features.mk"
+
+.if ${MESALIB_SUPPORTS_EGL} == "no"
+MESON_ARGS+= -Degl=false
+.endif
+
+.if ${MESALIB_SUPPORTS_GLESv2} == "no"
+MESON_ARGS+= -Dgles2=false
+.endif
+
+MESON_ARGS+= -Dudev=false
+MESON_ARGS+= -Dnative_backend=false
+MESON_ARGS+= -Dlibwacom=false
+MESON_ARGS+= -Dremote_desktop=false
+MESON_ARGS+= -Dprofiler=false
+MESON_ARGS+= -Dwayland=false
+MESON_ARGS+= -Dtests=false #tests require Wayland support
+MESON_ARGS+= -Dsm=true
+MESON_ARGS+= -Dverbose=true
+
+.if ${OPSYS} == "NetBSD"
+MESON_ARGS+= -Dopengl_libname=libGL.so
+TOOLS_PLATFORM.msgfmt=
+.endif
+
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-cogl-pango-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/mutter-clutter-x11-8.pc
+PKGCONFIG_OVERRIDE+= output/meson-private/libmutter-8.pc
+
+LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/mutter-8
+
+post-extract:
+ ${CP} ${FILESDIR}/90-mutter ${WRKSRC}/data
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= data/90-mutter
+SUBST_VARS.paths= PREFIX
+
+EGDIR= ${PREFIX}/share/examples/mutter
+INSTALLATION_DIRS+= share/examples/mutter/X11/xinit/xinitrc.d
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/data/90-mutter \
+ ${DESTDIR}${EGDIR}/X11/xinit/xinitrc.d/90-mutter
+
+REQD_FILES+= ${EGDIR}/X11/xinit/xinitrc.d/90-mutter \
+ ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d/90-mutter
+
+.include "../../devel/meson/build.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.67.3
+.include "../../devel/glib2/schemas.mk"
+.include "../../audio/libcanberra/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../graphics/graphene/buildlink3.mk"
+.include "../../sysutils/gnome-settings-daemon/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gsettings-desktop-schemas+= gsettings-desktop-schemas>=40.0
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
+.include "../../wip/gnome-desktop3-linux/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index