wok-6.x view tumbler/receipt @ rev 23837

Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:44:24 2020 +0000 (2020-06-01)
parents 67eaa5d164a4
children 17091bc7c301
line source
1 # SliTaz package receipt.
3 PACKAGE="tumbler"
4 VERSION="0.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="A D-Bus thumbnailing service based on the thumbnail management D-Bus specification."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://docs.xfce.org/xfce/thunar/tumbler"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler"
15 BUILD_DEPENDS="curl-dev dbus-glib-dev ffmpegthumbnailer-dev freetype-dev
16 gdk-pixbuf-dev glib-dev gst-plugins-base-dev jpeg-dev lcms-dev
17 libgio-dev libgsf-dev libpng-dev poppler-dev tiff-dev" # gstreamer-dev (v.1.0)
19 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --sysconfdir=/etc \
26 --enable-debug=no \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 mkdir -p $fs/usr/share/locale
38 cp -a $install/etc $fs
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/tumbler* $fs/usr/lib
41 cp -a $install/usr/share/dbus* $fs/usr/share
43 find $fs/usr/lib -name '*.la' -delete
45 # SliTaz locale settings
46 . $WOK/slitaz-i18n/stuff/locale-pack.conf
47 for lang in $LOCALE_PACK
48 do
49 langd=$install/usr/share/locale/$lang
50 [ -d $langd ] && cp -a $langd $fs/usr/share/locale
51 done
52 true
53 }