pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnome-desktop: Import gnome-desktop-40.0 as wip/gnome-desktop3-linux



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <cirnatdan%pkgsrc.org@localhost>
Pushed By:	cirnatdan
Date:		Mon Apr 19 21:39:01 2021 +0200
Changeset:	ef93a7c3a6517480ec5dbf3a788d51969040d081

Added Files:
	gnome-desktop3-linux/DESCR
	gnome-desktop3-linux/Makefile
	gnome-desktop3-linux/buildlink3.mk

Log Message:
gnome-desktop: Import gnome-desktop-40.0 as wip/gnome-desktop3-linux

This WIP package is a demonstration of using the libseccomp builtin,
fixing the build of gnome-desktop on Linux

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ef93a7c3a6517480ec5dbf3a788d51969040d081

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnome-desktop3-linux/DESCR         |  2 ++
 gnome-desktop3-linux/Makefile      | 49 ++++++++++++++++++++++++++++++++++++++
 gnome-desktop3-linux/buildlink3.mk | 20 ++++++++++++++++
 3 files changed, 71 insertions(+)

diffs:
diff --git a/gnome-desktop3-linux/DESCR b/gnome-desktop3-linux/DESCR
new file mode 100644
index 0000000000..a485f9737b
--- /dev/null
+++ b/gnome-desktop3-linux/DESCR
@@ -0,0 +1,2 @@
+gnome-desktop contains the libgnome-desktop library, the gnome-about
+program as well as some desktop-wide documents for GNOME 3.
diff --git a/gnome-desktop3-linux/Makefile b/gnome-desktop3-linux/Makefile
new file mode 100644
index 0000000000..289fccbea1
--- /dev/null
+++ b/gnome-desktop3-linux/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.46 2021/04/13 17:35:45 cirnatdan Exp $
+PLIST_SRC=	${.CURDIR}/../../x11/gnome-desktop3/PLIST
+PATCHDIR=	${.CURDIR}/../../x11/gnome-desktop3/patches
+DISTINFO_FILE=	${.CURDIR}/../../x11/gnome-desktop3/distinfo
+
+DISTNAME=	gnome-desktop-40.0
+PKGNAME=	${DISTNAME:S/desktop/desktop3/}
+CATEGORIES=	x11 gnome
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gnome-desktop/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	prlw1%cam.ac.uk@localhost
+HOMEPAGE=	https://www.gnome.org/
+COMMENT=	GNOME3 desktop-wide documents and libgnome-desktop library
+LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2 AND gnu-fdl-v1.1
+
+TOOL_DEPENDS+=		gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
+
+USE_TOOLS+=		pkg-config xgettext
+PKGCONFIG_OVERRIDE+=	libgnome-desktop/gnome-desktop-3.0.pc.in
+
+MESON_ARGS+=		-Dsystemd=disabled
+MESON_ARGS+=		-Dudev=disabled
+MESON_ARGS+=		-Ddistributor="The NetBSD Foundation"
+MESON_ARGS+=		-Ddate_in_gnome_version=false
+MESON_ARGS+=		-Ddesktop_docs=false
+MESON_ARGS+=		-Dgtk_doc=false
+MESON_ARGS+=		-Ddebug_tools=false
+
+PYTHON_FOR_BUILD_ONLY=	tool
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+.include "../../wip/mk/libseccomp.buildlink3.mk"
+.endif
+
+BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.44.0
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gdk-pixbuf2+=	gdk-pixbuf2>=2.36.5
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gsettings-desktop-schemas+=	gsettings-desktop-schemas>=3.27.0
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../textproc/iso-codes/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
+.include "../../x11/xkeyboard-config/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnome-desktop3-linux/buildlink3.mk b/gnome-desktop3-linux/buildlink3.mk
new file mode 100644
index 0000000000..5060141d70
--- /dev/null
+++ b/gnome-desktop3-linux/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.33 2020/11/04 12:12:48 nia Exp $
+
+BUILDLINK_TREE+=	gnome-desktop3
+
+.if !defined(GNOME_DESKTOP3_BUILDLINK3_MK)
+GNOME_DESKTOP3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gnome-desktop3+=	gnome-desktop3>=3.4.2
+BUILDLINK_ABI_DEPENDS.gnome-desktop3+=	gnome-desktop3>=3.36
+BUILDLINK_PKGSRCDIR.gnome-desktop3?=	../../wip/gnome-desktop3-linux
+
+.include "../../wip/mk/libseccomp.buildlink3.mk"
+BUILDLINK_API_DEPENDS.gsettings-desktop-schemas+=	gsettings-desktop-schemas>=3.27.0
+.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/xkeyboard-config/buildlink3.mk"
+.include "../../textproc/iso-codes/buildlink3.mk"
+.endif
+
+BUILDLINK_TREE+=	-gnome-desktop3


Home | Main Index | Thread Index | Old Index