wok-next annotate tumbler/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents 10df65db91ad
children 690e7cc036d5
rev   line source
al@19825 1 # SliTaz package receipt v2.
pascal@14379 2
pascal@14379 3 PACKAGE="tumbler"
al@20120 4 VERSION="0.1.31" # Xfce release 4.12: http://archive.xfce.org/xfce/4.12/src/
al@20120 5 CATEGORY="graphics"
al@20120 6 SHORT_DESC="D-Bus thumbnailing service"
pascal@14379 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2 LGPL2.1"
al@20624 9 WEB_SITE="http://docs.xfce.org/xfce/thunar/tumbler"
al@19825 10
pascal@14379 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19825 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@14379 13
al@20624 14 BUILD_DEPENDS="intltool dbus-glib dbus-dev dbus-glib-dev \
al@20120 15 gdk-pixbuf-dev curl-dev freetype-dev libjpeg-turbo-dev ffmpegthumbnailer-dev \
al@20120 16 gst1-plugins-base-dev libgsf-dev poppler-dev libopenraw-dev lcms2-dev"
al@20120 17 SPLIT="tumbler-plugin-cover tumbler-plugin-ffmpeg tumbler-plugin-font \
al@20120 18 tumbler-plugin-gst tumbler-plugin-jpeg tumbler-plugin-odf \
al@20120 19 tumbler-plugin-poppler tumbler-plugin-raw tumbler tumbler-dev"
pascal@14379 20
al@20120 21 compile_rules() {
al@20120 22 # openraw v.0.0.9 - libopenraw-gnome-1.0.pc;
al@20120 23 # openraw v.0.1.2 - libopenraw-gnome-0.1.pc (current, latest)
al@20120 24 sed -i 's|libopenraw-gnome-1\.0|libopenraw-gnome-0.1|g' configure
al@20120 25
pascal@14379 26 ./configure \
al@20120 27 --disable-debug \
pascal@14379 28 $CONFIGURE_ARGS &&
al@20604 29 fix libtool &&
pascal@14379 30 make &&
pascal@14379 31 make install
pascal@14379 32 }
pascal@14379 33
al@20120 34 genpkg_rules() {
al@19825 35 case $PACKAGE in
al@20120 36 *-cover)
al@20120 37 copy tumbler-cover-thumbnailer.so
al@20624 38 DEPENDS="gdk-pixbuf glib libcurl tumbler"
al@20120 39 CAT="graphics|cover video thumbnailer"
al@20120 40 ;;
al@20120 41 *-ffmpeg)
al@20120 42 copy tumbler-ffmpeg-thumbnailer.so
al@20624 43 DEPENDS="ffmpegthumbnailer gdk-pixbuf glib tumbler"
al@20120 44 CAT="graphics|FFmpeg video thumbnailer"
al@20120 45 ;;
al@20120 46 *-font)
al@20120 47 copy tumbler-font-thumbnailer.so
al@20624 48 DEPENDS="freetype gdk-pixbuf glib tumbler"
al@20120 49 CAT="graphics|font thumbnailer"
al@20120 50 ;;
al@20120 51 *-gst)
al@20120 52 copy tumbler-gst-thumbnailer.so
al@20624 53 DEPENDS="gdk-pixbuf glib gst1-plugins-base gstreamer1 tumbler"
al@20120 54 CAT="graphics|GStreamer video thumbnailer"
al@20120 55 ;;
al@20120 56 *-jpeg)
al@20120 57 copy tumbler-jpeg-thumbnailer.so
al@20624 58 DEPENDS="gdk-pixbuf glib libjpeg-turbo tumbler"
al@20120 59 CAT="graphics|JPEG thumbnailer"
al@20120 60 ;;
al@20120 61 *-odf)
al@20120 62 copy tumbler-odf-thumbnailer.so
al@20624 63 DEPENDS="gdk-pixbuf glib libgsf tumbler"
al@20120 64 CAT="graphics|ODF thumbnailer"
al@20120 65 ;;
al@20120 66 *-poppler)
al@20120 67 copy tumbler-poppler-thumbnailer.so
al@20624 68 DEPENDS="cairo gdk-pixbuf glib poppler tumbler"
al@20120 69 CAT="graphics|Poppler PDF/PS thumbnailer"
al@20120 70 ;;
al@20120 71 *-raw)
al@20120 72 copy tumbler-raw-thumbnailer.so
al@20624 73 DEPENDS="gdk-pixbuf glib libopenraw-gnome tumbler"
al@20120 74 CAT="graphics|RAW thumbnailer"
al@20120 75 ;;
al@19825 76 tumbler)
al@20120 77 copy @std @rm
al@20624 78 DEPENDS="dbus dbus-glib gdk-pixbuf glib libpng16"
al@20120 79 CAT="graphics|main package"
al@19825 80 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
al@19825 81 ;;
al@19825 82 *-dev)
al@19825 83 copy @dev
al@20624 84 DEPENDS="tumbler tumbler-plugin-cover tumbler-plugin-ffmpeg \
al@20624 85 tumbler-plugin-font tumbler-plugin-gst tumbler-plugin-jpeg \
al@20624 86 tumbler-plugin-odf tumbler-plugin-poppler tumbler-plugin-raw \
al@20624 87 glib-dev"
al@19825 88 ;;
al@19825 89 esac
al@20120 90 TAGS="Xfce"
pascal@14379 91 }