wok view tumbler/receipt @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents 585161df03c0
children d1f31f5f6401
line source
1 # SliTaz package receipt.
3 PACKAGE="tumbler"
4 VERSION="0.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="A D-Bus thumbnailing service based on the thumbnail management D-Bus specification."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://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 DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler"
15 BUILD_DEPENDS="curl-dev dbus-glib-dev ffmpegthumbnailer-dev freetype-dev
16 gdk-pixbuf-dev glib-dev gst-plugins-base-dev jpeg-dev lcms-dev
17 libgio-dev libgsf-dev libpng-dev poppler-dev tiff-dev" # gstreamer-dev (v.1.0)
19 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
25 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
26 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --sysconfdir=/etc \
34 --enable-debug=no \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 mkdir -p $fs/usr/share/locale
46 cp -a $install/etc $fs
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/tumbler* $fs/usr/lib
49 cp -a $install/usr/share/dbus* $fs/usr/share
51 find $fs/usr/lib -name '*.la' -delete
53 # SliTaz locale settings
54 . $WOK/slitaz-i18n/stuff/locale-pack.conf
55 for lang in $LOCALE_PACK
56 do
57 langd=$install/usr/share/locale/$lang
58 [ -d $langd ] && cp -a $langd $fs/usr/share/locale
59 done
60 true
61 }