38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Template file for 'tumbler'
|
|
pkgname=tumbler
|
|
version=4.18.1
|
|
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=ff61981a9c0af5fec768d4f1552bd63948a64b2f4db1c2e3d93c31c19dc563a0
|
|
|
|
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
|
|
}
|
|
}
|