freebsd-ports/irc/polari/Makefile
Charlie Li 5bdf1c1972
irc/polari: add missing USE_GNOME=libadwaita
Otherwise fails to run:

% polari

(polari:36417): Gjs-CRITICAL **: 16:32:52.548: JS ERROR: Error: Requiring Adw, version none: Typelib file for namespace 'Adw' (any version) not found
require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
@gi://Adw:3:25

** Message: 16:32:52.550: Execution of main.js threw exception: Module <main> threw an exception
2024-02-03 16:38:20 -05:00

34 lines
943 B
Makefile

PORTNAME= polari
PORTVERSION= 42.1
PORTREVISION= 3
CATEGORIES= irc gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Internet Relay Chat (IRC) client designed for GNOME
WWW= https://wiki.gnome.org/Apps/Polari
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= appstream-util:devel/appstream-glib \
gjs-console:lang/gjs \
itstool:textproc/itstool
LIB_DEPENDS= libtelepathy-glib.so:net-im/telepathy-glib \
libsecret-1.so:security/libsecret \
libtelepathy-logger.so:net-im/telepathy-logger
RUN_DEPENDS= gjs-console:lang/gjs \
telepathy-idle>0:net-im/telepathy-idle \
gspell>0:textproc/gspell
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gnome localbase \
meson pkgconfig tar:xz
USE_GNOME= cairo gtk30 introspection libadwaita
USE_LDCONFIG= yes
GLIB_SCHEMAS= org.gnome.Polari.gschema.xml
.include <bsd.port.mk>