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