2010-06-02 20:38:35 +00:00
|
|
|
# Template file for 'gtksourceview'
|
|
|
|
pkgname=gtksourceview
|
2014-11-16 19:21:28 +00:00
|
|
|
version=3.14.2
|
2014-03-27 14:32:09 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="--disable-static"
|
2014-10-04 17:18:37 +00:00
|
|
|
hostmakedepends="pkg-config intltool gtk+3-devel glib-devel"
|
2014-09-22 15:55:38 +00:00
|
|
|
makedepends="gtk+3-devel libxml2-devel"
|
2013-01-24 08:25:49 +00:00
|
|
|
short_desc="Text widget that extends GTK+3 GtkTextView widget"
|
2010-06-02 20:38:35 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-09-30 14:54:11 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-09-26 19:03:18 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz"
|
2014-11-16 19:21:28 +00:00
|
|
|
checksum=b3c4a4f464fdb23ecc708a61c398aa3003e05adcd7d7223d48d9c04fe87524ad
|
2013-04-12 13:11:12 +00:00
|
|
|
|
2014-02-16 07:50:05 +00: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-04-12 13:11:12 +00:00
|
|
|
gtksourceview-devel_package() {
|
2014-02-01 15:17:45 +00:00
|
|
|
depends="gtk+3-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
2013-07-08 13:11:35 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-08 13:11:35 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-16 07:50:05 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|