32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Template file for 'gnome-documents'
|
|
pkgname=gnome-documents
|
|
version=3.28.0
|
|
revision=1
|
|
lib32disabled=yes
|
|
build_style=meson
|
|
hostmakedepends="pkg-config intltool itstool docbook-xsl $(vopt_if gir gobject-introspection)"
|
|
makedepends="
|
|
clutter-gtk-devel gnome-desktop-devel libzapojit-devel
|
|
gnome-online-accounts-devel libgdata-devel tracker-devel
|
|
evince-devel gjs-devel libsoup-gnome-devel vala-devel
|
|
webkit2gtk-devel librsvg-devel libgepub-devel"
|
|
depends="desktop-file-utils hicolor-icon-theme libgepub
|
|
tracker tracker-miners"
|
|
short_desc="Documents Manager for GNOME"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
homepage="https://wiki.gnome.org/Apps/Documents"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=0a320e9713c2ebbf345f9865e19ba7a4e56ecc144da3bdd74000c8345f2a989c
|
|
|
|
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;
|
|
}
|