void-packages/srcpkgs/gedit/template
John 3390993661 gedit: add mising dependecies
resolves #13977

Closes #13978.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-30 19:03:03 +02:00

38 lines
1.3 KiB
Bash

# Template file for 'gedit'
pkgname=gedit
version=3.28.1
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile --enable-zeitgeist
--enable-python --enable-gvfs-metadata $(vopt_enable gir introspection)"
hostmakedepends="gnome-doc-utils intltool itstool pkg-config
$(vopt_if gir 'gobject-introspection')"
makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview-devel
libpeas-devel $(vopt_if gir 'python-gobject-devel') zeitgeist-devel"
depends="desktop-file-utils gsettings-desktop-schemas gnome-icon-theme
iso-codes zeitgeist"
short_desc="A text editor for GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2.0-or-later"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f174be0958ce63771fef9a81d06da6769358dab8705364a6abb5c7d10ec8211d
nocross="requires libpeas which requires girepository which is not cross"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
gedit-devel_package() {
depends="gtksourceview-devel libpeas-devel"
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
}
}