Skip to content

Commit

Permalink
devel/libayatana-appindicator: Add new port
Browse files Browse the repository at this point in the history
Reviewed by: koobs@

Ayatana Application Indicators (Shared Library)

A library to allow applications to export a menu into the an Application
Indicators aware menu bar. Based on KSNI it also works in KDE and will
fallback to generic Systray support if none of those are available.

This code project was originally started by Canonical Ltd. and has been
adapted by various authors with the purpose of making this Application
Indicators available on Ubuntu and non-Ubuntu systems alike.

WWW: https://github.com/AyatanaIndicators/libayatana-appindicator
  • Loading branch information
bsdjgh committed May 22, 2022
1 parent 2646534 commit 334cedb
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -1165,6 +1165,7 @@
SUBDIR += libatomic_ops
SUBDIR += libaura
SUBDIR += libavl
SUBDIR += libayatana-appindicator
SUBDIR += libayatana-indicator
SUBDIR += libb2
SUBDIR += libbacktrace
Expand Down
33 changes: 33 additions & 0 deletions devel/libayatana-appindicator/Makefile
@@ -0,0 +1,33 @@
PORTNAME= libayatana-appindicator
PORTVERSION= 0.5.91
CATEGORIES= devel

MAINTAINER= jgh@FreeBSD.org
COMMENT= Ayatana Application Indicators Shared Library

LICENSE= LGPL3

BUILD_DEPENDS= lcov>=0:devel/lcov

USES= cmake localbase:ldflags gnome pkgconfig

LIB_DEPENDS+= libharfbuzz.so:print/harfbuzz \
libgtest.so:devel/googletest \
libayatana-indicator3.so:devel/libayatana-indicator \
libdbusmenu-glib.so:devel/libdbusmenu \
libayatana-ido3-0.4.so:devel/ayatana-ido

USE_GNOME= introspection gtk30 glib20 pango atk cairo gdkpixbuf2
CMAKE_OFF= ENABLE_BINDINGS_MONO \
FLAVOUR_GTK2 \
ENABLE_BINDINGS_VALA

USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= AyatanaIndicators

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libayatana-appindicator3.so.*

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/libayatana-appindicator/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1652970199
SHA256 (AyatanaIndicators-libayatana-appindicator-0.5.91_GH0.tar.gz) = 52eb5d0c0de07177833e50fbaee592dcb3939e96c6b789921e2a8caf40a1ed26
SIZE (AyatanaIndicators-libayatana-appindicator-0.5.91_GH0.tar.gz) = 158269
11 changes: 11 additions & 0 deletions devel/libayatana-appindicator/pkg-descr
@@ -0,0 +1,11 @@
Ayatana Application Indicators (Shared Library)

A library to allow applications to export a menu into the an Application
Indicators aware menu bar. Based on KSNI it also works in KDE and will
fallback to generic Systray support if none of those are available.

This code project was originally started by Canonical Ltd. and has been
adapted by various authors with the purpose of making this Application
Indicators available on Ubuntu and non-Ubuntu systems alike.

WWW: https://github.com/AyatanaIndicators/libayatana-appindicator
8 changes: 8 additions & 0 deletions devel/libayatana-appindicator/pkg-plist
@@ -0,0 +1,8 @@
include/libayatana-appindicator3-0.1/libayatana-appindicator/app-indicator-enum-types.h
include/libayatana-appindicator3-0.1/libayatana-appindicator/app-indicator.h
lib/girepository-1.0/AyatanaAppIndicator3-0.1.typelib
lib/libayatana-appindicator3.so
lib/libayatana-appindicator3.so.1
lib/libayatana-appindicator3.so.1.0.0
libdata/pkgconfig/ayatana-appindicator3-0.1.pc
share/gir-1.0/AyatanaAppIndicator3-0.1.gir

0 comments on commit 334cedb

Please sign in to comment.