# Template file for 'gedit'
pkgname=gedit
version=3.12.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --enable-zeitgeist
 --enable-python --enable-gvfs-metadata"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils
 gobject-introspection"
makedepends="
 gtksourceview-devel>=3.12 libpeas-devel>=1.9 enchant-devel pygobject-devel
 gsettings-desktop-schemas-devel>=3.12 zeitgeist-devel iso-codes"
depends="zeitgeist hicolor-icon-theme desktop-file-utils iso-codes"
short_desc="A text editor for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/gedit/${version%.*}/gedit-$version.tar.xz"
checksum=8e3edc62102934a8be708b0fdf27b86368fa9ede885628283bf8e91b26bbb67f

gedit-devel_package() {
	depends="gtksourceview-devel>=3.12 libpeas-devel>=1.9"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove usr/share/gedit/gir-1.0
	}
}
