colord-gtk: fix building vala bindings

This commit is contained in:
Michal Vasilek 2021-11-13 15:41:10 +01:00 committed by paper
parent c863b02ca3
commit 3bcfb54203
1 changed files with 6 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'colord-gtk'
pkgname=colord-gtk
version=0.2.0
revision=1
revision=2
build_style=meson
build_helper=gir
configure_args="-Dtests=false -Dvala=$(vopt_if vala true false)
configure_args="-Dtests=false -Dvapi=$(vopt_if vala true false)
-Ddocs=$(vopt_if docs true false) -Dman=$(vopt_if man true false)"
hostmakedepends="pkg-config intltool glib-devel libxslt
$(vopt_if docs gtk-doc) $(vopt_if vala vala-devel)
@ -13,7 +13,7 @@ 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"
homepage="https://github.com/hughsie/colord-gtk"
distfiles="${FREEDESKTOP_SITE}/colord/releases/${pkgname}-${version}.tar.xz"
checksum=2a4cfae08bc69f000f40374934cd26f4ae86d286ce7de89f1622abc59644c717
@ -30,5 +30,8 @@ colord-gtk-devel_package() {
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}