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=47.0
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 libgedit-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=fa4a597e34c76d4ac91431b5ae6e191c96c6b0af1702e0899ab35199edfa1bfa
python_version=3
shlib_provides="libgedit-47.so"
gedit-devel_package() {
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel
libgedit-gtksourceview-devel libpeas-devel libgedit-amtk-devel libgedit-tepl-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gedit/gir-1.0
}
}