2009-11-17 16:29:21 +00:00
|
|
|
# Template file for 'gobject-introspection'
|
|
|
|
pkgname=gobject-introspection
|
2014-03-27 07:22:03 +00:00
|
|
|
version=1.40.0
|
2014-06-06 03:22:23 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-09-25 12:23:20 +00:00
|
|
|
configure_args="--disable-tests --disable-static"
|
2014-02-20 08:11:28 +00:00
|
|
|
hostmakedepends="pkg-config flex libtool"
|
|
|
|
makedepends="libffi-devel libglib-devel python-devel libxml2-devel cairo-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="libtool python libgirepository-devel"
|
|
|
|
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
2009-11-17 16:29:21 +00:00
|
|
|
short_desc="Introspection system for GObject-based libraries"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-28 12:41:50 +00:00
|
|
|
homepage="http://live.gnome.org/GObjectInstrospection"
|
2012-09-25 12:23:20 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-03-28 06:43:35 +00:00
|
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
2014-03-27 07:22:03 +00:00
|
|
|
checksum=96ea75e9679083e7fe39a105e810e2ead2d708abf189a5ba420bfccfffa24e98
|
2009-11-17 16:29:21 +00:00
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gir-freedesktop_package() {
|
|
|
|
short_desc="Introspection data for some FreeDesktop components"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libgirepository_package() {
|
|
|
|
short_desc="Library for handling GObject introspection data (runtime library)"
|
|
|
|
replaces="gobject-introspection<0.6.10"
|
|
|
|
pkg_install() {
|
2013-09-25 08:13:30 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libgirepository-devel_package() {
|
2014-02-20 08:11:28 +00:00
|
|
|
depends="cairo-devel libffi-devel libglib-devel libgirepository>=${version}_${revision}"
|
2013-04-12 13:11:12 +00:00
|
|
|
short_desc="Library for handling GObject introspection data (development files)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-25 08:13:30 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
}
|