39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'libgedit-gfls'
|
|
pkgname=libgedit-gfls
|
|
version=0.2.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="$(vopt_bool gir gobject_introspection) $(vopt_bool gtk_doc gtk_doc)"
|
|
hostmakedepends="gettext glib-devel pkg-config $(vopt_if gtk_doc gtk-doc)"
|
|
makedepends="gtk+3-devel"
|
|
short_desc="Module dedicated to file loading and saving"
|
|
maintainer="chrysos349 <chrysostom349@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.gnome.org/World/gedit/libgedit-gfls"
|
|
distfiles="${GNOME_SITE}/libgedit-gfls/${version%.*}/libgedit-gfls-${version}.tar.xz"
|
|
checksum=c88bc2bbf1ec1155b61766f372ac44a7f272792234b86e8ad5ea4f7365171acb
|
|
|
|
build_options="gir gtk_doc"
|
|
build_options_default="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gtk_doc"
|
|
fi
|
|
|
|
libgedit-gfls-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - developement files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
if [ "$build_option_gtk_doc" ]; then
|
|
vmove usr/share/gtk-doc
|
|
fi
|
|
}
|
|
}
|