wok-next view tumbler/receipt @ rev 20682
Remove aspell-* dictionary packages; add aspell-dicts: receipt produces different packages with different versions (require cookutils >= 1057)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 18 12:53:47 2018 +0300 (2018-05-18) |
parents | 10df65db91ad |
children | 690e7cc036d5 |
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="http://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="tumbler-plugin-cover tumbler-plugin-ffmpeg tumbler-plugin-font \
18 tumbler-plugin-gst tumbler-plugin-jpeg tumbler-plugin-odf \
19 tumbler-plugin-poppler tumbler-plugin-raw tumbler tumbler-dev"
21 compile_rules() {
22 # openraw v.0.0.9 - libopenraw-gnome-1.0.pc;
23 # openraw v.0.1.2 - libopenraw-gnome-0.1.pc (current, latest)
24 sed -i 's|libopenraw-gnome-1\.0|libopenraw-gnome-0.1|g' configure
26 ./configure \
27 --disable-debug \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 *-cover)
37 copy tumbler-cover-thumbnailer.so
38 DEPENDS="gdk-pixbuf glib libcurl tumbler"
39 CAT="graphics|cover video thumbnailer"
40 ;;
41 *-ffmpeg)
42 copy tumbler-ffmpeg-thumbnailer.so
43 DEPENDS="ffmpegthumbnailer gdk-pixbuf glib tumbler"
44 CAT="graphics|FFmpeg video thumbnailer"
45 ;;
46 *-font)
47 copy tumbler-font-thumbnailer.so
48 DEPENDS="freetype gdk-pixbuf glib tumbler"
49 CAT="graphics|font thumbnailer"
50 ;;
51 *-gst)
52 copy tumbler-gst-thumbnailer.so
53 DEPENDS="gdk-pixbuf glib gst1-plugins-base gstreamer1 tumbler"
54 CAT="graphics|GStreamer video thumbnailer"
55 ;;
56 *-jpeg)
57 copy tumbler-jpeg-thumbnailer.so
58 DEPENDS="gdk-pixbuf glib libjpeg-turbo tumbler"
59 CAT="graphics|JPEG thumbnailer"
60 ;;
61 *-odf)
62 copy tumbler-odf-thumbnailer.so
63 DEPENDS="gdk-pixbuf glib libgsf tumbler"
64 CAT="graphics|ODF thumbnailer"
65 ;;
66 *-poppler)
67 copy tumbler-poppler-thumbnailer.so
68 DEPENDS="cairo gdk-pixbuf glib poppler tumbler"
69 CAT="graphics|Poppler PDF/PS thumbnailer"
70 ;;
71 *-raw)
72 copy tumbler-raw-thumbnailer.so
73 DEPENDS="gdk-pixbuf glib libopenraw-gnome tumbler"
74 CAT="graphics|RAW thumbnailer"
75 ;;
76 tumbler)
77 copy @std @rm
78 DEPENDS="dbus dbus-glib gdk-pixbuf glib libpng16"
79 CAT="graphics|main package"
80 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
81 ;;
82 *-dev)
83 copy @dev
84 DEPENDS="tumbler tumbler-plugin-cover tumbler-plugin-ffmpeg \
85 tumbler-plugin-font tumbler-plugin-gst tumbler-plugin-jpeg \
86 tumbler-plugin-odf tumbler-plugin-poppler tumbler-plugin-raw \
87 glib-dev"
88 ;;
89 esac
90 TAGS="Xfce"
91 }