2012-03-21 10:57:10 +01:00
|
|
|
# Template file for 'gcr'
|
|
|
|
pkgname=gcr
|
2014-11-30 11:26:06 +01:00
|
|
|
version=3.14.0
|
|
|
|
revision=1
|
2012-03-21 10:57:10 +01:00
|
|
|
build_style=gnu-configure
|
2014-11-30 11:26:06 +01:00
|
|
|
configure_args="$(vopt_enable gir introspection) --disable-update-mime
|
2013-09-26 15:19:45 +02:00
|
|
|
--disable-update-icon-cache --disable-schemas-compile"
|
2014-11-30 11:26:06 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config intltool gnome-doc-utils
|
2014-06-16 14:27:05 +02:00
|
|
|
libtasn1-tools gettext-devel gnupg perl-XML-Parser glib-devel
|
|
|
|
libgcrypt-devel gobject-introspection vala-devel"
|
2013-09-26 15:19:45 +02:00
|
|
|
makedepends="gtk+3-devel p11-kit-devel libgcrypt-devel vala-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
2012-03-21 10:57:10 +01:00
|
|
|
short_desc="GNOME crypto package"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-09-25 15:48:13 +02:00
|
|
|
homepage="http://www.gnome.org"
|
2013-09-26 15:19:45 +02:00
|
|
|
distfiles="${GNOME_SITE}/gcr/${version%.*}/gcr-${version}.tar.xz"
|
2014-11-30 11:26:06 +01:00
|
|
|
checksum=2a2231147a01e2061f57fa9ca77557ff97bc6ceab028cee5528079f4b2fca63d
|
2012-03-21 10:57:10 +01:00
|
|
|
|
2014-05-13 08:28:42 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
2014-06-16 14:27:05 +02:00
|
|
|
autoreconf -fi
|
2014-05-13 08:28:42 +02:00
|
|
|
}
|
2012-11-14 16:13:41 +01:00
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/10-gcr-memlock.conf 644 etc/security/limits.d
|
|
|
|
}
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
gcr-devel_package() {
|
2014-02-19 15:35:16 +01:00
|
|
|
depends="libglib-devel p11-kit-devel gtk+3-devel gcr>=${version}_${revision}"
|
2013-05-05 03:35:03 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 15:19:45 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-05-13 08:28:42 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|