2012-03-21 09:57:10 +00:00
|
|
|
# Template file for 'gcr'
|
|
|
|
pkgname=gcr
|
2015-09-30 15:55:17 +00:00
|
|
|
version=3.18.0
|
2014-11-30 10:26:06 +00:00
|
|
|
revision=1
|
2012-03-21 09:57:10 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-30 10:26:06 +00:00
|
|
|
configure_args="$(vopt_enable gir introspection) --disable-update-mime
|
2013-09-26 13:19:45 +00:00
|
|
|
--disable-update-icon-cache --disable-schemas-compile"
|
2015-09-30 15:55:17 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config intltool gnome-doc-utils
|
2014-06-16 12:27:05 +00:00
|
|
|
libtasn1-tools gettext-devel gnupg perl-XML-Parser glib-devel
|
|
|
|
libgcrypt-devel gobject-introspection vala-devel"
|
2015-09-30 15:55:17 +00:00
|
|
|
makedepends="gtk+3-devel p11-kit-devel libgcrypt-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
2012-03-21 09:57:10 +00:00
|
|
|
short_desc="GNOME crypto package"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-03-21 09:57:10 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-09-25 13:48:13 +00:00
|
|
|
homepage="http://www.gnome.org"
|
2013-09-26 13:19:45 +00:00
|
|
|
distfiles="${GNOME_SITE}/gcr/${version%.*}/gcr-${version}.tar.xz"
|
2015-09-30 15:55:17 +00:00
|
|
|
checksum=d4d16da5af55148a694055835ccd07ad34daf0ad03bdad929bf7cad15637ce00
|
2012-03-21 09:57:10 +00:00
|
|
|
|
2014-05-13 06:28:42 +00: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 12:27:05 +00:00
|
|
|
autoreconf -fi
|
2014-05-13 06:28:42 +00:00
|
|
|
}
|
2012-11-14 15:13:41 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/10-gcr-memlock.conf 644 etc/security/limits.d
|
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
gcr-devel_package() {
|
2015-09-30 15:55:17 +00:00
|
|
|
depends="${makedepends} gcr>=${version}_${revision}"
|
2013-05-05 01:35:03 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 13:19:45 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-05-13 06:28:42 +00: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 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|