45 lines
1.5 KiB
Bash
45 lines
1.5 KiB
Bash
|
# Template file for 'libgedit-tepl'
|
||
|
pkgname=libgedit-tepl
|
||
|
version=6.10.0
|
||
|
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="libgedit-amtk-devel libglib-devel libgedit-gtksourceview-devel gtk+3-devel
|
||
|
libxml2-devel uchardet-devel gsettings-desktop-schemas-devel
|
||
|
libgedit-gfls-devel libhandy1-devel"
|
||
|
checkdepends="xvfb-run"
|
||
|
short_desc="Text editor product line"
|
||
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||
|
license="LGPL-3.0-or-later"
|
||
|
homepage="https://github.com/gedit-technology/libgedit-tepl"
|
||
|
changelog="https://raw.githubusercontent.com/gedit-technology/libgedit-tepl/main/NEWS"
|
||
|
distfiles="https://github.com/gedit-technology/libgedit-tepl/archive/${version}.tar.gz"
|
||
|
#distfiles="${GNOME_SITE}/tepl/${version%.*}/tepl-${version}.tar.xz"
|
||
|
checksum=44e120c9915a93362190f83161dd4dd37f3318d4f68b763dc6079edd5f8a470b
|
||
|
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
|
||
|
|
||
|
libgedit-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
|
||
|
}
|
||
|
}
|