libgtop: enable gir
This commit is contained in:
parent
82aa9e50e4
commit
c55b53a554
1 changed files with 11 additions and 9 deletions
|
@ -1,25 +1,27 @@
|
|||
# Template build file for 'libgtop'.
|
||||
# Template file for 'libgtop'
|
||||
pkgname=libgtop
|
||||
version=2.38.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="--with-libgtop-smp $(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="libglib-devel libXau-devel"
|
||||
short_desc="Library to retrieve system information, used in GNOME"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
homepage="http://www.gnome.org/"
|
||||
license="LGPL-2.1"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
homepage="http://www.gnome.org/"
|
||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||
checksum=4f6c0e62bb438abfd16b4559cd2eca0251de19e291c888cdc4dc88e5ffebb612
|
||||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
libgtop-devel_package() {
|
||||
depends="libglib-devel libXau-devel ${sourcepkg}>=${version}_${revision}"
|
||||
|
|
Loading…
Reference in a new issue