2011-03-03 14:12:54 +01:00
|
|
|
# Template file for 'libgee'
|
|
|
|
pkgname=libgee
|
2014-03-22 19:17:00 +01:00
|
|
|
version=0.6.8
|
2014-03-22 19:28:00 +01:00
|
|
|
revision=5
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-12-11 07:34:58 +01:00
|
|
|
configure_args="--disable-static"
|
2014-02-16 09:07:46 +01:00
|
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
2013-04-13 10:15:49 +02:00
|
|
|
makedepends="libglib-devel vala-devel"
|
2011-03-03 14:12:54 +01:00
|
|
|
short_desc="GObject collection library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-09 22:54:47 +01:00
|
|
|
license="LGPL-2.1"
|
2012-08-07 09:12:33 +02:00
|
|
|
homepage="http://live.gnome.org/Libgee"
|
2014-03-22 19:17:00 +01:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.xz"
|
|
|
|
checksum=a61f8d796173d41f6144a030d4bd22461f0bb3fa18a3ebe02341b315feebf5d3
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-02-16 09:07:46 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libgee-devel_package() {
|
2014-02-16 09:07:46 +01:00
|
|
|
depends="glib-devel ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-16 09:07:46 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|