parent
721fda6a59
commit
b4eaab7e41
1
srcpkgs/pinentry-qt
Symbolic link
1
srcpkgs/pinentry-qt
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pinentry
|
@ -5,9 +5,9 @@ revision=1
|
|||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-rpath --without-libcap --disable-pinentry-gtk
|
configure_args="--disable-rpath --without-libcap --disable-pinentry-gtk
|
||||||
--enable-pinentry-curses --enable-fallback-curses --enable-pinentry-gtk2
|
--enable-pinentry-curses --enable-fallback-curses --enable-pinentry-gtk2
|
||||||
--enable-pinentry-emacs"
|
--enable-pinentry-emacs --enable-pinentry-qt"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="ncurses-devel gtk+-devel libassuan-devel libgpg-error-devel"
|
makedepends="ncurses-devel gtk+-devel libassuan-devel libgpg-error-devel qt5-devel"
|
||||||
short_desc="PIN or passphrase entry dialogs for GnuPG"
|
short_desc="PIN or passphrase entry dialogs for GnuPG"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
@ -15,6 +15,10 @@ homepage="https://www.gnupg.org/related_software/pinentry/index.html"
|
|||||||
distfiles="ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
|
distfiles="ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=1672c2edc1feb036075b187c0773787b2afd0544f55025c645a71b4c2f79275a
|
checksum=1672c2edc1feb036075b187c0773787b2afd0544f55025c645a71b4c2f79275a
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -e 's,ncursesw/curses.h,curses.h,' -i pinentry/pinentry-curses.c
|
sed -e 's,ncursesw/curses.h,curses.h,' -i pinentry/pinentry-curses.c
|
||||||
}
|
}
|
||||||
@ -23,6 +27,14 @@ post_install() {
|
|||||||
rm ${DESTDIR}/usr/bin/pinentry
|
rm ${DESTDIR}/usr/bin/pinentry
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pinentry-qt_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" based on Qt"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/pinentry-qt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
pinentry-gtk_package() {
|
pinentry-gtk_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" based on GTK+"
|
short_desc+=" based on GTK+"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user