void-packages/srcpkgs/gedit/template
2022-02-19 14:46:45 +01:00

31 lines
1 KiB
Bash

# Template file for 'gedit'
pkgname=gedit
version=41.0
revision=1
build_helper="gir"
build_style=meson
pycompile_dirs="usr/lib/gedit/plugins"
hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl gettext vala"
makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
libpeas-devel python3-gobject-devel"
depends="desktop-file-utils gsettings-desktop-schemas iso-codes"
short_desc="Text editor for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Gedit"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=7a9b18b158808d1892989165f3706c4f1a282979079ab7458a79d3c24ad4deb5
shlib_provides="libgedit-41.so"
python_version=3
gedit-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtksourceview4-devel
libpeas-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gedit/gir-1.0
vmove usr/share/vala
}
}