void-packages/srcpkgs/gobject-introspection/template
maxice8 598f37b472
gobject-introspection: update to 1.56.1.
Closes #13913.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-30 19:14:43 +02:00

43 lines
1.4 KiB
Bash

# Template file for 'gobject-introspection'
pkgname=gobject-introspection
version=1.56.1
revision=1
build_style=gnu-configure
configure_args="--disable-tests --disable-static"
hostmakedepends="flex libtool pkg-config"
makedepends="cairo-devel libxml2-devel python-devel"
depends="libgirepository-devel libtool"
short_desc="Introspection system for GObject-based libraries"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://live.gnome.org/GObjectInstrospection"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5b2875ccff99ff7baab63a34b67f8c920def240e178ff50add809e267d9ea24b
pycompile_dirs="usr/lib/${pkgname}/giscanner"
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
}
}