void-packages/srcpkgs/libgedit-gtksourceview/template

30 lines
1.0 KiB
Bash

# Template file for 'libgedit-gtksourceview'
pkgname=libgedit-gtksourceview
version=299.2.1
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://gedit-technology.github.io"
changelog="https://raw.githubusercontent.com/gedit-technology/libgedit-gtksourceview/main/NEWS"
distfiles="https://github.com/gedit-technology/libgedit-gtksourceview/releases/download/${version}/libgedit-gtksourceview-${version}.tar.xz"
checksum=f94ea579636d73b4a783b9ec43d77bc9a43d4b633b3bf9ba9d7a011cadb5cb92
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
}
}