Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 08:07:21 +0000 (UTC)
From:      Ashish SHUKLA <ashish@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538297 - in head/irc: . srain srain/files
Message-ID:  <202006090807.05987LJT086090@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ashish
Date: Tue Jun  9 08:07:20 2020
New Revision: 538297
URL: https://svnweb.freebsd.org/changeset/ports/538297

Log:
  Add srain 1.1.0, modern IRC client written in GTK.

Added:
  head/irc/srain/
  head/irc/srain/Makefile   (contents, props changed)
  head/irc/srain/distinfo   (contents, props changed)
  head/irc/srain/files/
  head/irc/srain/files/patch-src_Makefile   (contents, props changed)
  head/irc/srain/pkg-descr   (contents, props changed)
  head/irc/srain/pkg-plist   (contents, props changed)
Modified:
  head/irc/Makefile

Modified: head/irc/Makefile
==============================================================================
--- head/irc/Makefile	Tue Jun  9 07:33:19 2020	(r538296)
+++ head/irc/Makefile	Tue Jun  9 08:07:20 2020	(r538297)
@@ -105,6 +105,7 @@
     SUBDIR += simpleirc
     SUBDIR += sirc
     SUBDIR += smartirc4net
+    SUBDIR += srain
     SUBDIR += srvx
     SUBDIR += thales
     SUBDIR += tircproxy

Added: head/irc/srain/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/srain/Makefile	Tue Jun  9 08:07:20 2020	(r538297)
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME=	srain
+DISTVERSION=	1.1.0
+CATEGORIES=	irc
+
+MAINTAINER=	ashish@FreeBSD.org
+COMMENT=	Modern IRC client written in GTK
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libconfig.so:devel/libconfig \
+		libsecret-1.so:security/libsecret \
+		libsoup-2.4.so:devel/libsoup
+
+USES=		gettext-tools gmake gnome pkgconfig ssl
+USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 pango
+
+USE_GITHUB=		yes
+GH_ACCOUNT=		SrainApp
+GNU_CONFIGURE=		yes
+MAKE_FLAGS+=		MAKE_PROGRAM=${MAKE_CMD}
+CONFIGURE_ARGS+=	--disable-debug
+ALL_TARGET=		default
+INSTALLS_ICONS=		yes
+
+post-patch:
+	${REINPLACE_CMD} -e '/^MAKE =/s/make/${MAKE_CMD}/' \
+		${WRKSRC}/Makefile.in
+
+pre-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} \
+		${STAGEDIR}${DATADIR}/themes \
+		${STAGEDIR}${PREFIX}/share/metainfo \
+		${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
+
+.include <bsd.port.mk>

Added: head/irc/srain/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/srain/distinfo	Tue Jun  9 08:07:20 2020	(r538297)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1591214080
+SHA256 (SrainApp-srain-1.1.0_GH0.tar.gz) = cba8bf195933669c36d712c358504a0da271f65e36ff768c3ca7eb4172a54023
+SIZE (SrainApp-srain-1.1.0_GH0.tar.gz) = 941873

Added: head/irc/srain/files/patch-src_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/srain/files/patch-src_Makefile	Tue Jun  9 08:07:20 2020	(r538297)
@@ -0,0 +1,11 @@
+--- src/Makefile.orig	2020-06-03 20:39:44 UTC
++++ src/Makefile
+@@ -29,7 +29,7 @@ LIBSSLLIBS = $(shell pkg-config --libs openssl)
+ LIBSECRETFLAGS =$(shell pkg-config --cflags libsecret-1)
+ LIBSECRETLIBS =$(shell pkg-config --libs libsecret-1)
+ 
+-CFLAGS += -std=gnu99 -O2 -Wall -Iinc -Wno-deprecated-declarations \
++CFLAGS += -std=gnu11 -Wall -Iinc -Wno-deprecated-declarations \
+ 		  $(DEFS) \
+ 		  $(DBGFLAGS) \
+ 		  $(GTK3FLAGS) \

Added: head/irc/srain/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/srain/pkg-descr	Tue Jun  9 08:07:20 2020	(r538297)
@@ -0,0 +1,23 @@
+Srain is a modern IRC client written in GTK.
+
+Features
+
+ o  Fully open source
+ o  RFC {1459,2812} compatible
+ o  Partial IRCv3 support
+ o  Multi-platform support (Linux, Windows, macOS and BSD)
+ o  Act like modern IM client
+    -  Graphical user interface
+    -  Convenient connection panel
+    -  Interactive channel search
+    -  Forward message in one click
+    -  URL preview
+    -  Desktop notificaion
+    -  Special optimization for bridge/relay bot
+ o  Act like geek IRC client
+    -  Anything can be done via commands
+    -  Fine-grained configuration with hot update support
+    -  Regex based message render and filter mechanisms
+    -  IPC based plugin system (TODO)
+
+WWW: https://srain.im/

Added: head/irc/srain/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/srain/pkg-plist	Tue Jun  9 08:07:20 2020	(r538297)
@@ -0,0 +1,13 @@
+bin/srain
+%%ETCDIR%%/builtin.cfg
+share/applications/im.srain.Srain.desktop
+share/icons/hicolor/128x128/apps/im.srain.Srain.png
+share/locale/nl/LC_MESSAGES/srain.mo
+share/locale/ru/LC_MESSAGES/srain.mo
+share/locale/zh_CN/LC_MESSAGES/srain.mo
+share/metainfo/im.srain.Srain.metainfo.xml
+%%DATADIR%%/themes/bubble.css
+%%DATADIR%%/themes/default-bubble-dark.css
+%%DATADIR%%/themes/default-bubble.css
+%%DATADIR%%/themes/default-min.css
+%%DATADIR%%/themes/reset.css



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006090807.05987LJT086090>