void-packages/srcpkgs/libcryptui/template

48 lines
1.4 KiB
Text
Raw Normal View History

2012-03-29 21:36:57 +00:00
# Template file for 'libcryptui'
pkgname=libcryptui
2014-05-17 08:34:25 +00:00
version=3.12.2
revision=1
2012-03-29 21:36:57 +00:00
build_style=gnu-configure
configure_args="--disable-static --disable-update-mime-database
--disable-schemas-compile"
2014-02-20 16:10:27 +00:00
hostmakedepends="pkg-config intltool"
2013-04-01 08:42:14 +00:00
makedepends="libSM-devel dbus-glib-devel gtk+3-devel>=3.8 gpgme-devel
2013-09-28 08:22:48 +00:00
libnotify-devel libgnome-keyring-devel>=3.10 gnupg"
depends="hicolor-icon-theme libgnome-keyring>=3.10 gnupg"
2012-03-29 21:36:57 +00:00
short_desc="GNOME Interface components for OpenPGP"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
2013-09-28 08:22:48 +00:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2014-05-17 08:34:25 +00:00
checksum=71ead1a7b496f07f6c5102ae79945dd2515b7b9342c6edefe58b47318be20866
2014-02-20 16:10:27 +00:00
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
libcryptui-devel_package() {
2014-02-20 16:10:27 +00:00
depends="gtk+3-devel dbus-glib-devel ${sourcepkg}>=${version}_${revision}"
2013-09-28 08:22:48 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-20 16:10:27 +00:00
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
2013-09-28 08:22:48 +00:00
vmove "usr/lib/*.so"
}
}