wok-6.x annotate tumbler/receipt @ rev 22762

updated flashrom again (1.0 -> 1.1)
author Hans-G?nter Theisgen
date Fri Jan 24 17:22:39 2020 +0100 (2020-01-24)
parents 6135577f4d08
children 585161df03c0
rev   line source
pascal@14379 1 # SliTaz package receipt.
pascal@14379 2
pascal@14379 3 PACKAGE="tumbler"
Hans-G?nter@22057 4 VERSION="0.2.7"
al@14742 5 CATEGORY="system-tools"
Hans-G?nter@22057 6 SHORT_DESC="A D-Bus thumbnailing service based on the thumbnail management D-Bus specification."
pascal@14379 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2 LGPL2.1"
pascal@20679 9 WEB_SITE="https://docs.xfce.org/xfce/thunar/tumbler"
Hans-G?nter@22057 10
pascal@14379 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22057 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@14379 13
pascal@14379 14 DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler"
Hans-G?nter@22057 15 BUILD_DEPENDS="curl-dev dbus-glib-dev freetype-dev ffmpegthumbnailer-dev \
Hans-G?nter@22057 16 gdk-pixbuf-dev glib-dev gst-plugins-base-dev jpeg-dev \
Hans-G?nter@22057 17 lcms-dev libgio-dev libgsf-dev libpng-dev poppler-dev tiff-dev" # gstreamer-dev (v.1.0)
Hans-G?nter@22057 18
Hans-G?nter@22057 19 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
pascal@14379 20
pascal@14379 21 # Rules to configure and make the package.
pascal@14379 22 compile_rules()
pascal@14379 23 {
Hans-G?nter@22057 24 ./configure \
Hans-G?nter@22057 25 --sysconfdir=/etc \
Hans-G?nter@22057 26 --enable-debug=no \
pascal@14379 27 $CONFIGURE_ARGS &&
pascal@14379 28 make &&
pascal@14379 29 make install
pascal@14379 30 }
pascal@14379 31
pascal@14379 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14379 33 genpkg_rules()
pascal@14379 34 {
pascal@14379 35 mkdir -p \
pascal@14379 36 $fs/usr/lib \
pascal@14379 37 $fs/usr/share/locale
Hans-G?nter@22057 38
Hans-G?nter@22057 39 cp -a $install/etc $fs
Hans-G?nter@22057 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22057 41 cp -a $install/usr/lib/tumbler* $fs/usr/lib
Hans-G?nter@22057 42 cp -a $install/usr/share/dbus* $fs/usr/share
Hans-G?nter@22057 43
pascal@14379 44 find $fs/usr/lib -name '*.la' -delete
pascal@14379 45
pascal@14379 46 # SliTaz locale settings
pascal@14379 47 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22057 48 for lang in $LOCALE_PACK
Hans-G?nter@22057 49 do
pascal@14379 50 langd=$install/usr/share/locale/$lang
pascal@14379 51 [ -d $langd ] && cp -a $langd $fs/usr/share/locale
Hans-G?nter@22057 52 done
pascal@14379 53 true
pascal@14379 54 }