void-packages/srcpkgs/gedit/template
2015-10-13 09:31:18 +02:00

33 lines
1.1 KiB
Bash

# Template file for 'gedit'
pkgname=gedit
version=3.18.1
revision=1
build_style=gnu-configure
build_options="gir"
configure_args="--disable-schemas-compile --enable-zeitgeist
--enable-python --enable-gvfs-metadata $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils
$(vopt_if gir gobject-introspection)"
makedepends="
gtksourceview-devel libpeas-devel enchant-devel python-gobject-devel
gsettings-desktop-schemas-devel 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@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5ad5aeb01b0a299bb7c154e82fcff96e1a722617fcc4e39b3b57ddcbe88363cd
gedit-devel_package() {
depends="gtksourceview-devel>=3.16 libpeas-devel>=1.9"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gedit/gir-1.0
fi
}
}