From 9c90330f8759b1c5504d5aabc285e8a54b126257 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sun, 2 Sep 2018 11:36:25 +0000 Subject: [PATCH] pinentry: enable pinentry-gnome, use SPDX identifier --- srcpkgs/pinentry-gnome | 1 + srcpkgs/pinentry/template | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/pinentry-gnome diff --git a/srcpkgs/pinentry-gnome b/srcpkgs/pinentry-gnome new file mode 120000 index 00000000000..ca6c20e3c67 --- /dev/null +++ b/srcpkgs/pinentry-gnome @@ -0,0 +1 @@ +pinentry \ No newline at end of file diff --git a/srcpkgs/pinentry/template b/srcpkgs/pinentry/template index 586388d4f88..5e0f288d8f7 100644 --- a/srcpkgs/pinentry/template +++ b/srcpkgs/pinentry/template @@ -1,16 +1,17 @@ # Template file for 'pinentry' pkgname=pinentry version=1.1.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--disable-rpath --without-libcap --disable-pinentry-gtk --enable-pinentry-curses --enable-fallback-curses --enable-pinentry-gtk2 - --enable-pinentry-emacs --enable-pinentry-qt --enable-pinentry-tty" + --enable-pinentry-emacs --enable-pinentry-qt --enable-pinentry-tty + --enable-pinentry-gnome3" hostmakedepends="pkg-config" -makedepends="ncurses-devel gtk+-devel libassuan-devel libgpg-error-devel qt5-devel" +makedepends="ncurses-devel gcr-devel gtk+-devel libassuan-devel libgpg-error-devel qt5-devel" short_desc="PIN or passphrase entry dialogs for GnuPG" maintainer="Leah Neukirchen " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://www.gnupg.org/related_software/pinentry/index.html" distfiles="ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570 @@ -58,3 +59,11 @@ pinentry-emacs_package() { vmove usr/bin/pinentry-emacs } } + +pinentry-gnome_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" for the GNOME desktop" + pkg_install() { + vmove usr/bin/pinentry-gnome3 + } +}