git: 3b9e23a18a2d - main - devel/d-spy: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 01 Nov 2022 14:24:17 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b9e23a18a2d5c3bcbc20d0f9fbf7adad731e9df

commit 3b9e23a18a2d5c3bcbc20d0f9fbf7adad731e9df
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-09-17 20:06:41 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-01 14:23:59 +0000

    devel/d-spy: add new port
    
    D-Spy is a tool to explore and test end-points and interfaces on the
    System or Session D-Bus. You can also connect to D-Bus peers by
    address. D-Spy was originally part of GNOME Builder.
    
    https://gitlab.gnome.org/GNOME/d-spy
---
 devel/Makefile        |  1 +
 devel/d-spy/Makefile  | 22 ++++++++++++++++++++++
 devel/d-spy/distinfo  |  3 +++
 devel/d-spy/pkg-descr |  3 +++
 devel/d-spy/pkg-plist | 24 ++++++++++++++++++++++++
 5 files changed, 53 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 09a1f8aa3f0c..cd2c56c0ff8d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -495,6 +495,7 @@
     SUBDIR += cxxtools
     SUBDIR += d-feet
     SUBDIR += d-scanner
+    SUBDIR += d-spy
     SUBDIR += darts
     SUBDIR += dash.el
     SUBDIR += dasm
diff --git a/devel/d-spy/Makefile b/devel/d-spy/Makefile
new file mode 100644
index 000000000000..50831dd7c102
--- /dev/null
+++ b/devel/d-spy/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	d-spy
+PORTVERSION=	1.4.0
+CATEGORIES=	devel
+MASTER_SITES=	GNOME
+
+MAINTAINER=	gnome@FreeBSD.org
+COMMENT=	D-Bus explorer
+WWW=		https://gitlab.gnome.org/GNOME/d-spy
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		gettext gnome meson pkgconfig tar:xz
+USE_GNOME=	gtk40 libadwaita
+USE_LDCONFIG=	yes
+GLIB_SCHEMAS=	org.gnome.dspy.gschema.xml
+
+post-patch:
+	@${REINPLACE_CMD} -e '/update_desktop_database/d' \
+		${WRKSRC}/meson.build
+
+.include <bsd.port.mk>
diff --git a/devel/d-spy/distinfo b/devel/d-spy/distinfo
new file mode 100644
index 000000000000..02bf015ae59d
--- /dev/null
+++ b/devel/d-spy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663445201
+SHA256 (d-spy-1.4.0.tar.xz) = eae8748cea624c5c4c75e021c2df1d7376e4f9f8fbe89ac4434911ecf7886772
+SIZE (d-spy-1.4.0.tar.xz) = 215428
diff --git a/devel/d-spy/pkg-descr b/devel/d-spy/pkg-descr
new file mode 100644
index 000000000000..6880f5322d60
--- /dev/null
+++ b/devel/d-spy/pkg-descr
@@ -0,0 +1,3 @@
+D-Spy is a tool to explore and test end-points and interfaces on the
+System or Session D-Bus. You can also connect to D-Bus peers by
+address. D-Spy was originally part of GNOME Builder.
diff --git a/devel/d-spy/pkg-plist b/devel/d-spy/pkg-plist
new file mode 100644
index 000000000000..0c642311d014
--- /dev/null
+++ b/devel/d-spy/pkg-plist
@@ -0,0 +1,24 @@
+bin/d-spy
+include/dspy-1/dspy-connection-button.h
+include/dspy-1/dspy-connection.h
+include/dspy-1/dspy-introspection-model.h
+include/dspy-1/dspy-method-invocation.h
+include/dspy-1/dspy-method-view.h
+include/dspy-1/dspy-name-marquee.h
+include/dspy-1/dspy-name-row.h
+include/dspy-1/dspy-name.h
+include/dspy-1/dspy-names-model.h
+include/dspy-1/dspy-tree-view.h
+include/dspy-1/dspy-version-macros.h
+include/dspy-1/dspy-version.h
+include/dspy-1/dspy-view.h
+include/dspy-1/dspy.h
+lib/libdspy-1.so
+lib/libdspy-1.so.1
+lib/libdspy-1.so.1.0.0
+libdata/pkgconfig/dspy-1.pc
+share/appdata/org.gnome.dspy.appdata.xml
+share/applications/org.gnome.dspy.desktop
+share/icons/hicolor/scalable/apps/org.gnome.dspy.devel.svg
+share/icons/hicolor/scalable/apps/org.gnome.dspy.svg
+share/icons/hicolor/symbolic/apps/org.gnome.dspy-symbolic.svg