wok annotate tumbler/receipt @ rev 24158
linld/_BEG.ASM: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 11 19:18:13 2021 +0000 (2021-12-11) |
parents | 67eaa5d164a4 |
children | 17091bc7c301 |
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@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 { |
Hans-G?nter@23708 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@23708 | 36 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22057 | 37 |
Hans-G?nter@23708 | 38 cp -a $install/etc $fs |
Hans-G?nter@23708 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23708 | 40 cp -a $install/usr/lib/tumbler* $fs/usr/lib |
Hans-G?nter@23708 | 41 cp -a $install/usr/share/dbus* $fs/usr/share |
Hans-G?nter@22057 | 42 |
pascal@14379 | 43 find $fs/usr/lib -name '*.la' -delete |
pascal@14379 | 44 |
pascal@14379 | 45 # SliTaz locale settings |
pascal@14379 | 46 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
Hans-G?nter@22057 | 47 for lang in $LOCALE_PACK |
Hans-G?nter@22057 | 48 do |
pascal@14379 | 49 langd=$install/usr/share/locale/$lang |
pascal@14379 | 50 [ -d $langd ] && cp -a $langd $fs/usr/share/locale |
Hans-G?nter@22057 | 51 done |
pascal@14379 | 52 true |
pascal@14379 | 53 } |