gtksourceview4: update to 4.2.0.
This commit is contained in:
parent
e569a2803a
commit
a64abd2c58
|
@ -1,30 +1,30 @@
|
||||||
# Template file for 'gtksourceview4'
|
# Template file for 'gtksourceview4'
|
||||||
pkgname=gtksourceview4
|
pkgname=gtksourceview4
|
||||||
version=4.0.3
|
version=4.2.0
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="gtksourceview-${version}"
|
wrksrc="gtksourceview-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="--enable-glade-catalog $(vopt_enable gir introspection)
|
configure_args="--enable-glade-catalog $(vopt_enable gir introspection)
|
||||||
$(vopt_enable vala)"
|
$(vopt_enable vala) $(vopt_enable gtk_doc gtk-doc)"
|
||||||
hostmakedepends="gtk+3-devel glib-devel itstool libxslt pkg-config
|
hostmakedepends="gtk+3-devel glib-devel itstool libxslt pkg-config
|
||||||
$(vopt_if vala vala)"
|
$(vopt_if vala vala) $(vopt_if gtk_doc gtk-doc)"
|
||||||
makedepends="glade3-devel gtk+3-devel libglib-devel libxml2-devel
|
makedepends="glade3-devel gtk+3-devel libglib-devel libxml2-devel
|
||||||
$(vopt_if vala vala)"
|
$(vopt_if vala vala)"
|
||||||
short_desc="Text widget that extends GTK+ GtkTextView widget"
|
short_desc="Text widget that extends GTK+ GtkTextView widget"
|
||||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://wiki.gnome.org/Projects/GtkSourceView"
|
homepage="https://wiki.gnome.org/Projects/GtkSourceView"
|
||||||
distfiles="${GNOME_SITE}/gtksourceview/${version%.*}/gtksourceview-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/gtksourceview/${version%.*}/gtksourceview-${version}.tar.xz"
|
||||||
checksum=3d55a7b82841d96bf414ced2e1e912d4881c9ba2f7b74f0ff8aad636087f9d73
|
checksum=c431eb234dc83c7819e58f77dd2af973252c7750da1c9d125ddc94268f94f675
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir vala"
|
build_options="gir vala gtk_doc"
|
||||||
|
|
||||||
|
desc_option_gtk_doc="Build API docs via gtk-doc"
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
# gtk-doc generation is broken on cross
|
build_options_default+=" gtk_doc"
|
||||||
configure_args+=" --enable-gtk-doc"
|
|
||||||
hostmakedepends+=" gtk-doc"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -33,11 +33,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*) build_options_default+=" gir vala" ;;
|
*) build_options_default+=" gir vala" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_check() {
|
|
||||||
# Needs access to X
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
gtksourceview4-devel_package() {
|
gtksourceview4-devel_package() {
|
||||||
depends="gtk+3-devel libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
depends="gtk+3-devel libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -46,14 +41,12 @@ gtksourceview4-devel_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/glade
|
vmove usr/share/glade
|
||||||
|
vmove usr/share/gtk-doc
|
||||||
if [ "$build_option_vala" ]; then
|
if [ "$build_option_vala" ]; then
|
||||||
vmove usr/share/vala
|
vmove usr/share/vala
|
||||||
fi
|
fi
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove usr/share/gir-1.0
|
vmove usr/share/gir-1.0
|
||||||
fi
|
fi
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
vmove usr/share/gtk-doc
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue