# Maintainer: twa022 <twa022 at gmail dot com> # Contributor: Frederic Bezies <fredbezies at gmail dot com> # Contributor:Limao Luo <luolimao+AUR@gmail.com> _pkgname=tumbler pkgname=${_pkgname}-git pkgver=4.19.1+7+g6adedd8 pkgrel=1 pkgdesc="D-Bus service for applications to request thumbnails (git checkout)" arch=('i686' 'x86_64' 'aarch64' 'armv7h') url="https://docs.xfce.org/xfce/tumbler/start" license=('GPL2' 'LGPL') groups=('xfce4-git') depends=('gdk-pixbuf2' 'libxfce4util') makedepends=('ffmpegthumbnailer' 'freetype2' 'libgsf' 'libopenraw' 'poppler-glib' 'libgepub' 'xfce4-dev-tools' 'git' 'glib2-devel') optdepends=('ffmpegthumbnailer: for video thumbnails' 'poppler-glib: for PDF thumbnails' 'libgsf: for ODF thumbnails' 'libopenraw: for RAW thumbnails' 'freetype2: for font thumbnails' 'libgepub: for epub thumbnails') provides=("${_pkgname}=${pkgver%%+*}") conflicts=("${_pkgname}") source=("${_pkgname}"::git+https://gitlab.xfce.org/xfce/tumbler.git) sha256sums=('SKIP') pkgver() { cd "${_pkgname}" git describe --long --tags | sed -r "s:^${_pkgname}.::;s/^v//;s/^xfce-//;s/-/+/g" } build() { cd "${_pkgname}" ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --disable-debug \ --disable-gstreamer-thumbnailer make } package() { cd "${_pkgname}" make DESTDIR="${pkgdir}" install }