2011-03-01 01:06:45 +01:00
|
|
|
# Template file for 'gsettings-desktop-schemas'
|
|
|
|
pkgname=gsettings-desktop-schemas
|
2013-10-16 00:20:01 +02:00
|
|
|
version=3.10.1
|
2014-01-29 10:33:53 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-29 10:33:53 +01:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2013-03-28 07:36:27 +01:00
|
|
|
makedepends="libglib-devel"
|
2011-04-05 11:22:19 +02:00
|
|
|
short_desc="Collection of GSettings schemas"
|
2011-03-01 01:06:45 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-20 09:58:15 +01:00
|
|
|
license="GPL-2"
|
2012-09-25 14:07:58 +02:00
|
|
|
homepage="http://www.gnome.org"
|
2013-03-28 07:36:27 +01:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2013-10-16 00:20:01 +02:00
|
|
|
checksum=452378c4960a145747ec69f8c6a874e5b7715454df3e2452d1ff1a0a82e76811
|
2014-01-29 10:33:53 +01:00
|
|
|
|
|
|
|
# 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"
|
|
|
|
hostmakedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
gsettings-desktop-schemas-devel_package() {
|
2014-01-29 10:33:53 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-05-14 14:23:50 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/pkgconfig
|
2014-01-29 10:33:53 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|