2009-05-14 16:09:17 +02:00
|
|
|
# Template file for 'GConf'
|
|
|
|
pkgname=GConf
|
2013-01-25 10:35:53 +01:00
|
|
|
version=3.2.6
|
2013-04-12 09:01:46 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-03-20 11:19:23 +01:00
|
|
|
configure_args="--without-openldap --enable-gtk --enable-defaults-service
|
2013-01-25 10:35:53 +01:00
|
|
|
--disable-orbit --enable-gsettings-backend --disable-static"
|
2013-04-12 09:01:46 +02:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
|
|
|
makedepends="gtk+3-devel dbus-glib-devel polkit-devel libxml2-devel"
|
2009-05-14 16:09:17 +02:00
|
|
|
short_desc="A process-transparent configuration system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-29 15:44:54 +02:00
|
|
|
homepage="http://projects.gnome.org/gconf"
|
|
|
|
license="GPL-2"
|
2012-12-09 10:22:19 +01:00
|
|
|
distfiles="${GNOME_SITE}/GConf/3.2/GConf-${version}.tar.xz"
|
2013-01-25 10:35:53 +01:00
|
|
|
checksum=1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c
|
2009-05-14 16:09:17 +02:00
|
|
|
|
2012-03-20 11:19:23 +01:00
|
|
|
post_install() {
|
2010-04-11 12:51:56 +02:00
|
|
|
# Create GCONF_SCHEMAS_DIR
|
2012-12-09 10:22:19 +01:00
|
|
|
vmkdir usr/share/gconf/schemas
|
2010-04-11 12:51:56 +02:00
|
|
|
touch -f ${DESTDIR}/usr/share/gconf/schemas/.empty_on_purpose
|
|
|
|
# Create required sysconfdir dirs.
|
|
|
|
for d in defaults mandatory system; do
|
2012-12-09 10:22:19 +01:00
|
|
|
vmkdir etc/gconf/gconf.xml.${d}
|
2010-04-11 12:51:56 +02:00
|
|
|
touch -f ${DESTDIR}/etc/gconf/gconf.xml.${d}/.empty_on_purpose
|
|
|
|
done
|
|
|
|
}
|
2013-04-12 09:01:46 +02:00
|
|
|
|
|
|
|
GConf-devel_package() {
|
|
|
|
depends="glib-devel dbus-devel GConf>=${version}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/sgml usr/share
|
|
|
|
vmove usr/share/aclocal usr/share
|
|
|
|
vmove usr/share/gtk-doc usr/share
|
|
|
|
# Install gconf-merge-schema
|
|
|
|
vinstall ${FILESDIR}/gconf-merge-schema.sh 755 usr/bin gconf-merge-schema
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
GConf_package() {
|
2013-04-12 09:05:21 +02:00
|
|
|
conf_files="/etc/gconf/2/path"
|
2013-04-12 09:01:46 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|