Commit 461f20bb authored by philip's avatar philip
Browse files

Add net-im/coyim 0.3.11

Safe and secure by default chat client

CoyIM is a chat client that is safe and secure by default: no settings to
change, no plugins to install, no computer configuration to change.

WWW: https://coy.im

PR:		237542
Submitted by:	Santhosh Raju <santhosh.raju@gmail.com>
parent c10aeb1b
......@@ -11,6 +11,7 @@ PORTREVISION= 1
SUBDIR += coccinella
SUBDIR += convey
SUBDIR += corebird
SUBDIR += coyim
SUBDIR += cutegram
SUBDIR += diligent
SUBDIR += dino
......
# $FreeBSD$
PORTNAME= coyim
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.11
CATEGORIES= net-im
MAINTAINER= support@coy.im
COMMENT= Safe and secure by default chat client
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go:lang/go
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= gnome pkgconfig
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
USE_GITHUB= yes
GH_ACCOUNT= coyim
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
SUB_LIST= PORTNAME=${PORTNAME}
PLIST_FILES= bin/coyim \
share/applications/coyim.desktop \
share/pixmaps/coyim.png
GTK_BUILD_TAG= "$$(pkg-config --modversion gtk+-3.0 | ${TR} . _ | cut -d '_' -f 1-2)"
COYIM_ICON= coyim.png
COYIM_ICON_SRC= ${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32@2x.png
COYIM_DESKTOP= ${WRKSRC}/build/coyim.desktop
INSTALLATION_DIRS+= share/applications share/pixmaps
do-build:
cd ${WRKSRC}/${GH_SUBDIR} && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} \
go build -tags ${GTK_BUILD_TAG} -o ${PORTNAME}
post-build:
@${REINPLACE_CMD} -e '/^#/d' \
-e '/^$$/d' \
${COYIM_DESKTOP}
${ECHO} "Exec=${PREFIX}/bin/coyim" >> ${COYIM_DESKTOP}
${ECHO} "Icon=${COYIM_ICON}" >> ${COYIM_DESKTOP}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${COYIM_DESKTOP} ${STAGEDIR}${PREFIX}/share/applications/
${INSTALL_DATA} ${COYIM_ICON_SRC} ${STAGEDIR}${PREFIX}/share/pixmaps/${COYIM_ICON}
.include <bsd.port.mk>
TIMESTAMP = 1555206035
SHA256 (coyim-coyim-v0.3.11_GH0.tar.gz) = 4717901462f027578369358c8772eb5b14e22f053fc30e4c9dbcc2b053374a41
SIZE (coyim-coyim-v0.3.11_GH0.tar.gz) = 3803018
Do proper type conversion for FreeBSD's fontconfig(3).
--- vendor/github.com/gotk3/gotk3/pango/fontconfig.go.h.orig 2019-04-14 03:24:49 UTC
+++ vendor/github.com/gotk3/gotk3/pango/fontconfig.go.h
@@ -2,6 +2,6 @@
#include <fontconfig/fontconfig.h>
static int addFont(char* font) {
- FcBool fontAddStatus = FcConfigAppFontAddFile(FcConfigGetCurrent(), font);
+ FcBool fontAddStatus = FcConfigAppFontAddFile(FcConfigGetCurrent(), (unsigned char*)font);
return fontAddStatus;
}
CoyIM is a chat client that is safe and secure by default: no
settings to change, no plugins to install, no computer configuration
to change.
WWW: https://coy.im
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment