2011-03-01 01:06:45 +01:00
|
|
|
# Template file for 'gsettings-desktop-schemas'
|
|
|
|
pkgname=gsettings-desktop-schemas
|
2014-03-27 10:15:28 +01:00
|
|
|
version=3.12.0
|
|
|
|
revision=1
|
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"
|
2014-03-27 10:15:28 +01:00
|
|
|
checksum=a623888a47999599abca9728156459b93634e93ac7243a86cf1fc8c2d75f478d
|
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
|
|
|
}
|
|
|
|
}
|