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