gloobus-preview: conditionally depend on unoconv

This commit is contained in:
Piraty 2021-01-28 00:59:14 +01:00
parent b19919bed3
commit a250c6a060
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077

View File

@ -1,7 +1,7 @@
# Template file for 'gloobus-preview'
pkgname=gloobus-preview
version=2015.12.21
revision=6
revision=7
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python3 gettext-devel xz"
makedepends="gettext-devel boost-devel gtk+3-devel gtksourceview-devel
@ -9,7 +9,7 @@ makedepends="gettext-devel boost-devel gtk+3-devel gtksourceview-devel
poppler-glib-devel libspectre-devel djvulibre-devel libgxps-devel
freetype-devel glib-devel libX11-devel libarchive-devel"
depends="python3-dbus python3-gobject gst-libav gst-plugins-good1
gst-plugins-bad1 gst-plugins-ugly1 ImageMagick unoconv"
gst-plugins-bad1 gst-plugins-ugly1 ImageMagick"
short_desc="GNOME's extension to preview all kinds of file"
maintainer="Antonio Malcolm <antonio@antoniomalcolm.com>"
license="GPL-3.0-only"
@ -17,6 +17,11 @@ homepage="https://github.com/antonio-malcolm/gloobus-preview"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=c43f1ed00ccc3603042abb78b871665ff6c6a89987d7f854b9b4254b7cf9d86c
if [ -z "$CROSS_BUILD" ]; then
# unoconv depends in libreoffice, which is nocross
depends+=" unoconv"
fi
pre_configure() {
autoreconf -fi
}