pkgsrc-WIP-changes archive

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

gtkhash: Import gtkhash-1.1.1 as wip/gtkhash



Module Name:	pkgsrc-wip
Committed By:	Roberto Neri <robn%gmx.com@localhost>
Pushed By:	robn
Date:		Mon Apr 16 14:53:50 2018 +0000
Changeset:	28bc786b8aa7fb2bb04433bf18e1898ce9e5b299

Modified Files:
	Makefile
Added Files:
	gtkhash/DESCR
	gtkhash/Makefile
	gtkhash/PLIST
	gtkhash/distinfo
	gtkhash/options.mk

Log Message:
gtkhash: Import gtkhash-1.1.1 as wip/gtkhash

A GTK+ utility for computing message digests or checksums

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=28bc786b8aa7fb2bb04433bf18e1898ce9e5b299

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 gtkhash/DESCR      | 12 +++++++++++
 gtkhash/Makefile   | 30 ++++++++++++++++++++++++++
 gtkhash/PLIST      | 50 +++++++++++++++++++++++++++++++++++++++++++
 gtkhash/distinfo   |  6 ++++++
 gtkhash/options.mk | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 162 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4cfc45a75b..a85651ef02 100644
--- a/Makefile
+++ b/Makefile
@@ -1123,6 +1123,7 @@ SUBDIR+=	gtkaml
 SUBDIR+=	gtkfontsel
 SUBDIR+=	gtkglextmm
 SUBDIR+=	gtkglk
+SUBDIR+=	gtkhash
 SUBDIR+=	gtkhotkey
 SUBDIR+=	gtkmathview
 SUBDIR+=	gtkmmorse
diff --git a/gtkhash/DESCR b/gtkhash/DESCR
new file mode 100644
index 0000000000..8225f1d073
--- /dev/null
+++ b/gtkhash/DESCR
@@ -0,0 +1,12 @@
+GtkHash is a desktop utility for computing message digests or checksums.
+Most well-known hash functions are supported, including MD5, SHA1,
+SHA2 (SHA256/SHA512), SHA3 and BLAKE2.
+It's designed to be an easy to use, graphical alternative to command-line tools
+such as md5sum.
+Some interesting features:
+- Support for verifying checksum files from sfv, sha256sum, etc.
+- Keyed hashing (HMAC)
+- Parallel/threaded hash calculation
+- Remote file access using GIO/GVfs
+- File manager integration
+- Small and fast, written in C
diff --git a/gtkhash/Makefile b/gtkhash/Makefile
new file mode 100644
index 0000000000..2006363107
--- /dev/null
+++ b/gtkhash/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=	gtkhash-1.1.1
+CATEGORIES=	x11
+MASTER_SITES=	https://github.com/tristanheaven/gtkhash/releases/download/v1.1.1/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	robn%gmx.com@localhost
+HOMEPAGE=	https://github.com/tristanheaven/gtkhash/
+COMMENT=	GTK+ utility for computing message digests or checksums
+LICENSE=	gnu-gpl-v2
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	gmake intltool pkg-config
+
+CONFIGURE_ARGS+=	--enable-mbedtls
+CONFIGURE_ARGS+=	--enable-mhash
+CONFIGURE_ARGS+=	--enable-nettle
+CONFIGURE_ARGS+=	--disable-blake2 # at present, not available in the pkgsrc collection
+
+.include "options.mk"
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../security/mbedtls/buildlink3.mk"
+.include "../../security/mhash/buildlink3.mk"
+.include "../../security/nettle/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gtkhash/PLIST b/gtkhash/PLIST
new file mode 100644
index 0000000000..75b4b8060d
--- /dev/null
+++ b/gtkhash/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD$
+bin/gtkhash
+${PLIST.caja}lib/caja/extensions-2.0/libgtkhash-properties-caja.la
+${PLIST.caja}lib/caja/extensions-2.0/libgtkhash-properties-caja.so
+${PLIST.nautilus}lib/nautilus/extensions-2.0/libgtkhash-properties-nautilus.la
+${PLIST.nautilus}lib/nautilus/extensions-2.0/libgtkhash-properties-nautilus.so
+${PLIST.thunar}lib/thunarx-2/libgtkhash-properties-thunar.la
+share/appdata/gtkhash.appdata.xml
+${PLIST.caja}share/appdata/caja-gtkhash.metainfo.xml
+${PLIST.nautilus}share/appdata/nautilus-gtkhash.metainfo.xml
+${PLIST.thunar}share/appdata/thunar-gtkhash.metainfo.xml
+share/applications/gtkhash.desktop
+share/glib-2.0/schemas/org.gtkhash.gschema.xml
+${PLIST.caja}share/glib-2.0/schemas/org.gtkhash.plugin.gschema.xml
+${PLIST.nautilus}share/glib-2.0/schemas/org.gtkhash.plugin.gschema.xml
+${PLIST.thunar}share/glib-2.0/schemas/org.gtkhash.plugin.gschema.xml
+share/icons/hicolor/128x128/apps/gtkhash.png
+share/icons/hicolor/256x256/apps/gtkhash.png
+share/icons/hicolor/32x32/apps/gtkhash.png
+share/icons/hicolor/48x48/apps/gtkhash.png
+share/icons/hicolor/64x64/apps/gtkhash.png
+share/icons/hicolor/scalable/apps/gtkhash.svg
+share/locale/ar/LC_MESSAGES/gtkhash.mo
+share/locale/ca/LC_MESSAGES/gtkhash.mo
+share/locale/cs/LC_MESSAGES/gtkhash.mo
+share/locale/da/LC_MESSAGES/gtkhash.mo
+share/locale/de/LC_MESSAGES/gtkhash.mo
+share/locale/el/LC_MESSAGES/gtkhash.mo
+share/locale/en_GB/LC_MESSAGES/gtkhash.mo
+share/locale/eo/LC_MESSAGES/gtkhash.mo
+share/locale/es/LC_MESSAGES/gtkhash.mo
+share/locale/fa/LC_MESSAGES/gtkhash.mo
+share/locale/fr/LC_MESSAGES/gtkhash.mo
+share/locale/gl/LC_MESSAGES/gtkhash.mo
+share/locale/he/LC_MESSAGES/gtkhash.mo
+share/locale/hr/LC_MESSAGES/gtkhash.mo
+share/locale/id/LC_MESSAGES/gtkhash.mo
+share/locale/it/LC_MESSAGES/gtkhash.mo
+share/locale/ja/LC_MESSAGES/gtkhash.mo
+share/locale/lt/LC_MESSAGES/gtkhash.mo
+share/locale/nb_NO/LC_MESSAGES/gtkhash.mo
+share/locale/nl/LC_MESSAGES/gtkhash.mo
+share/locale/pl/LC_MESSAGES/gtkhash.mo
+share/locale/pt_BR/LC_MESSAGES/gtkhash.mo
+share/locale/ru/LC_MESSAGES/gtkhash.mo
+share/locale/sr/LC_MESSAGES/gtkhash.mo
+share/locale/sv/LC_MESSAGES/gtkhash.mo
+share/locale/tr/LC_MESSAGES/gtkhash.mo
+share/locale/zh_CN/LC_MESSAGES/gtkhash.mo
+share/locale/zh_TW/LC_MESSAGES/gtkhash.mo
diff --git a/gtkhash/distinfo b/gtkhash/distinfo
new file mode 100644
index 0000000000..178ef7a3cc
--- /dev/null
+++ b/gtkhash/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (gtkhash-1.1.1.tar.xz) = 3d7783fbec9e025e80410def7c375987d55509ac
+RMD160 (gtkhash-1.1.1.tar.xz) = 707f618a541cc9c8d427ead62a360934ab58dea6
+SHA512 (gtkhash-1.1.1.tar.xz) = 8c0781ff74d775362957f3bd501c7fc13cb25e5269c25d6546cca678f9ff24977c9ff1153be191487a6961b46dc3a7f0e909ab8078bf840a96217850017a8eb9
+Size (gtkhash-1.1.1.tar.xz) = 368296 bytes
diff --git a/gtkhash/options.mk b/gtkhash/options.mk
new file mode 100644
index 0000000000..40a0d431c7
--- /dev/null
+++ b/gtkhash/options.mk
@@ -0,0 +1,63 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.gtkhash
+PKG_OPTIONS_REQUIRED_GROUPS=	gtk
+PKG_OPTIONS_GROUP.gtk=		gtk2 gtk3
+PKG_SUPPORTED_OPTIONS=		caja nautilus thunar
+PKG_SUGGESTED_OPTIONS=		gtk3
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=	caja
+PLIST_VARS+=	nautilus
+PLIST_VARS+=	thunar
+
+#
+# Use GTK+ version 2
+#
+.if !empty(PKG_OPTIONS:Mgtk2)
+CONFIGURE_ARGS+=	--with-gtk=2.0
+.include "../../x11/gtk2/buildlink3.mk"
+.endif
+
+#
+# Use GTK+ version 3 (upstream default)
+#
+.if !empty(PKG_OPTIONS:Mgtk3)
+CONFIGURE_ARGS+=	--with-gtk=3.0
+.include "../../x11/gtk3/buildlink3.mk"
+.endif
+
+#
+# Build the optional Caja extension
+#
+.if !empty(PKG_OPTIONS:Mcaja)
+PLIST.caja=		yes
+CONFIGURE_ARGS+=	--enable-caja
+.include "../../sysutils/caja/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-caja
+.endif
+
+#
+# Build the optional Nautilus extension
+#
+.if !empty(PKG_OPTIONS:Mnautilus)
+PLIST.nautilus=		yes
+CONFIGURE_ARGS+=	--enable-nautilus
+.include "../../sysutils/nautilus/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-nautilus
+.endif
+
+#
+# Build the optional Thunar extension
+#
+.if !empty(PKG_OPTIONS:Mthunar)
+PLIST.thunar=		yes
+CONFIGURE_ARGS+=	--enable-thunar
+.include "../../sysutils/xfce4-thunar/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=	--disable-thunar
+.endif


Home | Main Index | Thread Index | Old Index