2012-09-25 16:03:29 +02:00
|
|
|
# Template file for 'libsecret'
|
|
|
|
pkgname=libsecret
|
2015-04-22 07:35:48 +02:00
|
|
|
version=0.18.2
|
|
|
|
revision=1
|
2012-09-25 16:03:29 +02:00
|
|
|
build_style=gnu-configure
|
2015-04-22 07:35:48 +02:00
|
|
|
configure_args="$(vopt_enable gir introspection) --disable-static --with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr"
|
|
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils glib-devel libxslt $(vopt_if gir gobject-introspection)"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="vala-devel libgcrypt-devel"
|
2012-09-25 16:03:29 +02:00
|
|
|
short_desc="GObject based library for accessing the Secret Service API"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-09-25 16:03:29 +02:00
|
|
|
license="GPL-2, LGPL-2.1"
|
|
|
|
homepage="http://www.gnome.org"
|
2015-04-22 07:35:48 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-${version}.tar.xz"
|
|
|
|
checksum=12fd288b012e1b2b1b54d586cd4c6507885715534644b4534b7ef7d7079ba443
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-02-19 09:58:51 +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
|
|
|
libsecret-devel_package() {
|
|
|
|
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
2013-08-26 21:37:54 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-26 21:37:54 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2014-02-19 09:58:51 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|