42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Template file for 'gedit'
|
|
pkgname=gedit
|
|
version=3.32.0
|
|
revision=2
|
|
build_helper="gir"
|
|
build_style=meson
|
|
pycompile_module="gi/overrides"
|
|
pycompile_dirs="usr/lib/gedit/plugins"
|
|
configure_args="-Dplugins=true -Dvapi=$(vopt_if vala true false)
|
|
-Dintrospection=$(vopt_if gir true false)"
|
|
hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl $(vopt_if vala vala)"
|
|
makedepends="gsettings-desktop-schemas-devel gspell-devel gtksourceview4-devel
|
|
libpeas-devel libsoup-devel $(vopt_if gir 'python-gobject-devel')"
|
|
depends="desktop-file-utils gsettings-desktop-schemas
|
|
iso-codes"
|
|
short_desc="Text editor for GNOME"
|
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/Apps/Gedit"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c9e2e2a865c962ef172892a5d3459dc834871761ae6456b68436b3b577f22ad3
|
|
shlib_provides="libgedit-3.14.so"
|
|
|
|
nocross=yes
|
|
|
|
build_options="gir vala"
|
|
build_options_default="gir vala"
|
|
|
|
gedit-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} gtksourceview-devel libpeas-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
|
|
fi
|
|
if [ "$build_option_vala" ]; then
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|