void-packages/srcpkgs/gloobus-preview/template

29 lines
1.1 KiB
Bash

# Template file for 'gloobus-preview'
pkgname=gloobus-preview
version=2015.12.21
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
cairo-devel gstreamer1-devel gst-plugins-base1-devel gst-plugins-bad1-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"
short_desc="GNOME's extension to preview all kinds of file"
maintainer="Antonio Malcolm <antonio@antoniomalcolm.com>"
license="GPL-3.0-only"
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() {
vsed -i '/ACX_PTHREAD()/d' configure.ac
autoreconf -fi
}