# Template file for 'gnome-terminal'
pkgname=gnome-terminal
version=3.4.0.1
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-gconf-schema-file-dir=/usr/share/gconf/schemas"
short_desc="The GNOME terminal emulator application"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
checksum=1369298498d62993b075dc6d4b9669bbce1acb7ba1f670a0ba39e40a2a25a092
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 which
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 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
}
