wok-next view tumbler/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 6f5739796e82 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tumbler"
4 VERSION="0.1.31" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
5 CATEGORY="graphics"
6 SHORT_DESC="D-Bus thumbnailing service"
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 BUILD_DEPENDS="intltool dbus-glib dbus-dev dbus-glib-dev \
15 gdk-pixbuf-dev curl-dev freetype-dev libjpeg-turbo-dev ffmpegthumbnailer-dev \
16 gst1-plugins-base-dev libgsf-dev poppler-dev libopenraw-dev lcms2-dev"
17 SPLIT="\
18 $PACKAGE-plugin-cover $PACKAGE-plugin-ffmpeg $PACKAGE-plugin-font \
19 $PACKAGE-plugin-gst $PACKAGE-plugin-jpeg $PACKAGE-plugin-odf \
20 $PACKAGE-plugin-poppler $PACKAGE-plugin-raw $PACKAGE \
21 $PACKAGE-dev"
23 compile_rules() {
24 # openraw v.0.0.9 - libopenraw-gnome-1.0.pc;
25 # openraw v.0.1.2 - libopenraw-gnome-0.1.pc (current, latest)
26 sed -i 's|libopenraw-gnome-1\.0|libopenraw-gnome-0.1|g' configure
28 ./configure \
29 --disable-debug \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 *-cover)
39 copy tumbler-cover-thumbnailer.so
40 DEPENDS="gdk-pixbuf glib libcurl tumbler"
41 CAT="graphics|cover video thumbnailer"
42 ;;
43 *-ffmpeg)
44 copy tumbler-ffmpeg-thumbnailer.so
45 DEPENDS="ffmpegthumbnailer gdk-pixbuf glib tumbler"
46 CAT="graphics|FFmpeg video thumbnailer"
47 ;;
48 *-font)
49 copy tumbler-font-thumbnailer.so
50 DEPENDS="freetype gdk-pixbuf glib tumbler"
51 CAT="graphics|font thumbnailer"
52 ;;
53 *-gst)
54 copy tumbler-gst-thumbnailer.so
55 DEPENDS="gdk-pixbuf glib gst1-plugins-base gstreamer1 tumbler"
56 CAT="graphics|GStreamer video thumbnailer"
57 ;;
58 *-jpeg)
59 copy tumbler-jpeg-thumbnailer.so
60 DEPENDS="gdk-pixbuf glib libjpeg-turbo tumbler"
61 CAT="graphics|JPEG thumbnailer"
62 ;;
63 *-odf)
64 copy tumbler-odf-thumbnailer.so
65 DEPENDS="gdk-pixbuf glib libgsf tumbler"
66 CAT="graphics|ODF thumbnailer"
67 ;;
68 *-poppler)
69 copy tumbler-poppler-thumbnailer.so
70 DEPENDS="libcairo gdk-pixbuf glib libpoppler tumbler"
71 CAT="graphics|Poppler PDF/PS thumbnailer"
72 ;;
73 *-raw)
74 copy tumbler-raw-thumbnailer.so
75 DEPENDS="gdk-pixbuf glib libopenraw-gnome tumbler"
76 CAT="graphics|RAW thumbnailer"
77 ;;
78 tumbler)
79 copy @std @rm
80 DEPENDS="dbus dbus-glib gdk-pixbuf glib libpng"
81 CAT="graphics|main package"
82 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
83 ;;
84 *-dev)
85 copy @dev
86 DEPENDS="tumbler tumbler-plugin-cover tumbler-plugin-ffmpeg \
87 tumbler-plugin-font tumbler-plugin-gst tumbler-plugin-jpeg \
88 tumbler-plugin-odf tumbler-plugin-poppler tumbler-plugin-raw \
89 glib-dev"
90 ;;
91 esac
92 TAGS="Xfce"
93 }