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