void-packages/srcpkgs/caribou/template

47 lines
1.5 KiB
Bash

# Template file for 'caribou'
pkgname=caribou
version=0.4.21
revision=5
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-schemas-compile --disable-static --disable-gtk2-module
PYTHON=/usr/bin/python3"
hostmakedepends="pkg-config intltool python3-gobject-devel libxslt vala"
makedepends="vala-devel libxklavier-devel libgee08-devel python3-gobject-devel
clutter-devel gtk+3-devel libXtst-devel gir-freedesktop"
depends="python3-gobject python3-atspi python3-dbus gir-freedesktop at-spi2-atk
desktop-file-utils libcaribou>=${version}_${revision}"
short_desc="Alternative to the Gnome On-screen Keyboard"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://wiki.gnome.org/Projects/Caribou"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9c43d9f4bd30f4fea7f780d4e8b14f7589107c52e9cb6bd202bd0d1c2064de55
lib32disabled=yes
libcaribou_package() {
lib32disabled=yes
short_desc+=" - library"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove usr/share/caribou
vmove usr/lib/girepository-1.0
vmove "usr/lib/gtk*"
vmove "usr/lib/gnome-settings-daemon*"
}
}
caribou-devel_package() {
lib32disabled=yes
depends="libXtst-devel libgee08-devel libxklavier-devel gtk+3-devel
libxml2-devel libcaribou>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/vala
vmove "usr/lib/*.so"
}
}