2011-03-01 01:06:45 +01:00
|
|
|
# Template file for 'gsettings-desktop-schemas'
|
|
|
|
pkgname=gsettings-desktop-schemas
|
2015-06-03 17:29:06 +02:00
|
|
|
version=3.16.1
|
2014-03-27 10:15:28 +01:00
|
|
|
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"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
2015-06-03 17:29:06 +02:00
|
|
|
checksum=74fe9fdad510c8a6666febeceb7ebafc581ef990b3afcc8c1e8b5d90b24b3461
|
2014-01-29 10:33:53 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# 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
|
|
|
}
|
|
|
|
}
|