void-packages/srcpkgs/colord-gtk/template

33 lines
1.0 KiB
Bash

# Template file for 'colord-gtk'
pkgname=colord-gtk
version=0.1.26
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --disable-schemas-compile $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool glib-devel vala-devel $(vopt_if gir gobject-introspection)"
makedepends="colord-devel gtk+3-devel"
short_desc="GTK support library for colord"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.freedesktop.org/software/colord"
distfiles="${FREEDESKTOP_SITE}/colord/releases/${pkgname}-${version}.tar.xz"
checksum=28d00b7f157ea3e2ea5315387b2660fde82faba16674861c50465e55d61a3e45
# Package build options
build_options="gir"
build_options_default="gir"
colord-gtk-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}