38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Template file for 'tumbler'
|
|
pkgname=tumbler
|
|
version=4.18.0
|
|
revision=1
|
|
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=4087f3af4ef31271d3f315421a2f1fe67e4fda7ad60bbab1f073627914dfcf00
|
|
|
|
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
|
|
}
|
|
}
|