40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'gedit'
|
|
pkgname=gedit
|
|
version=3.38.0
|
|
revision=1
|
|
build_helper="gir"
|
|
build_style=meson
|
|
pycompile_dirs="usr/lib/gedit/plugins"
|
|
configure_args="-Dplugins=true
|
|
$(vopt_bool gir vapi) $(vopt_bool gir introspection)"
|
|
hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl gettext
|
|
$(vopt_if gir vala)"
|
|
makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
|
|
libpeas-devel libsoup-devel tepl-devel $(vopt_if gir '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=46cf06806de58f6e5e95e34fd98ad0b2c0c50b3dae6d23ca57d16d5cc41856f8
|
|
shlib_provides="libgedit-3.38.so"
|
|
python_version=3
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
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
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gedit/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|