1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

security/pinentry:

- Add GNOME 3 pinentry dialog
This commit is contained in:
Max Brazhnikov 2015-07-17 15:49:09 +00:00
parent 27d93e1c01
commit 7d1d2b9b42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392382
3 changed files with 27 additions and 3 deletions

View File

@ -743,6 +743,7 @@
SUBDIR += pidgin-otr
SUBDIR += pinentry
SUBDIR += pinentry-curses
SUBDIR += pinentry-gnome3
SUBDIR += pinentry-gtk2
SUBDIR += pinentry-qt4
SUBDIR += pinentry-tty

View File

@ -0,0 +1,12 @@
# $FreeBSD$
PORTNAME= pinentry
PORTREVISION= 0
COMMENT= GNOME 3 version of the GnuPG password dialog
PINENTRY_GUI= gnome3
MASTERDIR= ${.CURDIR}/../pinentry
.include "${MASTERDIR}/Makefile"

View File

@ -19,7 +19,7 @@ NO_BUILD= yes
PLIST_FILES= bin/pinentry
OPTIONS_SINGLE= FRONTEND
OPTIONS_SINGLE_FRONTEND= TTY NCURSES GTK2 QT4
OPTIONS_SINGLE_FRONTEND= TTY NCURSES GTK2 QT4 GNOME3
OPTIONS_DEFAULT= TTY
FRONTEND_DESC= Default frontend
@ -44,6 +44,10 @@ QT4_DESC= Qt 4 frontend
PINENTRY_QT4= pinentry-qt4
QT4_RUN_DEPENDS= ${PINENTRY_QT4}:${PORTSDIR}/security/pinentry-qt4
GNOME3_DESC= GNOME 3 frontend
PINENTRY_GNOME3= pinentry-gnome3
GNOME3_RUN_DEPENDS= ${PINENTRY_GNOME3}:${PORTSDIR}/security/pinentry-gnome3
.include <bsd.port.options.mk>
.for gui in ${OPTIONS_SINGLE_FRONTEND}
@ -64,8 +68,7 @@ LIB_DEPENDS= libassuan.so:${PORTSDIR}/security/libassuan \
USES+= iconv gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-pinentry-emacs \
--disable-pinentry-gnome3
CONFIGURE_ARGS= --disable-pinentry-emacs
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -76,6 +79,14 @@ LIBSECRET_DESC= Saving the passphrase with libsecret
LIBSECRET_CONFIGURE_ENABLE= libsecret
LIBSECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret
.if ${PINENTRY_GUI} == "gnome3"
USE_GNOME+= gtk20
LIB_DEPENDS+= libgcr-base-3.so:${PORTSDIR}/security/gcr
PLIST_FILES= bin/pinentry-gnome3
.else
CONFIGURE_ARGS+=--disable-pinentry-gnome3
.endif
.if ${PINENTRY_GUI} == "qt4"
USES+= compiler:c++11-lib
USE_CXXSTD= c++11