void-packages/srcpkgs/libgedit-gtksourceview/template

30 lines
1.0 KiB
Bash

# Template file for 'libgedit-gtksourceview'
pkgname=libgedit-gtksourceview
version=299.3.0
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dgtk_doc=false"
hostmakedepends="pkg-config glib-devel gettext"
makedepends="gtk+3-devel libxml2-devel"
checkdepends="xvfb-run"
short_desc="Source code editing widget"
maintainer="Matt Boehlke <mtboehlke@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview"
changelog="https://gitlab.gnome.org/World/gedit/libgedit-gtksourceview/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/libgedit-gtksourceview/${version%%.*}/libgedit-gtksourceview-${version}.tar.xz"
checksum=5ab049520010501e78ca4a19df96e2041412756ce90a3dde0a8a1ae6d88af052
make_check_pre="xvfb-run"
libgedit-gtksourceview-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libglib-devel gtk+3-devel libxml2-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}