# Template file for 'gnome-terminal'
pkgname=gnome-terminal
version=3.2.1
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--with-gtk=3.0"
revision=2
short_desc="The GNOME terminal emulator application"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
checksum=c36a6bce466447526cb73779ee8e861f079e86cef68a50f7c8fbed540d5f373e
long_desc="
 GNOME Terminal is a terminal emulation application that you can use to
 perform the following actions:

  - Access a UNIX shell in the GNOME environment.
  - Run any application that is designed to run on VT102, VT220,
    and xterm terminals.

 GNOME Terminal features the ability to use multiple terminals in a single
 window (tabs) and profiles support." 

gconf_schemas="$pkgname.schemas"

Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gnome-doc-utils
Add_dependency build dbus-glib-devel
Add_dependency build gtk+3-devel
Add_dependency build vte3-devel
Add_dependency build GConf-devel
Add_dependency build coreutils

Add_dependency full desktop-file-utils
Add_dependency full gsettings-desktop-schemas

post_install()
{
	mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
	gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \
		--domain ${pkgname} ${wrksrc}/*.schemas
}
