2010-04-12 14:24:11 +00:00
|
|
|
# Template file for 'libgnome-keyring'
|
|
|
|
pkgname=libgnome-keyring
|
2013-10-17 07:37:38 +00:00
|
|
|
version=3.10.1
|
2014-02-20 16:09:34 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-20 16:09:34 +00:00
|
|
|
configure_args="--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr"
|
|
|
|
hostmakedepends="pkg-config intltool"
|
2013-04-13 08:15:49 +00:00
|
|
|
makedepends="dbus-devel libglib-devel libgcrypt-devel"
|
2010-04-12 14:24:11 +00:00
|
|
|
short_desc="GNOME keyring client library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-27 04:59:51 +00:00
|
|
|
homepage="http://www.gnome.org"
|
2012-03-21 08:08:16 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-09-26 13:14:49 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2013-10-17 07:37:38 +00:00
|
|
|
checksum=052cf1121ba823359afe534c425f7e216c6a2b1a2b316dee279dcf9032423772
|
2010-04-12 14:24:11 +00:00
|
|
|
|
2014-02-20 16:09:34 +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
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libgnome-keyring-devel_package() {
|
2014-02-20 16:09:34 +00:00
|
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-26 13:14:49 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 13:14:49 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-20 16:09:34 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|