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

updated graphviz, graphviz-dev and graphviz-doc again (2.42.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Mon Mar 07 16:41:52 2022 +0100 (2022-03-07)
parents 585161df03c0
children d1f31f5f6401
rev   line source
pascal@14379 1 # SliTaz package receipt.
pascal@14379 2
pascal@14379 3 PACKAGE="tumbler"
Hans-G?nter@23708 4 VERSION="0.2.8"
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@23708 15 BUILD_DEPENDS="curl-dev dbus-glib-dev ffmpegthumbnailer-dev freetype-dev
Hans-G?nter@23708 16 gdk-pixbuf-dev glib-dev gst-plugins-base-dev jpeg-dev lcms-dev
Hans-G?nter@23708 17 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@24415 21 # What is the latest version available today?
pascal@24415 22 current_version()
pascal@24415 23 {
pascal@24415 24 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 25 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 26 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 27 }
pascal@24415 28
pascal@14379 29 # Rules to configure and make the package.
pascal@14379 30 compile_rules()
pascal@14379 31 {
Hans-G?nter@22057 32 ./configure \
Hans-G?nter@22057 33 --sysconfdir=/etc \
Hans-G?nter@22057 34 --enable-debug=no \
pascal@14379 35 $CONFIGURE_ARGS &&
pascal@14379 36 make &&
pascal@14379 37 make install
pascal@14379 38 }
pascal@14379 39
pascal@14379 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14379 41 genpkg_rules()
pascal@14379 42 {
Hans-G?nter@23708 43 mkdir -p $fs/usr/lib
Hans-G?nter@23708 44 mkdir -p $fs/usr/share/locale
Hans-G?nter@22057 45
Hans-G?nter@23708 46 cp -a $install/etc $fs
Hans-G?nter@23708 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23708 48 cp -a $install/usr/lib/tumbler* $fs/usr/lib
Hans-G?nter@23708 49 cp -a $install/usr/share/dbus* $fs/usr/share
Hans-G?nter@22057 50
pascal@14379 51 find $fs/usr/lib -name '*.la' -delete
pascal@14379 52
pascal@14379 53 # SliTaz locale settings
pascal@14379 54 . $WOK/slitaz-i18n/stuff/locale-pack.conf
Hans-G?nter@22057 55 for lang in $LOCALE_PACK
Hans-G?nter@22057 56 do
pascal@14379 57 langd=$install/usr/share/locale/$lang
pascal@14379 58 [ -d $langd ] && cp -a $langd $fs/usr/share/locale
Hans-G?nter@22057 59 done
pascal@14379 60 true
pascal@14379 61 }