void-packages/srcpkgs/gedit/template

35 lines
1.3 KiB
Bash

# Template file for 'gedit'
# keep major version in sync with gedit-plugins
pkgname=gedit
version=46.2
revision=1
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
gtk-update-icon-cache desktop-file-utils"
makedepends="gsettings-desktop-schemas-devel gspell-devel libgedit-gtksourceview-devel
libpeas-devel python3-gobject-devel libgedit-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/${version}/NEWS"
distfiles="${GNOME_SITE}/gedit/${version%.*}/gedit-${version}.tar.xz"
checksum=c0866412bad147ebace2d282ffcbb5a0e9a304b20fd55640bee21c81e6d501ef
python_version=3
shlib_provides="libgedit-46.so"
gedit-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel
libgedit-gtksourceview-devel libpeas-devel libgedit-amtk-devel tepl-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gedit/gir-1.0
}
}