2013-07-28 07:52:31 +02:00
|
|
|
# Template file for 'anjuta'
|
|
|
|
pkgname=anjuta
|
2014-03-27 18:04:26 +01:00
|
|
|
version=3.12.0
|
|
|
|
revision=1
|
2013-07-28 07:52:31 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="GNOME Integrated Development Environment"
|
2014-03-27 18:04:26 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-07-28 07:52:31 +02:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://projects.gnome.org/anjuta"
|
2013-09-26 23:35:54 +02:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
2014-03-27 18:04:26 +01:00
|
|
|
checksum=880efe7274d015a07aec2c5bdfebe27e313f76f1f524bd9309b5e3ecd29bda1f
|
2013-07-28 07:52:31 +02:00
|
|
|
|
2014-02-18 09:24:03 +01:00
|
|
|
hostmakedepends="pkg-config intltool flex itstool python autogen"
|
|
|
|
makedepends="
|
2014-03-27 18:04:26 +01:00
|
|
|
gtksourceview-devel>=3.12 libxml2-devel vte3-devel gjs-devel>=1.40
|
|
|
|
libxslt-devel glade3-devel>=3.16 graphviz-devel vala-devel>=0.24
|
|
|
|
libgda-devel devhelp-devel>=3.12 sqlite-devel apr-util-devel
|
|
|
|
neon-devel subversion-devel python-devel gdl-devel>=3.12"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="autogen"
|
2013-07-28 07:52:31 +02:00
|
|
|
|
2014-02-18 09:24:03 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
2013-07-28 07:52:31 +02:00
|
|
|
anjuta-devel_package() {
|
2014-02-18 09:24:03 +01:00
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="anjuta>=${version}_${revision}"
|
2013-07-28 07:52:31 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-18 09:24:03 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-09-26 23:35:54 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-07-28 07:52:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
anjuta-docs_package() {
|
2013-09-26 23:35:54 +02:00
|
|
|
short_desc+=" - Documentation"
|
2013-07-28 09:16:55 +02:00
|
|
|
noarch=yes
|
2013-07-28 07:52:31 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|