void-packages/srcpkgs/gedit/template

35 lines
1.2 KiB
Bash

# Template file for 'gedit'
# keep major version in sync with gedit-plugins
pkgname=gedit
version=44.2
revision=2
build_helper="gir"
build_style=meson
pycompile_dirs="usr/lib/gedit/plugins"
configure_args="-Dgtk_doc=false"
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 amtk-devel tepl-devel"
depends="desktop-file-utils gsettings-desktop-schemas iso-codes"
short_desc="Text editor for GNOME"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Gedit"
changelog="https://gitlab.gnome.org/GNOME/gedit/-/raw/gedit-44/NEWS"
distfiles="${GNOME_SITE}/gedit/${version%.*}/gedit-${version}.tar.xz"
checksum=3bbb1b3775d4c277daf54aaab44b0eb83a4eb1f09f0391800041c9e56893ec11
python_version=3
shlib_provides="libgedit-44.so"
gedit-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel
gtksourceview4-devel libpeas-devel amtk-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
}
}