# Maintainer: Kevin Daudt pkgname=colord-gtk pkgver=0.2.0 pkgrel=2 pkgdesc="GTK support library for colord" options="!check" # Requires bus session url="https://www.freedesktop.org/software/colord/" # s390x, mips64 and riscv64 blocked by polkit -> colord arch="all !s390x !mips64 !riscv64" license="LGPL-2.1-or-later" makedepends="meson intltool glib-dev gtk+3.0-dev colord-dev lcms2-dev" checkdepends="xvfb-run" subpackages="$pkgname-dev" source="https://www.freedesktop.org/software/colord/releases/colord-gtk-$pkgver.tar.xz" build() { abuild-meson \ -Dgtk2=false \ -Dvapi=true \ -Dtests=true \ -Dman=false \ -Ddocs=false \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { xvfb-run meson test --no-rebuild -v -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="797eebfd4451fcae4cf70835f5de3d9bdc9e8401ddb82a2fef2310002f28bf523b599c587ff35eb89ceff38a245a6311129ad90b107f837ac4f42f268c9aad97 colord-gtk-0.2.0.tar.xz"