pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/coyim Import of coyim-0.3.11 as chat/coyim



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ebf8a112e98
branches:  trunk
changeset: 332770:6ebf8a112e98
user:      fox <fox%pkgsrc.org@localhost>
date:      Wed Apr 24 23:43:22 2019 +0000

description:
Import of coyim-0.3.11 as chat/coyim

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.

diffstat:

 chat/coyim/DESCR    |   3 ++
 chat/coyim/Makefile |  58 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 chat/coyim/PLIST    |   4 +++
 chat/coyim/distinfo |   6 +++++
 4 files changed, 71 insertions(+), 0 deletions(-)

diffs (87 lines):

diff -r d1c8fcc90bbb -r 6ebf8a112e98 chat/coyim/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/coyim/DESCR  Wed Apr 24 23:43:22 2019 +0000
@@ -0,0 +1,3 @@
+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.
diff -r d1c8fcc90bbb -r 6ebf8a112e98 chat/coyim/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/coyim/Makefile       Wed Apr 24 23:43:22 2019 +0000
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1 2019/04/24 23:43:22 fox Exp $
+
+DISTNAME=      coyim-0.3.11
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=coyim/}
+CATEGORIES=    chat
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+EXTRACT_USING= bsdtar
+
+MAINTAINER=    support%coy.im@localhost
+HOMEPAGE=      https://coy.im/
+COMMENT=       Safe and secure by default chat client
+LICENSE=       gnu-gpl-v3
+
+USE_TOOLS+=    pkg-config gmake
+
+GO_DIST_BASE=          ${PKGNAME_NOREV}
+GO_SRCPATH=            github.com/coyim/coyim
+GO_BUILD_PATTERN=      ${GO_SRCPATH}
+
+MAKE_ENV+=     CGO_LDFLAGS_ALLOW=".*"
+MAKE_ENV+=     CGO_CFLAGS_ALLOW=".*"
+MAKE_ENV+=     CGO_CXXFLAGS_ALLOW=".*"
+MAKE_ENV+=     CGO_CPPFLAGS_ALLOW=".*"
+
+CHECK_PORTABILITY_SKIP+=       build/mac-bundle/coyim-launcher.sh
+
+COYIM_ICON=            coyim.png
+COYIM_ICON_SRC=                ${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32%2x.png@localhost
+COYIM_DESKTOP=         ${WRKSRC}/build/coyim.desktop
+
+INSTALLATION_DIRS+=    share/applications share/pixmaps
+
+SUBST_CLASSES+=                        desktop-entry
+SUBST_STAGE.desktop-entry=     post-build
+SUBST_MESSAGE.desktop-entry=   Create desktop entry.
+SUBST_FILES.desktop-entry=     ${COYIM_DESKTOP}
+SUBST_SED.desktop-entry=       -e 's|\# Exec=/path/to/coyim/executable|Exec=${PREFIX}/bin/coyim|'
+SUBST_SED.desktop-entry+=      -e 's|\# Icon=/path/to/Coy.icns|Icon=${COYIM_ICON}|'
+SUBST_SED.desktop-entry+=      -e '/^\#/d'
+SUBST_SED.desktop-entry+=      -e '/^$$/d'
+
+CHECK_RELRO_SKIP=      bin/coyim
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKDIR}/bin/coyim ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${COYIM_DESKTOP} ${DESTDIR}${PREFIX}/share/applications/
+       ${INSTALL_DATA} ${COYIM_ICON_SRC} ${DESTDIR}${PREFIX}/share/pixmaps/${COYIM_ICON}
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../devel/go-golang-lru/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d1c8fcc90bbb -r 6ebf8a112e98 chat/coyim/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/coyim/PLIST  Wed Apr 24 23:43:22 2019 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2019/04/24 23:43:22 fox Exp $
+bin/coyim
+share/applications/coyim.desktop
+share/pixmaps/coyim.png
diff -r d1c8fcc90bbb -r 6ebf8a112e98 chat/coyim/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/coyim/distinfo       Wed Apr 24 23:43:22 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/04/24 23:43:22 fox Exp $
+
+SHA1 (coyim-0.3.11.tar.gz) = 3928e9954f516a7725982390fdb7ceef0659ec0a
+RMD160 (coyim-0.3.11.tar.gz) = 32b3e81e808951faacc63efaa19ba0d0d5318a93
+SHA512 (coyim-0.3.11.tar.gz) = a9d3b9900e78f736617969d4c2ebcb88abbb427dccc0396ed5a655f8ae0d22c3ddba44bdd4e0b4370af97972e883e9ee52b425cbfa226945c6aad7a2a473accb
+Size (coyim-0.3.11.tar.gz) = 3803018 bytes



Home | Main Index | Thread Index | Old Index