void-packages/srcpkgs/tumbler/template

38 lines
1.3 KiB
Bash

# Template file for 'tumbler'
pkgname=tumbler
version=4.18.2
revision=2
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale
--disable-gstreamer-thumbnailer --enable-poppler-thumbnailer"
hostmakedepends="intltool pkg-config glib-devel perl"
makedepends="ffmpegthumbnailer-devel libglib-devel libgsf-devel libopenraw-devel
poppler-glib-devel libxfce4util-devel libgepub-devel freetype-devel
libcurl-devel"
short_desc="D-Bus Thumbnailer service"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://docs.xfce.org/xfce/tumbler/start"
distfiles="https://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=b530eec635eac7f898c0d8d3a3ff79d76a145d3bed3e786d54b1ec058132be7a
tumbler-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}
tumbler-plugins-extra_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - extra plugins (may use network)"
pkg_install() {
vmove usr/lib/tumbler-1/plugins/tumbler-cover-thumbnailer.so
vmove usr/lib/tumbler-1/plugins/tumbler-gepub-thumbnailer.so
}
}