git: 264653451346 - main - devel/libayatana-indicator: Add new port

From: Jason Helfman <jgh_at_FreeBSD.org>
Date: Sun, 22 May 2022 02:57:55 UTC
The branch main has been updated by jgh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=264653451346b9acee98978d9a12fa1319e9d88d

commit 264653451346b9acee98978d9a12fa1319e9d88d
Author:     Jason Helfman <jgh@FreeBSD.org>
AuthorDate: 2022-05-22 02:54:05 +0000
Commit:     Jason Helfman <jgh@FreeBSD.org>
CommitDate: 2022-05-22 02:54:05 +0000

    devel/libayatana-indicator: Add new port
    
    The Ayatana Indicators project is the continuation of Application Indicators
    and System Indicators, two technologies developed by Canonical Ltd. for the
    Unity7 desktop.
    
    Application Indicators are a GTK implementation of the StatusNotifierItem
    Specification (SNI) that was originally submitted to freedesktop.org by KDE.
    
    System Indicators are an extensions to the Application Indicators idea.
    System Indicators allow for far more widgets to be displayed in the
    indicator's menu.
    
    The Ayatana Indicators project is the new upstream for application
    indicators, system indicators and associated projects with a focus on making
    Ayatana Indicators a desktop agnostic technology.
    
    On GNU/Linux, Ayatana Indicators are currently available for desktop
    envinronments like MATE (used by default in Ubuntu MATE), XFCE
    (used by default in Xubuntu, LXDE, and the Budgie Desktop).
    
    The Lomiri Operating Environment (UI of the Ubuntu Touch OS, formerly known as
    Unity8) uses Ayatana Indicators for rendering its notification area and the
    UBports project is a core contributor to the Ayatana Indicators project.
    
    WWW: https://github.com/AyatanaIndicators/libayatana-indicator
---
 devel/Makefile                       |  1 +
 devel/libayatana-indicator/Makefile  | 30 ++++++++++++++++++++++++++++++
 devel/libayatana-indicator/distinfo  |  3 +++
 devel/libayatana-indicator/pkg-descr | 24 ++++++++++++++++++++++++
 devel/libayatana-indicator/pkg-plist | 13 +++++++++++++
 5 files changed, 71 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 65bb7d3c61b7..ec8ee5bafb6f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1165,6 +1165,7 @@
     SUBDIR += libatomic_ops
     SUBDIR += libaura
     SUBDIR += libavl
+    SUBDIR += libayatana-indicator
     SUBDIR += libb2
     SUBDIR += libbacktrace
     SUBDIR += libbde
diff --git a/devel/libayatana-indicator/Makefile b/devel/libayatana-indicator/Makefile
new file mode 100644
index 000000000000..651d97ca6e59
--- /dev/null
+++ b/devel/libayatana-indicator/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	libayatana-indicator
+PORTVERSION=	0.9.1
+CATEGORIES=	devel
+
+MAINTAINER=	jgh@FreeBSD.org
+COMMENT=	Ayatana Indicators Shared Library
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	vala>=0:lang/vala \
+		lcov>=0:devel/lcov
+
+USES=	cmake localbase:ldflags gnome pkgconfig
+
+LIB_DEPENDS+=	libharfbuzz.so:print/harfbuzz \
+		libgtest.so:devel/googletest \
+		libayatana-ido3-0.4.so:devel/ayatana-ido
+
+USE_GNOME=	introspection glib20 gtk30 pango atk cairo gdkpixbuf2
+
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	AyatanaIndicators
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libayatana-indicator3.so*
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/libayatana-indicator/ayatana-indicator-loader3
+
+.include <bsd.port.mk>
diff --git a/devel/libayatana-indicator/distinfo b/devel/libayatana-indicator/distinfo
new file mode 100644
index 000000000000..061eca849676
--- /dev/null
+++ b/devel/libayatana-indicator/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652971521
+SHA256 (AyatanaIndicators-libayatana-indicator-0.9.1_GH0.tar.gz) = 15a8844265067652c06242736ece682622d73cedcccdf1c171ce27fba70ba689
+SIZE (AyatanaIndicators-libayatana-indicator-0.9.1_GH0.tar.gz) = 148993
diff --git a/devel/libayatana-indicator/pkg-descr b/devel/libayatana-indicator/pkg-descr
new file mode 100644
index 000000000000..531c232426fc
--- /dev/null
+++ b/devel/libayatana-indicator/pkg-descr
@@ -0,0 +1,24 @@
+The Ayatana Indicators project is the continuation of Application Indicators
+and System Indicators, two technologies developed by Canonical Ltd. for the
+Unity7 desktop.
+
+Application Indicators are a GTK implementation of the StatusNotifierItem
+Specification (SNI) that was originally submitted to freedesktop.org by KDE.
+
+System Indicators are an extensions to the Application Indicators idea.
+System Indicators allow for far more widgets to be displayed in the
+indicator's menu.
+
+The Ayatana Indicators project is the new upstream for application
+indicators, system indicators and associated projects with a focus on making
+Ayatana Indicators a desktop agnostic technology.
+
+On GNU/Linux, Ayatana Indicators are currently available for desktop
+envinronments like MATE (used by default in Ubuntu MATE), XFCE
+(used by default in Xubuntu, LXDE, and the Budgie Desktop).
+
+The Lomiri Operating Environment (UI of the Ubuntu Touch OS, formerly known as
+Unity8) uses Ayatana Indicators for rendering its notification area and the
+UBports project is a core contributor to the Ayatana Indicators project.
+
+WWW: https://github.com/AyatanaIndicators/libayatana-indicator
diff --git a/devel/libayatana-indicator/pkg-plist b/devel/libayatana-indicator/pkg-plist
new file mode 100644
index 000000000000..d092973486ac
--- /dev/null
+++ b/devel/libayatana-indicator/pkg-plist
@@ -0,0 +1,13 @@
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator-desktop-shortcuts.h
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator-image-helper.h
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator-ng.h
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator-object.h
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator-service-manager.h
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator-service.h
+include/libayatana-indicator3-0.4/libayatana-indicator/indicator.h
+lib/libayatana-indicator3.so
+lib/libayatana-indicator3.so.7
+lib/libayatana-indicator3.so.7.0.0
+libdata/pkgconfig/ayatana-indicator3-0.4.pc
+libexec/libayatana-indicator/ayatana-indicator-loader3
+%%DATADIR%%/80indicator-debugging