45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# Template file for 'libgnome-keyring'
|
|
pkgname=libgnome-keyring
|
|
version=3.10.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="dbus-devel libglib-devel libgcrypt-devel"
|
|
short_desc="GNOME keyring client library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=052cf1121ba823359afe534c425f7e216c6a2b1a2b316dee279dcf9032423772
|
|
|
|
# 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
|
|
|
|
libgnome-keyring-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|