gnome-ssh-askpass: use gtk+3

This commit is contained in:
Michal Vasilek 2022-03-31 23:35:26 +02:00 committed by Leah Neukirchen
parent 991988446e
commit 6d3d2c9c7f

View file

@ -1,10 +1,13 @@
# Template file for 'gnome-ssh-askpass'
pkgname=gnome-ssh-askpass
version=8.9p1
revision=1
revision=2
wrksrc="openssh-${version}"
build_wrksrc="contrib"
build_style=gnu-makefile
make_build_target="gnome-ssh-askpass3"
hostmakedepends="pkg-config"
makedepends="gtk+-devel"
makedepends="gtk+3-devel"
short_desc="GTK SSH passphrase grabber (from OpenSSH)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause, BSD-2-Clause"
@ -16,12 +19,7 @@ alternatives="
ssh-askpass:/usr/libexec/ssh-askpass:/usr/bin/gnome-ssh-askpass
"
do_build() {
cd contrib
${CC} ${CFLAGS} $(pkg-config --cflags gtk+-2.0) ${pkgname}2.c -o ${pkgname} $(pkg-config --libs gtk+-2.0) ${LDFLAGS} -lX11
}
do_install() {
vbin contrib/${pkgname}
vlicense LICENCE
vbin gnome-ssh-askpass3 gnome-ssh-askpass
vlicense ../LICENCE
}