36 lines
1 KiB
Bash
36 lines
1 KiB
Bash
# Template build file for 'libgsf'.
|
|
pkgname=libgsf
|
|
version=1.14.32
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="libglib-devel libxml2-devel gdk-pixbuf-devel"
|
|
short_desc="Structured File Library"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://www.gnome.org/"
|
|
distfiles="${GNOME_SITE}/libgsf/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=13bf38b848c01e20eb89a48150b6f864434ee4dfbb6301ddf6f4080a36cd99e9
|
|
|
|
# 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="${makedepends} ${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
|
|
}
|
|
}
|