void-packages/srcpkgs/anjuta/template

42 lines
1.3 KiB
Bash

# Template file for 'anjuta'
pkgname=anjuta
version=3.28.0
revision=6
build_style=gnu-configure
configure_args="--disable-compile-warnings --disable-schemas-compile
$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool flex itstool python autogen glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="gtksourceview-devel libxml2-devel vte3-devel gjs-devel
libxslt-devel glade3-devel graphviz-devel vala-devel
libgda-devel devhelp-devel sqlite-devel apr-util-devel
neon-devel subversion-devel python-devel gdl-devel"
depends="autogen"
short_desc="GNOME Integrated Development Environment"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://projects.gnome.org/anjuta"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b087b0a5857952d0edd24dae458616eb166a3257bc647d5279a9e71495544779
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
anjuta-devel_package() {
replaces="anjuta-docs>=0"
short_desc+=" - development files"
depends="anjuta>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove "usr/lib/*.so"
vmove usr/share/doc
vmove usr/share/gtk-doc
}
}