2009-04-21 21:29:15 +00:00
|
|
|
# Template build file for 'libgsf'.
|
|
|
|
pkgname=libgsf
|
2015-02-06 22:14:32 +00:00
|
|
|
version=1.14.31
|
2014-03-27 09:28:55 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2015-02-06 22:14:32 +00:00
|
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
2013-04-13 08:15:49 +00:00
|
|
|
makedepends="libglib-devel libxml2-devel gdk-pixbuf-devel"
|
2013-03-01 03:49:33 +00:00
|
|
|
short_desc="Structured File Library"
|
2009-04-21 21:29:15 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-17 16:57:04 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-09-12 18:47:16 +00:00
|
|
|
homepage="http://www.gnome.org/"
|
2014-03-27 09:28:55 +00:00
|
|
|
distfiles="${GNOME_SITE}/libgsf/${version%.*}/$pkgname-$version.tar.xz"
|
2015-02-06 22:14:32 +00:00
|
|
|
checksum=ec8f48059fc56ff4cb3757ba53fe43eea3c51e21254d4416448102ffa4057982
|
2013-04-13 08:15:49 +00:00
|
|
|
|
2014-02-16 09:36:46 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libgsf-devel_package() {
|
2014-02-16 09:36:46 +00:00
|
|
|
depends="libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
2013-06-24 08:31:42 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 08:16:54 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share/gtk-doc
|
2014-02-16 09:36:46 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|