Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 03:24:23 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415872 - in head/security: . pinentry pinentry-qt5
Message-ID:  <201605260324.u4Q3ONGY028560@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Thu May 26 03:24:23 2016
New Revision: 415872
URL: https://svnweb.freebsd.org/changeset/ports/415872

Log:
  New port: security/pinentry-qt5, Qt 5 version of the GnuPG password dialog
  
  PR:		209556
  Submitted by:	Ralf Nolden <nolden@kde.org> (kde)
  Approved by:	makc (implicit as kde maintainer)

Added:
  head/security/pinentry-qt5/
  head/security/pinentry-qt5/Makefile   (contents, props changed)
Modified:
  head/security/Makefile
  head/security/pinentry/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Thu May 26 02:51:03 2016	(r415871)
+++ head/security/Makefile	Thu May 26 03:24:23 2016	(r415872)
@@ -782,6 +782,7 @@
     SUBDIR += pinentry-gnome3
     SUBDIR += pinentry-gtk2
     SUBDIR += pinentry-qt4
+    SUBDIR += pinentry-qt5
     SUBDIR += pinentry-tty
     SUBDIR += pixiewps
     SUBDIR += pkcrack

Added: head/security/pinentry-qt5/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pinentry-qt5/Makefile	Thu May 26 03:24:23 2016	(r415872)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+PORTNAME=	pinentry
+PORTREVISION=	0
+
+COMMENT=	Qt 5 version of the GnuPG password dialog
+
+PINENTRY_GUI=	qt5
+
+MASTERDIR=	${.CURDIR}/../pinentry
+
+.include "${MASTERDIR}/Makefile"

Modified: head/security/pinentry/Makefile
==============================================================================
--- head/security/pinentry/Makefile	Thu May 26 02:51:03 2016	(r415871)
+++ head/security/pinentry/Makefile	Thu May 26 03:24:23 2016	(r415872)
@@ -19,7 +19,7 @@ NO_BUILD=	yes
 PLIST_FILES=	bin/pinentry
 
 OPTIONS_SINGLE=	FRONTEND
-OPTIONS_SINGLE_FRONTEND=	TTY NCURSES GTK2 QT4 GNOME3
+OPTIONS_SINGLE_FRONTEND=	TTY NCURSES GTK2 QT4 QT5 GNOME3
 OPTIONS_DEFAULT=	TTY
 
 FRONTEND_DESC=	Default frontend
@@ -37,9 +37,13 @@ PINENTRY_GTK2=	pinentry-gtk-2
 GTK2_RUN_DEPENDS=	${PINENTRY_GTK2}:security/pinentry-gtk2
 
 QT4_DESC=	Qt 4 frontend
-PINENTRY_QT4=	pinentry-qt
+PINENTRY_QT4=	pinentry-qt4
 QT4_RUN_DEPENDS=	${PINENTRY_QT4}:security/pinentry-qt4
 
+QT5_DESC=	Qt 5 frontend
+PINENTRY_QT5=	pinentry-qt5
+QT5_RUN_DEPENDS=	${PINENTRY_QT5}:security/pinentry-qt5 
+
 GNOME3_DESC=	GNOME 3 frontend
 PINENTRY_GNOME3=	pinentry-gnome3
 GNOME3_RUN_DEPENDS=	${PINENTRY_GNOME3}:security/pinentry-gnome3
@@ -87,8 +91,15 @@ CONFIGURE_ARGS+=--disable-pinentry-gnome
 .if ${PINENTRY_GUI} == "qt4"
 USES+=		compiler:c++11-lib
 USE_QT4=	gui moc_build
-PLIST_FILES=	bin/pinentry-qt
-CONFIGURE_ARGS+=--disable-pinentry-qt5
+PLIST_FILES=	bin/pinentry-qt4
+CONFIGURE_ARGS+=--disable-pinentry-qt5 \
+		--program-suffix=4
+.elif ${PINENTRY_GUI} == "qt5"
+USES+=		compiler:c++11-lib
+USE_QT5=	core gui widgets buildtools_build
+PLIST_FILES=	bin/pinentry-qt5
+CONFIGURE_ARGS+=--enable-pinentry-qt5 \
+		--program-suffix=5
 .else
 CONFIGURE_ARGS+=--disable-pinentry-qt --disable-pinentry-qt5
 .endif



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