wok annotate tumbler/receipt @ rev 20535
Add util-linux-losetup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 26 09:47:18 2018 +0100 (2018-11-26) |
parents | 7a526dcd4932 |
children | 6135577f4d08 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="tumbler" |
pascal@14379 | 4 VERSION="0.1.27" |
al@14742 | 5 CATEGORY="system-tools" |
pascal@14379 | 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@14379 | 9 WEB_SITE="http://www.ohloh.net/p/tumbler-xfce" |
pascal@14379 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14379 | 11 HI_VERSION=$(echo $VERSION | cut -d. -f1,2) |
pascal@14379 | 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/$HI_VERSION/$TARBALL" |
pascal@14379 | 13 CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc" |
pascal@14379 | 14 |
pascal@14379 | 15 DEPENDS="dbus-glib ffmpegthumbnailer libcurl libgsf poppler" |
pascal@14379 | 16 BUILD_DEPENDS="dbus-glib-dev curl-dev glib-dev libgio-dev gdk-pixbuf-dev \ |
pascal@14379 | 17 freetype-dev jpeg-dev ffmpegthumbnailer-dev gst-plugins-base-dev \ |
pascal@14655 | 18 libgsf-dev poppler-dev libpng-dev lcms-dev tiff-dev" # gstreamer-dev (v.1.0) |
pascal@14379 | 19 |
pascal@14379 | 20 # Rules to configure and make the package. |
pascal@14379 | 21 compile_rules() |
pascal@14379 | 22 { |
pascal@14379 | 23 ./configure \ |
pascal@14379 | 24 --sysconfdir=/etc \ |
pascal@14379 | 25 --enable-debug=no \ |
pascal@14379 | 26 $CONFIGURE_ARGS && |
pascal@14379 | 27 make && |
pascal@14379 | 28 make install |
pascal@14379 | 29 } |
pascal@14379 | 30 |
pascal@14379 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 32 genpkg_rules() |
pascal@14379 | 33 { |
pascal@14379 | 34 mkdir -p \ |
pascal@14379 | 35 $fs/usr/lib \ |
pascal@14379 | 36 $fs/usr/share/locale |
pascal@14379 | 37 cp -a $install/etc $fs |
pascal@14379 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14379 | 39 cp -a $install/usr/lib/tumbler* $fs/usr/lib |
pascal@14379 | 40 find $fs/usr/lib -name '*.la' -delete |
pascal@14379 | 41 cp -a $install/usr/share/dbus* $fs/usr/share |
pascal@14379 | 42 |
pascal@14379 | 43 # SliTaz locale settings |
pascal@14379 | 44 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pascal@14379 | 45 for lang in $LOCALE_PACK; do |
pascal@14379 | 46 langd=$install/usr/share/locale/$lang |
pascal@14379 | 47 [ -d $langd ] && cp -a $langd $fs/usr/share/locale |
pascal@14379 | 48 done |
pascal@14379 | 49 true |
pascal@14379 | 50 } |
psychomaniak@18209 | 51 |