wok-next view tumbler/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 8f22b3b666d1 |
children | e6615350078d |
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://www.openhub.net/p/tumbler"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="intltool gtk-doc 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 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-debug \
30 --enable-gtk-doc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 *-cover)
39 copy tumbler-cover-thumbnailer.so
40 DEPENDS="tumbler libcrypto libcurl libidn2 libssh2 libssl"
41 CAT="graphics|cover video thumbnailer"
42 ;;
43 *-ffmpeg)
44 copy tumbler-ffmpeg-thumbnailer.so
45 DEPENDS="tumbler ffmpegthumbnailer"
46 CAT="graphics|FFmpeg video thumbnailer"
47 ;;
48 *-font)
49 copy tumbler-font-thumbnailer.so
50 DEPENDS="tumbler bzlib freetype libharfbuzz"
51 CAT="graphics|font thumbnailer"
52 ;;
53 *-gst)
54 copy tumbler-gst-thumbnailer.so
55 DEPENDS="tumbler gst1-plugins-base gstreamer1"
56 CAT="graphics|GStreamer video thumbnailer"
57 ;;
58 *-jpeg)
59 copy tumbler-jpeg-thumbnailer.so
60 DEPENDS="tumbler libjpeg-turbo"
61 CAT="graphics|JPEG thumbnailer"
62 ;;
63 *-odf)
64 copy tumbler-odf-thumbnailer.so
65 DEPENDS="tumbler bzlib libgsf liblzma libxml2"
66 CAT="graphics|ODF thumbnailer"
67 ;;
68 *-poppler)
69 copy tumbler-poppler-thumbnailer.so
70 DEPENDS="tumbler bzlib cairo fontconfig freetype lcms2 libharfbuzz \
71 libjpeg-turbo liblzma libxml2 poppler tiff xorg-libX11 xorg-libXau \
72 xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman"
73 CAT="graphics|Poppler PDF/PS thumbnailer"
74 ;;
75 *-raw)
76 copy tumbler-raw-thumbnailer.so
77 DEPENDS="tumbler libjpeg-turbo libopenraw libopenraw-gnome"
78 CAT="graphics|RAW thumbnailer"
79 ;;
80 tumbler)
81 copy @std @rm
82 DEPENDS="dbus dbus-glib gdk-pixbuf glib libffi libpng16 pcre \
83 util-linux-blkid util-linux-mount util-linux-uuid zlib"
84 CAT="graphics|main package"
85 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
86 ;;
87 *-dev)
88 copy @dev
89 DEPENDS="tumbler bzip2-dev cairo-dev curl-dev \
90 ffmpegthumbnailer-dev fontconfig-dev freetype-dev gdk-pixbuf-dev \
91 glib-dev gst1-plugins-base-dev gstreamer1-dev harfbuzz-dev \
92 libjpeg-turbo-dev lcms2-dev libffi-dev libgsf-dev libidn2-dev \
93 libopenraw-dev libpng16-dev libssh2-dev libxml2-dev openssl-dev \
94 pcre-dev poppler-dev tiff-dev util-linux-blkid-dev \
95 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
96 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
97 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
98 ;;
99 esac
100 TAGS="Xfce"
101 }