void-packages/srcpkgs/libgsf/template
maxice8 e75ed5f366 libgsf: update to 1.14.43.
Closes #13654.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-20 17:33:21 +02:00

37 lines
1 KiB
Bash

# Template build file for 'libgsf'.
pkgname=libgsf
version=1.14.43
revision=1
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="glib-devel intltool pkg-config
$(vopt_if gir 'gobject-introspection')"
makedepends="gdk-pixbuf-devel libxml2-devel"
short_desc="Structured File Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gnome.org/"
distfiles="${GNOME_SITE}/libgsf/${version%.*}/$pkgname-$version.tar.xz"
checksum=12944e3d6d9a6e4071e89dbf58348e1e93544f5f9266dd1a107a28d8001cee16
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libgsf-devel_package() {
depends="libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}