void-packages/srcpkgs/gobject-introspection/template

53 lines
1.6 KiB
Text

# Template file for 'gobject-introspection'
pkgname=gobject-introspection
version=1.36.0
revision=1
build_style=gnu-configure
configure_args="--disable-tests --disable-static"
hostmakedepends="pkg-config flex"
makedepends="libffi-devel libglib-devel python-devel libxml2-devel cairo-devel libtool"
short_desc="Introspection system for GObject-based libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://live.gnome.org/GObjectInstrospection"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e3e76d9d428e7534761bf8cdf75338865a4b0872e8052bef51792744608b6383
long_desc="
The goal of the project is to describe the APIs and collect them in
a uniform, machine readable format."
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() {
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/share/gir-1.0
}
}
gobject-introspection_package() {
pycompile_dirs="usr/lib/${pkgname}/giscanner"
depends="libtool python libgirepository-devel"
pkg_install() {
vmove usr/bin
vmove usr/lib/${pkgname}
vmove usr/share/man
vmove usr/share/${pkgname}-1.0
}
}