void-packages/srcpkgs/gnome-documents/template

30 lines
1018 B
Bash

# Template file for 'gnome-documents'
pkgname=gnome-documents
version=3.28.1
revision=1
build_style=meson
hostmakedepends="docbook-xsl intltool itstool pkg-config
$(vopt_if gir 'gobject-introspection')"
makedepends="clutter-gtk-devel evince-devel gjs-devel gnome-desktop-devel
libgdata-devel libgepub-devel librsvg-devel libzapojit-devel tracker-devel
vala-devel webkit2gtk-devel"
depends="desktop-file-utils hicolor-icon-theme libgepub tracker tracker-miners"
short_desc="Documents Manager for GNOME"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Documents"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=f50226f3c08dc7e2069d3365335fc1ab187b0939f04ab55e97aca7b70c111ac4
lib32disabled=yes
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libgepub-0.6/"
LDFLAGS="-lgepub-0.6"
pre_configure() {
sed '/libgepub-0.6/d' -i meson.build;
}