void-packages/srcpkgs/gobject-introspection/template
2015-05-25 08:53:28 +02:00

43 lines
1.4 KiB
Bash

# Template file for 'gobject-introspection'
pkgname=gobject-introspection
version=1.44.0
revision=1
build_style=gnu-configure
configure_args="--disable-tests --disable-static"
hostmakedepends="pkg-config flex libtool"
makedepends="libffi-devel libglib-devel python-devel libxml2-devel cairo-devel"
depends="libtool python libgirepository-devel"
pycompile_dirs="usr/lib/${pkgname}/giscanner"
short_desc="Introspection system for GObject-based libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://live.gnome.org/GObjectInstrospection"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6f0c2c28aeaa37b5037acbf21558098c4f95029b666db755d3a12c2f1e1627ad
nocross=yes
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)"
depends="gir-freedesktop-${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libgirepository-devel_package() {
depends="cairo-devel libffi-devel libglib-devel libgirepository>=${version}_${revision}"
short_desc="Library for handling GObject introspection data (development files)"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}