43 lines
1.3 KiB
Bash
43 lines
1.3 KiB
Bash
# Template file for 'tepl'
|
|
pkgname=tepl
|
|
version=6.1.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="$(vopt_bool gir gobject_introspection) $(vopt_bool gtk_doc gtk_doc)"
|
|
hostmakedepends="glib-devel pkg-config gettext $(vopt_if gtk_doc gtk-doc)"
|
|
makedepends="amtk-devel libglib-devel gtksourceview4-devel gtk+3-devel
|
|
libxml2-devel uchardet-devel gsettings-desktop-schemas-devel"
|
|
checkdepends="xvfb-run"
|
|
short_desc="Text editor product line"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/Tepl"
|
|
changelog="https://gitlab.gnome.org/swilmet/tepl/-/raw/main/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=a0fbcbcf82dbcb031e1cbea286ab3edc70d5a6ea4125038242a1b1d3ff0278aa
|
|
make_check_pre="xvfb-run"
|
|
|
|
build_options="gir gtk_doc"
|
|
build_options_default="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gtk_doc"
|
|
fi
|
|
|
|
tepl-devel_package() {
|
|
depends="${makedepends} ${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
|
|
}
|
|
}
|