pinentry: update to 0.9.6, switch Qt frontend to Qt5.

This commit is contained in:
Jeff Huang 2015-10-10 13:49:29 +00:00
parent 5301d26308
commit 61caebb97e

View File

@ -1,34 +1,30 @@
pkgname=pinentry
pkgver=0.9.5
pkgver=0.9.6
pkgrel=1
pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
arch=('x86_64')
license=('GPL')
url="http://gnupg.org/related_software/pinentry/"
depends=('ncurses' 'libcap>=2.16')
makedepends=('qt')
optdepends=('qt: for qt4 backend'
makedepends=('qt5-base')
optdepends=('qt5-base: for Qt5 backend'
'emacs: emacs integration')
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2)
install=pinentry.install
md5sums=('55439c4436b59573a29e144916ee5b61')
md5sums=('ab27ee5f9c3079842a9becd7ef7605cc')
build() {
cd $srcdir/$pkgname-$pkgver
#for file in qt4/*.moc; do
# moc ${file/.moc/.h} > ${file}
#done
./configure --prefix=/usr \
--enable-pinentry-curses \
--enable-fallback-curses \
--enable-pinentry-tty \
--disable-pinentry-gtk \
--disable-pinentry-gnome3 \
--disable-pinentry-gtk2 \
--enable-pinentry-qt4 \
--enable-pinentry-qt4-clipboard \
--enable-pinentry-qt \
--enable-pinentry-emacs \
--enable-inside-emacs \
--enable-fallback-curses
--enable-inside-emacs
make
}