void-packages/srcpkgs/gedit/template

35 lines
1.2 KiB
Bash

# Template file for 'gedit'
# keep major version in sync with gedit
pkgname=gedit
version=43.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 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="Michal Vasilek <michal@vasilek.cz>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Gedit"
changelog="https://gitlab.gnome.org/GNOME/gedit/-/raw/gedit-43/NEWS"
distfiles="${GNOME_SITE}/gedit/${version%.*}/gedit-${version}.tar.xz"
checksum=f950d2d35c594bb6c8dbc9f5440cad7788ca0a8688e2b07846f83de9a4e3fc25
python_version=3
shlib_provides="libgedit-43.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
}
}