blob: 14a0f1f96cb25f11447690e2d98f4d6e6d4db6d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= gotktrix
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.4
PORTREVISION= 14
CATEGORIES= net-im
MAINTAINER= fuz@FreeBSD.org
COMMENT= Matrix client in Go and GTK4
WWW= https://github.com/diamondburned/gotktrix
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libharfbuzz.so:print/harfbuzz \
libvulkan.so:graphics/vulkan-loader
USES= gnome go:modules pkgconfig
USE_GNOME= cairo gdkpixbuf2 glib20 gtk40 introspection pango
GO_MODULE= github.com/diamondburned/gotktrix
PLIST_FILES= bin/gotktrix \
share/icons/hicolor/256x256/apps/gotktrix.png \
${DESKTOPDIR}/com.github.diamondburned.gotktrix.desktop
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps
${INSTALL_DATA} ${WRKSRC}/.github/logo-256.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/gotktrix.png
${INSTALL_DATA} ${WRKSRC}/.nix/com.github.diamondburned.gotktrix.desktop \
${STAGEDIR}${DESKTOPDIR}/
.include <bsd.port.mk>
|