void-packages/srcpkgs/gedit/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

35 lines
1.1 KiB
Bash

# Template file for 'gedit'
pkgname=gedit
version=3.14.3
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@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=cd6c9f556ec12001e4b250091a1d7405cd807cce7fe767bc89ed2c25aa96a319
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
gedit-devel_package() {
depends="gtksourceview-devel>=3.14 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
}
}