New package: gtksourceview5-5.2.0
This commit is contained in:
parent
4a21c6e343
commit
3ef1233c58
4 changed files with 57 additions and 0 deletions
|
@ -3497,6 +3497,7 @@ liblqr-1.so.0 liblqr-0.4.2_1
|
|||
libmozjs-78.so.0 mozjs78-78.1.0_1
|
||||
libebur128.so.1 libebur128-1.2.4_1
|
||||
libgtksourceview-4.so.0 gtksourceview4-4.0.2_1
|
||||
libgtksourceview-5.so.0 gtksourceview5-5.2.0_1
|
||||
libwx_gtk3u_propgrid-3.0.so.0 wxWidgets-gtk3-3.0.4_1
|
||||
libwx_gtk3u_qa-3.0.so.0 wxWidgets-gtk3-3.0.4_1
|
||||
libwx_gtk3u_core-3.0.so.0 wxWidgets-gtk3-3.0.4_1
|
||||
|
|
1
srcpkgs/gtksourceview5-devel
Symbolic link
1
srcpkgs/gtksourceview5-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
gtksourceview5
|
52
srcpkgs/gtksourceview5/template
Normal file
52
srcpkgs/gtksourceview5/template
Normal file
|
@ -0,0 +1,52 @@
|
|||
# Template file for 'gtksourceview5'
|
||||
pkgname=gtksourceview5
|
||||
version=5.2.0
|
||||
revision=1
|
||||
wrksrc="gtksourceview-${version}"
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)
|
||||
$(vopt_bool gir vapi) $(vopt_bool gtk_doc gtk_doc)"
|
||||
hostmakedepends="glib-devel itstool libxslt pkg-config gtk4 gettext
|
||||
$(vopt_if gir vala) $(vopt_if gtk_doc gtk-doc)"
|
||||
makedepends="gtk4-devel libglib-devel libxml2-devel $(vopt_if gir vala)
|
||||
pcre2-devel"
|
||||
checkdepends="xvfb-run cantarell-fonts"
|
||||
short_desc="Text widget that extends GTK4 GtkTextView widget"
|
||||
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://wiki.gnome.org/Projects/GtkSourceView"
|
||||
changelog="https://gitlab.gnome.org/GNOME/gtksourceview/-/raw/gtksourceview-5-2/NEWS"
|
||||
distfiles="${GNOME_SITE}/gtksourceview/${version%.*}/gtksourceview-${version}.tar.xz"
|
||||
checksum=c9b34fa02654f56ce22fa08827d89db4ba81631b2e6d7d31ea65d13c729430e9
|
||||
|
||||
# Package build options
|
||||
build_options="gir gtk_doc"
|
||||
desc_option_gtk_doc="Build API docs via gtk-doc"
|
||||
build_options_default="gir"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default+=" gtk_doc"
|
||||
fi
|
||||
|
||||
do_check() {
|
||||
xvfb-run ninja -C build test
|
||||
}
|
||||
|
||||
gtksourceview5-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} gtk4-devel libglib-devel
|
||||
libxml2-devel pcre2-devel"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_gtk_doc" ]; then
|
||||
vmove usr/share/gtk-doc
|
||||
fi
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
vmove usr/share/vala
|
||||
fi
|
||||
}
|
||||
}
|
3
srcpkgs/gtksourceview5/update
Normal file
3
srcpkgs/gtksourceview5/update
Normal file
|
@ -0,0 +1,3 @@
|
|||
pkgname="gtksourceview"
|
||||
pattern="$pkgname-\K5\.[0-9]*[02468]\.[0-9]*(?=)"
|
||||
ignore="*.99"
|
Loading…
Reference in a new issue