void-packages/srcpkgs/gnome-clocks/template

25 lines
905 B
Bash

# Template file for 'gnome-clocks'
pkgname=gnome-clocks
version=3.28.0
revision=1
build_style=meson
hostmakedepends="pkg-config intltool itstool glib $(vopt_if gir gobject-introspection) vala"
makedepends="glib-devel vala-devel gnome-desktop-devel
libgweather-devel libcanberra-devel libnotify-devel gsound-devel
geocode-glib-devel desktop-file-utils hicolor-icon-theme
geoclue2-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Clock application for the GNOME Desktop"
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="https://live.gnome.org/GnomeClocks"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d48e0bd0479b575adfc7beaa7cd9088258ee27142ab6305915a92cc8761aa7b5
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
else
hostmakedepends+=" gsound-devel libgweather-devel glib-devel"
fi