2009-11-17 16:29:21 +00:00
|
|
|
# Template file for 'gobject-introspection'
|
|
|
|
pkgname=gobject-introspection
|
2014-11-08 00:21:58 +00:00
|
|
|
version=1.42.0
|
2015-05-10 07:14:56 +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"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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-11-08 00:21:58 +00:00
|
|
|
checksum=3ba2edfad4f71d4f0de16960b5d5f2511335fa646b2c49bbb93ce5942b3f95f7
|
2015-01-13 13:56:26 +00:00
|
|
|
nocross=yes
|
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)"
|
2015-05-10 07:14:56 +00:00
|
|
|
depends="gir-freedesktop-${version}_${revision}"
|
2013-04-12 13:11:12 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|