void-packages/srcpkgs/libcryptui/template
Đoàn Trần Công Danh 042c75acd4 libcryptui: port from libgnome-keyring to gcr-devel
While we're at it, prepare for gnupg v2.2, and port another bug-fix.
2021-07-22 21:29:56 +07:00

42 lines
1.3 KiB
Bash

# Template file for 'libcryptui'
pkgname=libcryptui
version=3.12.2
revision=4
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --disable-update-mime-database
--disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool dbus-glib-devel glib gnupg
automake libtool gettext-devel-tools glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="libSM-devel dbus-glib-devel gtk+3-devel gpgme-devel
libnotify-devel gcr-devel"
depends="hicolor-icon-theme gnupg"
short_desc="GNOME Interface components for OpenPGP"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=71ead1a7b496f07f6c5102ae79945dd2515b7b9342c6edefe58b47318be20866
# Package build options
build_options="gir"
build_options_default="gir"
pre_configure() {
autoreconf -fi
}
libcryptui-devel_package() {
depends="gtk+3-devel dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}