2010-04-12 16:24:11 +02:00
|
|
|
# Template file for 'libgnome-keyring'
|
|
|
|
pkgname=libgnome-keyring
|
2014-12-13 10:44:14 +01:00
|
|
|
version=3.12.0
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-12-13 10:44:14 +01:00
|
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
2013-04-13 10:15:49 +02:00
|
|
|
makedepends="dbus-devel libglib-devel libgcrypt-devel"
|
2010-04-12 16:24:11 +02:00
|
|
|
short_desc="GNOME keyring client library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-27 06:59:51 +02:00
|
|
|
homepage="http://www.gnome.org"
|
2012-03-21 09:08:16 +01:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-09-26 15:14:49 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2014-12-13 10:44:14 +01:00
|
|
|
checksum=c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783
|
2010-04-12 16:24:11 +02:00
|
|
|
|
2014-02-20 17:09:34 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libgnome-keyring-devel_package() {
|
2014-02-20 17:09:34 +01:00
|
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-26 15:14:49 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 15:14:49 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-20 17:09:34 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|