2010-06-02 22:38:35 +02:00
|
|
|
# Template file for 'gtksourceview'
|
|
|
|
pkgname=gtksourceview
|
2015-06-03 17:29:07 +02:00
|
|
|
version=3.16.1
|
2014-03-27 15:32:09 +01:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-05-31 10:10:45 +02:00
|
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool gtk+3-devel glib-devel $(vopt_if gir gobject-introspection)"
|
2014-09-22 17:55:38 +02:00
|
|
|
makedepends="gtk+3-devel libxml2-devel"
|
2013-01-24 09:25:49 +01:00
|
|
|
short_desc="Text widget that extends GTK+3 GtkTextView widget"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-09-30 16:54:11 +02:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2"
|
2013-09-26 21:03:18 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz"
|
2015-06-03 17:29:07 +02:00
|
|
|
checksum=669e9846ca744ec4d04ce61377e85df7ca909ad476329922a6abf4da423f1b0c
|
2013-04-12 15:11:12 +02:00
|
|
|
|
2014-02-16 08:50:05 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gtksourceview-devel_package() {
|
2015-05-31 10:10:45 +02:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-07-08 15:11:35 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-08 15:11:35 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-16 08:50:05 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|