void-packages/srcpkgs/gedit/template
2018-03-19 20:09:25 +01:00

37 lines
1.2 KiB
Bash

# Template file for 'gedit'
pkgname=gedit
version=3.28.0
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 $(vopt_if gir gobject-introspection) intltool
itstool pkg-config"
makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview-devel
libpeas-devel $(vopt_if gir python-gobject-devel) zeitgeist-devel"
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.0-or-later"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9bf90a2d4fd7be802ad98d226d254ad42057b7c5cc03d1cd39b813123fa8ca5f
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
}
}