# Template file for 'gedit'
pkgname=gedit
version=3.8.3
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-updater --enable-python=no
 --enable-gvfs-metadata"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils
 gobject-introspection python3"
makedepends="gtksourceview-devel>=3.8 libpeas-devel>=1.8 enchant-devel
 gsettings-desktop-schemas-devel>=3.8 libzeitgeist-devel 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/3.8/gedit-$version.tar.xz"
checksum=dfbc2d9cf975b247c6a6b8bd1ae1b72d8e8a1f862f5f3d084a404853092cf9d3

gedit-devel_package() {
	depends="gtksourceview-devel>=3.8 libpeas-devel>=1.8"
	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
	}
}

gedit_package() {
	depends="hicolor-icon-theme desktop-file-utils iso-codes"
	pkg_install() {
		vmove all
	}
}
