void-packages/srcpkgs/gedit/template
2021-12-17 00:25:56 +01:00

31 lines
1 KiB
Bash

# Template file for 'gedit'
pkgname=gedit
version=40.1
revision=2
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 tepl-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=55e394a82cb65678b1ab49526cf5bd43f00d8fba21476a4849051a8e137d3691
shlib_provides="libgedit-40.0.so"
python_version=3
gedit-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtksourceview4-devel
libpeas-devel tepl-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
}
}